From b67d62e33593c24a42003b16158f154eb0c0ab53 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Wed, 29 Mar 2023 09:48:33 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=20fae50?= =?UTF-8?q?b19f8e5a7eb2ceb9958c79c88e9820a1805=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db_core/all.html | 2 +- db_core/dev/attr.async_trait.html | 2 +- db_core/dev/index.html | 2 +- db_core/enum.Login.html | 22 +- db_core/errors/enum.DBError.html | 12 +- db_core/errors/index.html | 2 +- db_core/errors/type.BoxDynError.html | 4 +- db_core/errors/type.DBResult.html | 4 +- db_core/index.html | 2 +- db_core/ops/index.html | 2 +- db_core/ops/trait.Connect.html | 6 +- db_core/ops/trait.DBOps.html | 2 +- db_core/ops/trait.GetConnection.html | 6 +- db_core/ops/trait.Migrate.html | 6 +- db_core/prelude/index.html | 2 +- db_core/struct.AddNotification.html | 30 +- db_core/struct.Captcha.html | 30 +- db_core/struct.CreateCaptcha.html | 26 +- db_core/struct.Level.html | 18 +- db_core/struct.NameHash.html | 22 +- db_core/struct.Notification.html | 34 +- db_core/struct.Register.html | 30 +- db_core/struct.Secret.html | 18 +- db_core/struct.StatsUnixTimestamp.html | 26 +- db_core/struct.TrafficPattern.html | 26 +- db_core/struct.UpdateEmail.html | 22 +- db_core/tests/fn.database_works.html | 4 +- db_core/tests/index.html | 2 +- db_core/trait.CloneSPDatabase.html | 6 +- db_core/trait.MCDatabase.html | 148 ++++---- db_sqlx_maria/all.html | 2 +- db_sqlx_maria/dev/attr.async_trait.html | 2 +- db_sqlx_maria/dev/dev/attr.async_trait.html | 2 +- db_sqlx_maria/dev/dev/enum.DBError.html | 16 +- db_sqlx_maria/dev/dev/enum.Login.html | 22 +- .../dev/dev/errors/enum.DBError.html | 16 +- db_sqlx_maria/dev/dev/errors/index.html | 2 +- .../dev/dev/errors/type.BoxDynError.html | 4 +- .../dev/dev/errors/type.DBResult.html | 4 +- db_sqlx_maria/dev/dev/index.html | 2 +- db_sqlx_maria/dev/dev/ops/index.html | 2 +- db_sqlx_maria/dev/dev/ops/trait.Connect.html | 6 +- db_sqlx_maria/dev/dev/ops/trait.DBOps.html | 2 +- .../dev/dev/ops/trait.GetConnection.html | 6 +- db_sqlx_maria/dev/dev/ops/trait.Migrate.html | 6 +- .../dev/dev/prelude/enum.DBError.html | 16 +- db_sqlx_maria/dev/dev/prelude/enum.Login.html | 22 +- db_sqlx_maria/dev/dev/prelude/index.html | 2 +- .../dev/prelude/struct.AddNotification.html | 30 +- .../dev/dev/prelude/struct.Captcha.html | 30 +- .../dev/dev/prelude/struct.CreateCaptcha.html | 26 +- .../dev/dev/prelude/struct.Level.html | 18 +- .../dev/dev/prelude/struct.NameHash.html | 22 +- .../dev/dev/prelude/struct.Notification.html | 34 +- .../dev/dev/prelude/struct.Register.html | 30 +- .../dev/dev/prelude/struct.Secret.html | 18 +- .../prelude/struct.StatsUnixTimestamp.html | 26 +- .../dev/prelude/struct.TrafficPattern.html | 26 +- .../dev/dev/prelude/struct.UpdateEmail.html | 22 +- .../dev/prelude/trait.CloneSPDatabase.html | 6 +- .../dev/dev/prelude/trait.Connect.html | 6 +- .../dev/dev/prelude/trait.DBOps.html | 2 +- .../dev/dev/prelude/trait.GetConnection.html | 6 +- .../dev/dev/prelude/trait.MCDatabase.html | 148 ++++---- .../dev/dev/prelude/trait.Migrate.html | 6 +- .../dev/dev/prelude/type.BoxDynError.html | 4 +- .../dev/dev/prelude/type.DBResult.html | 4 +- .../dev/dev/struct.AddNotification.html | 30 +- db_sqlx_maria/dev/dev/struct.Captcha.html | 30 +- .../dev/dev/struct.CreateCaptcha.html | 26 +- db_sqlx_maria/dev/dev/struct.Level.html | 18 +- db_sqlx_maria/dev/dev/struct.NameHash.html | 22 +- .../dev/dev/struct.Notification.html | 34 +- db_sqlx_maria/dev/dev/struct.Register.html | 30 +- db_sqlx_maria/dev/dev/struct.Secret.html | 18 +- .../dev/dev/struct.StatsUnixTimestamp.html | 26 +- .../dev/dev/struct.TrafficPattern.html | 26 +- db_sqlx_maria/dev/dev/struct.UpdateEmail.html | 22 +- .../dev/dev/tests/fn.database_works.html | 4 +- db_sqlx_maria/dev/dev/tests/index.html | 2 +- .../dev/dev/trait.CloneSPDatabase.html | 6 +- db_sqlx_maria/dev/dev/trait.Connect.html | 6 +- db_sqlx_maria/dev/dev/trait.DBOps.html | 2 +- .../dev/dev/trait.GetConnection.html | 6 +- db_sqlx_maria/dev/dev/trait.MCDatabase.html | 148 ++++---- db_sqlx_maria/dev/dev/trait.Migrate.html | 6 +- db_sqlx_maria/dev/dev/type.BoxDynError.html | 4 +- db_sqlx_maria/dev/dev/type.DBResult.html | 4 +- db_sqlx_maria/dev/enum.DBError.html | 16 +- db_sqlx_maria/dev/enum.Error.html | 58 ++-- db_sqlx_maria/dev/enum.Login.html | 22 +- db_sqlx_maria/dev/errors/enum.DBError.html | 16 +- db_sqlx_maria/dev/errors/index.html | 2 +- .../dev/errors/type.BoxDynError.html | 4 +- db_sqlx_maria/dev/errors/type.DBResult.html | 4 +- db_sqlx_maria/dev/index.html | 2 +- db_sqlx_maria/dev/ops/index.html | 2 +- db_sqlx_maria/dev/ops/trait.Connect.html | 6 +- db_sqlx_maria/dev/ops/trait.DBOps.html | 2 +- .../dev/ops/trait.GetConnection.html | 6 +- db_sqlx_maria/dev/ops/trait.Migrate.html | 6 +- .../dev/prelude/dev/attr.async_trait.html | 2 +- .../dev/prelude/dev/enum.DBError.html | 16 +- db_sqlx_maria/dev/prelude/dev/enum.Login.html | 22 +- db_sqlx_maria/dev/prelude/dev/index.html | 2 +- .../prelude/dev/struct.AddNotification.html | 30 +- .../dev/prelude/dev/struct.Captcha.html | 30 +- .../dev/prelude/dev/struct.CreateCaptcha.html | 26 +- .../dev/prelude/dev/struct.Level.html | 18 +- .../dev/prelude/dev/struct.NameHash.html | 22 +- .../dev/prelude/dev/struct.Notification.html | 34 +- .../dev/prelude/dev/struct.Register.html | 30 +- .../dev/prelude/dev/struct.Secret.html | 18 +- .../dev/struct.StatsUnixTimestamp.html | 26 +- .../prelude/dev/struct.TrafficPattern.html | 26 +- .../dev/prelude/dev/struct.UpdateEmail.html | 22 +- .../prelude/dev/trait.CloneSPDatabase.html | 6 +- .../dev/prelude/dev/trait.Connect.html | 6 +- .../dev/prelude/dev/trait.DBOps.html | 2 +- .../dev/prelude/dev/trait.GetConnection.html | 6 +- .../dev/prelude/dev/trait.MCDatabase.html | 148 ++++---- .../dev/prelude/dev/trait.Migrate.html | 6 +- .../dev/prelude/dev/type.BoxDynError.html | 4 +- .../dev/prelude/dev/type.DBResult.html | 4 +- db_sqlx_maria/dev/prelude/enum.DBError.html | 16 +- db_sqlx_maria/dev/prelude/enum.Login.html | 22 +- db_sqlx_maria/dev/prelude/index.html | 2 +- .../dev/prelude/struct.AddNotification.html | 30 +- db_sqlx_maria/dev/prelude/struct.Captcha.html | 30 +- .../dev/prelude/struct.CreateCaptcha.html | 26 +- db_sqlx_maria/dev/prelude/struct.Level.html | 18 +- .../dev/prelude/struct.NameHash.html | 22 +- .../dev/prelude/struct.Notification.html | 34 +- .../dev/prelude/struct.Register.html | 30 +- db_sqlx_maria/dev/prelude/struct.Secret.html | 18 +- .../prelude/struct.StatsUnixTimestamp.html | 26 +- .../dev/prelude/struct.TrafficPattern.html | 26 +- .../dev/prelude/struct.UpdateEmail.html | 22 +- .../dev/prelude/trait.CloneSPDatabase.html | 6 +- db_sqlx_maria/dev/prelude/trait.Connect.html | 6 +- db_sqlx_maria/dev/prelude/trait.DBOps.html | 2 +- .../dev/prelude/trait.GetConnection.html | 6 +- .../dev/prelude/trait.MCDatabase.html | 148 ++++---- db_sqlx_maria/dev/prelude/trait.Migrate.html | 6 +- .../dev/prelude/type.BoxDynError.html | 4 +- db_sqlx_maria/dev/prelude/type.DBResult.html | 4 +- db_sqlx_maria/dev/struct.AddNotification.html | 30 +- db_sqlx_maria/dev/struct.Captcha.html | 30 +- db_sqlx_maria/dev/struct.CreateCaptcha.html | 26 +- db_sqlx_maria/dev/struct.Level.html | 18 +- db_sqlx_maria/dev/struct.NameHash.html | 22 +- db_sqlx_maria/dev/struct.Notification.html | 34 +- db_sqlx_maria/dev/struct.Register.html | 30 +- db_sqlx_maria/dev/struct.Secret.html | 18 +- .../dev/struct.StatsUnixTimestamp.html | 26 +- db_sqlx_maria/dev/struct.TrafficPattern.html | 26 +- db_sqlx_maria/dev/struct.UpdateEmail.html | 22 +- .../dev/tests/fn.database_works.html | 4 +- db_sqlx_maria/dev/tests/index.html | 2 +- db_sqlx_maria/dev/trait.CloneSPDatabase.html | 6 +- db_sqlx_maria/dev/trait.Connect.html | 6 +- db_sqlx_maria/dev/trait.DBOps.html | 2 +- db_sqlx_maria/dev/trait.GetConnection.html | 6 +- db_sqlx_maria/dev/trait.MCDatabase.html | 148 ++++---- db_sqlx_maria/dev/trait.Migrate.html | 6 +- db_sqlx_maria/dev/type.BoxDynError.html | 4 +- db_sqlx_maria/dev/type.DBResult.html | 4 +- db_sqlx_maria/enum.ConnectionOptions.html | 12 +- db_sqlx_maria/errors/fn.map_register_err.html | 2 +- .../errors/fn.map_row_not_found_err.html | 2 +- db_sqlx_maria/errors/index.html | 2 +- db_sqlx_maria/index.html | 2 +- db_sqlx_maria/prelude/enum.DBError.html | 16 +- db_sqlx_maria/prelude/enum.Login.html | 22 +- db_sqlx_maria/prelude/index.html | 2 +- db_sqlx_maria/prelude/ops/index.html | 2 +- db_sqlx_maria/prelude/ops/trait.Connect.html | 6 +- db_sqlx_maria/prelude/ops/trait.DBOps.html | 2 +- .../prelude/ops/trait.GetConnection.html | 6 +- db_sqlx_maria/prelude/ops/trait.Migrate.html | 6 +- .../prelude/struct.AddNotification.html | 30 +- db_sqlx_maria/prelude/struct.Captcha.html | 30 +- .../prelude/struct.CreateCaptcha.html | 26 +- db_sqlx_maria/prelude/struct.Level.html | 18 +- db_sqlx_maria/prelude/struct.NameHash.html | 22 +- .../prelude/struct.Notification.html | 34 +- db_sqlx_maria/prelude/struct.Register.html | 30 +- db_sqlx_maria/prelude/struct.Secret.html | 18 +- .../prelude/struct.StatsUnixTimestamp.html | 26 +- .../prelude/struct.TrafficPattern.html | 26 +- db_sqlx_maria/prelude/struct.UpdateEmail.html | 22 +- .../prelude/tests/fn.database_works.html | 4 +- db_sqlx_maria/prelude/tests/index.html | 2 +- .../prelude/trait.CloneSPDatabase.html | 6 +- db_sqlx_maria/prelude/trait.Connect.html | 6 +- db_sqlx_maria/prelude/trait.DBOps.html | 2 +- .../prelude/trait.GetConnection.html | 6 +- db_sqlx_maria/prelude/trait.MCDatabase.html | 148 ++++---- db_sqlx_maria/prelude/trait.Migrate.html | 6 +- db_sqlx_maria/prelude/type.BoxDynError.html | 4 +- db_sqlx_maria/prelude/type.DBResult.html | 4 +- db_sqlx_maria/struct.Conn.html | 10 +- db_sqlx_maria/struct.Database.html | 84 ++--- db_sqlx_maria/struct.Fresh.html | 14 +- db_sqlx_maria/struct.InnerNotification.html | 30 +- db_sqlx_postgres/all.html | 2 +- db_sqlx_postgres/dev/attr.async_trait.html | 2 +- .../dev/dev/attr.async_trait.html | 2 +- db_sqlx_postgres/dev/dev/enum.DBError.html | 16 +- db_sqlx_postgres/dev/dev/enum.Login.html | 22 +- .../dev/dev/errors/enum.DBError.html | 16 +- db_sqlx_postgres/dev/dev/errors/index.html | 2 +- .../dev/dev/errors/type.BoxDynError.html | 4 +- .../dev/dev/errors/type.DBResult.html | 4 +- db_sqlx_postgres/dev/dev/index.html | 2 +- db_sqlx_postgres/dev/dev/ops/index.html | 2 +- .../dev/dev/ops/trait.Connect.html | 6 +- db_sqlx_postgres/dev/dev/ops/trait.DBOps.html | 2 +- .../dev/dev/ops/trait.GetConnection.html | 6 +- .../dev/dev/ops/trait.Migrate.html | 6 +- .../dev/dev/prelude/enum.DBError.html | 16 +- .../dev/dev/prelude/enum.Login.html | 22 +- db_sqlx_postgres/dev/dev/prelude/index.html | 2 +- .../dev/prelude/struct.AddNotification.html | 30 +- .../dev/dev/prelude/struct.Captcha.html | 30 +- .../dev/dev/prelude/struct.CreateCaptcha.html | 26 +- .../dev/dev/prelude/struct.Level.html | 18 +- .../dev/dev/prelude/struct.NameHash.html | 22 +- .../dev/dev/prelude/struct.Notification.html | 34 +- .../dev/dev/prelude/struct.Register.html | 30 +- .../dev/dev/prelude/struct.Secret.html | 18 +- .../prelude/struct.StatsUnixTimestamp.html | 26 +- .../dev/prelude/struct.TrafficPattern.html | 26 +- .../dev/dev/prelude/struct.UpdateEmail.html | 22 +- .../dev/prelude/trait.CloneSPDatabase.html | 6 +- .../dev/dev/prelude/trait.Connect.html | 6 +- .../dev/dev/prelude/trait.DBOps.html | 2 +- .../dev/dev/prelude/trait.GetConnection.html | 6 +- .../dev/dev/prelude/trait.MCDatabase.html | 148 ++++---- .../dev/dev/prelude/trait.Migrate.html | 6 +- .../dev/dev/prelude/type.BoxDynError.html | 4 +- .../dev/dev/prelude/type.DBResult.html | 4 +- .../dev/dev/struct.AddNotification.html | 30 +- db_sqlx_postgres/dev/dev/struct.Captcha.html | 30 +- .../dev/dev/struct.CreateCaptcha.html | 26 +- db_sqlx_postgres/dev/dev/struct.Level.html | 18 +- db_sqlx_postgres/dev/dev/struct.NameHash.html | 22 +- .../dev/dev/struct.Notification.html | 34 +- db_sqlx_postgres/dev/dev/struct.Register.html | 30 +- db_sqlx_postgres/dev/dev/struct.Secret.html | 18 +- .../dev/dev/struct.StatsUnixTimestamp.html | 26 +- .../dev/dev/struct.TrafficPattern.html | 26 +- .../dev/dev/struct.UpdateEmail.html | 22 +- .../dev/dev/tests/fn.database_works.html | 4 +- db_sqlx_postgres/dev/dev/tests/index.html | 2 +- .../dev/dev/trait.CloneSPDatabase.html | 6 +- db_sqlx_postgres/dev/dev/trait.Connect.html | 6 +- db_sqlx_postgres/dev/dev/trait.DBOps.html | 2 +- .../dev/dev/trait.GetConnection.html | 6 +- .../dev/dev/trait.MCDatabase.html | 148 ++++---- db_sqlx_postgres/dev/dev/trait.Migrate.html | 6 +- .../dev/dev/type.BoxDynError.html | 4 +- db_sqlx_postgres/dev/dev/type.DBResult.html | 4 +- db_sqlx_postgres/dev/enum.DBError.html | 16 +- db_sqlx_postgres/dev/enum.Error.html | 58 ++-- db_sqlx_postgres/dev/enum.Login.html | 22 +- db_sqlx_postgres/dev/errors/enum.DBError.html | 16 +- db_sqlx_postgres/dev/errors/index.html | 2 +- .../dev/errors/type.BoxDynError.html | 4 +- .../dev/errors/type.DBResult.html | 4 +- db_sqlx_postgres/dev/index.html | 2 +- db_sqlx_postgres/dev/ops/index.html | 2 +- db_sqlx_postgres/dev/ops/trait.Connect.html | 6 +- db_sqlx_postgres/dev/ops/trait.DBOps.html | 2 +- .../dev/ops/trait.GetConnection.html | 6 +- db_sqlx_postgres/dev/ops/trait.Migrate.html | 6 +- .../dev/prelude/dev/attr.async_trait.html | 2 +- .../dev/prelude/dev/enum.DBError.html | 16 +- .../dev/prelude/dev/enum.Login.html | 22 +- db_sqlx_postgres/dev/prelude/dev/index.html | 2 +- .../prelude/dev/struct.AddNotification.html | 30 +- .../dev/prelude/dev/struct.Captcha.html | 30 +- .../dev/prelude/dev/struct.CreateCaptcha.html | 26 +- .../dev/prelude/dev/struct.Level.html | 18 +- .../dev/prelude/dev/struct.NameHash.html | 22 +- .../dev/prelude/dev/struct.Notification.html | 34 +- .../dev/prelude/dev/struct.Register.html | 30 +- .../dev/prelude/dev/struct.Secret.html | 18 +- .../dev/struct.StatsUnixTimestamp.html | 26 +- .../prelude/dev/struct.TrafficPattern.html | 26 +- .../dev/prelude/dev/struct.UpdateEmail.html | 22 +- .../prelude/dev/trait.CloneSPDatabase.html | 6 +- .../dev/prelude/dev/trait.Connect.html | 6 +- .../dev/prelude/dev/trait.DBOps.html | 2 +- .../dev/prelude/dev/trait.GetConnection.html | 6 +- .../dev/prelude/dev/trait.MCDatabase.html | 148 ++++---- .../dev/prelude/dev/trait.Migrate.html | 6 +- .../dev/prelude/dev/type.BoxDynError.html | 4 +- .../dev/prelude/dev/type.DBResult.html | 4 +- .../dev/prelude/enum.DBError.html | 16 +- db_sqlx_postgres/dev/prelude/enum.Login.html | 22 +- db_sqlx_postgres/dev/prelude/index.html | 2 +- .../dev/prelude/struct.AddNotification.html | 30 +- .../dev/prelude/struct.Captcha.html | 30 +- .../dev/prelude/struct.CreateCaptcha.html | 26 +- .../dev/prelude/struct.Level.html | 18 +- .../dev/prelude/struct.NameHash.html | 22 +- .../dev/prelude/struct.Notification.html | 34 +- .../dev/prelude/struct.Register.html | 30 +- .../dev/prelude/struct.Secret.html | 18 +- .../prelude/struct.StatsUnixTimestamp.html | 26 +- .../dev/prelude/struct.TrafficPattern.html | 26 +- .../dev/prelude/struct.UpdateEmail.html | 22 +- .../dev/prelude/trait.CloneSPDatabase.html | 6 +- .../dev/prelude/trait.Connect.html | 6 +- db_sqlx_postgres/dev/prelude/trait.DBOps.html | 2 +- .../dev/prelude/trait.GetConnection.html | 6 +- .../dev/prelude/trait.MCDatabase.html | 148 ++++---- .../dev/prelude/trait.Migrate.html | 6 +- .../dev/prelude/type.BoxDynError.html | 4 +- .../dev/prelude/type.DBResult.html | 4 +- .../dev/struct.AddNotification.html | 30 +- db_sqlx_postgres/dev/struct.Captcha.html | 30 +- .../dev/struct.CreateCaptcha.html | 26 +- db_sqlx_postgres/dev/struct.Level.html | 18 +- db_sqlx_postgres/dev/struct.NameHash.html | 22 +- db_sqlx_postgres/dev/struct.Notification.html | 34 +- db_sqlx_postgres/dev/struct.Register.html | 30 +- db_sqlx_postgres/dev/struct.Secret.html | 18 +- .../dev/struct.StatsUnixTimestamp.html | 26 +- .../dev/struct.TrafficPattern.html | 26 +- db_sqlx_postgres/dev/struct.UpdateEmail.html | 22 +- .../dev/tests/fn.database_works.html | 4 +- db_sqlx_postgres/dev/tests/index.html | 2 +- .../dev/trait.CloneSPDatabase.html | 6 +- db_sqlx_postgres/dev/trait.Connect.html | 6 +- db_sqlx_postgres/dev/trait.DBOps.html | 2 +- db_sqlx_postgres/dev/trait.GetConnection.html | 6 +- db_sqlx_postgres/dev/trait.MCDatabase.html | 148 ++++---- db_sqlx_postgres/dev/trait.Migrate.html | 6 +- db_sqlx_postgres/dev/type.BoxDynError.html | 4 +- db_sqlx_postgres/dev/type.DBResult.html | 4 +- db_sqlx_postgres/enum.ConnectionOptions.html | 12 +- .../errors/fn.map_register_err.html | 2 +- .../errors/fn.map_row_not_found_err.html | 2 +- db_sqlx_postgres/errors/index.html | 2 +- db_sqlx_postgres/index.html | 2 +- db_sqlx_postgres/prelude/enum.DBError.html | 16 +- db_sqlx_postgres/prelude/enum.Login.html | 22 +- db_sqlx_postgres/prelude/index.html | 2 +- db_sqlx_postgres/prelude/ops/index.html | 2 +- .../prelude/ops/trait.Connect.html | 6 +- db_sqlx_postgres/prelude/ops/trait.DBOps.html | 2 +- .../prelude/ops/trait.GetConnection.html | 6 +- .../prelude/ops/trait.Migrate.html | 6 +- .../prelude/struct.AddNotification.html | 30 +- db_sqlx_postgres/prelude/struct.Captcha.html | 30 +- .../prelude/struct.CreateCaptcha.html | 26 +- db_sqlx_postgres/prelude/struct.Level.html | 18 +- db_sqlx_postgres/prelude/struct.NameHash.html | 22 +- .../prelude/struct.Notification.html | 34 +- db_sqlx_postgres/prelude/struct.Register.html | 30 +- db_sqlx_postgres/prelude/struct.Secret.html | 18 +- .../prelude/struct.StatsUnixTimestamp.html | 26 +- .../prelude/struct.TrafficPattern.html | 26 +- .../prelude/struct.UpdateEmail.html | 22 +- .../prelude/tests/fn.database_works.html | 4 +- db_sqlx_postgres/prelude/tests/index.html | 2 +- .../prelude/trait.CloneSPDatabase.html | 6 +- db_sqlx_postgres/prelude/trait.Connect.html | 6 +- db_sqlx_postgres/prelude/trait.DBOps.html | 2 +- .../prelude/trait.GetConnection.html | 6 +- .../prelude/trait.MCDatabase.html | 148 ++++---- db_sqlx_postgres/prelude/trait.Migrate.html | 6 +- .../prelude/type.BoxDynError.html | 4 +- db_sqlx_postgres/prelude/type.DBResult.html | 4 +- db_sqlx_postgres/struct.Conn.html | 10 +- db_sqlx_postgres/struct.Database.html | 84 ++--- db_sqlx_postgres/struct.Fresh.html | 14 +- .../struct.InnerNotification.html | 34 +- help.html | 2 +- implementors/core/clone/trait.Clone.js | 8 +- implementors/core/cmp/trait.PartialEq.js | 8 +- implementors/core/convert/trait.From.js | 6 +- implementors/core/default/trait.Default.js | 6 +- implementors/core/error/trait.Error.js | 4 +- implementors/core/fmt/trait.Debug.js | 8 +- implementors/core/fmt/trait.Display.js | 4 +- implementors/core/marker/trait.Freeze.js | 2 +- implementors/core/marker/trait.Send.js | 8 +- .../core/marker/trait.StructuralPartialEq.js | 8 +- implementors/core/marker/trait.Sync.js | 8 +- implementors/core/marker/trait.Unpin.js | 8 +- implementors/core/ops/deref/trait.Deref.js | 2 +- .../panic/unwind_safe/trait.RefUnwindSafe.js | 8 +- .../panic/unwind_safe/trait.UnwindSafe.js | 8 +- implementors/sailfish/private/trait.Sealed.js | 2 +- implementors/sailfish/trait.TemplateOnce.js | 2 +- mcaptcha/all.html | 2 +- mcaptcha/api/index.html | 2 +- .../api/v1/account/delete/fn.services.html | 2 +- mcaptcha/api/v1/account/delete/index.html | 2 +- .../delete/runners/fn.delete_user.html | 2 +- .../api/v1/account/delete/runners/index.html | 2 +- .../account/delete/struct.delete_account.html | 10 +- .../api/v1/account/email/fn.services.html | 2 +- mcaptcha/api/v1/account/email/index.html | 2 +- .../api/v1/account/email/struct.Email.html | 12 +- .../v1/account/email/struct.email_exists.html | 10 +- .../v1/account/email/struct.set_email.html | 10 +- mcaptcha/api/v1/account/fn.services.html | 2 +- mcaptcha/api/v1/account/index.html | 2 +- .../api/v1/account/password/fn.services.html | 2 +- .../password/fn.update_password_runner.html | 2 +- mcaptcha/api/v1/account/password/index.html | 2 +- .../password/struct.ChangePasswordReqest.html | 16 +- .../password/struct.UpdatePassword.html | 14 +- .../password/struct.update_user_password.html | 10 +- mcaptcha/api/v1/account/routes/index.html | 2 +- .../api/v1/account/routes/struct.Account.html | 26 +- .../api/v1/account/secret/fn.services.html | 2 +- mcaptcha/api/v1/account/secret/index.html | 2 +- .../v1/account/secret/struct.get_secret.html | 10 +- .../secret/struct.update_user_secret.html | 10 +- .../account/struct.AccountCheckPayload.html | 12 +- .../v1/account/struct.AccountCheckResp.html | 12 +- .../api/v1/account/username/fn.services.html | 2 +- mcaptcha/api/v1/account/username/index.html | 2 +- .../username/runners/fn.username_exists.html | 2 +- .../v1/account/username/runners/index.html | 2 +- .../v1/account/username/struct.Username.html | 12 +- .../account/username/struct.set_username.html | 10 +- .../username/struct.username_exists.html | 10 +- mcaptcha/api/v1/auth/fn.services.html | 2 +- mcaptcha/api/v1/auth/index.html | 2 +- mcaptcha/api/v1/auth/routes/index.html | 2 +- mcaptcha/api/v1/auth/routes/struct.Auth.html | 16 +- .../api/v1/auth/runners/fn.login_runner.html | 4 +- .../v1/auth/runners/fn.register_runner.html | 2 +- mcaptcha/api/v1/auth/runners/index.html | 2 +- .../api/v1/auth/runners/struct.Login.html | 14 +- .../api/v1/auth/runners/struct.Password.html | 12 +- .../api/v1/auth/runners/struct.Register.html | 18 +- mcaptcha/api/v1/auth/struct.login.html | 10 +- mcaptcha/api/v1/auth/struct.register.html | 10 +- mcaptcha/api/v1/auth/struct.signout.html | 10 +- mcaptcha/api/v1/fn.get_middleware.html | 2 +- mcaptcha/api/v1/fn.services.html | 2 +- mcaptcha/api/v1/index.html | 2 +- mcaptcha/api/v1/mcaptcha/create/index.html | 2 +- .../v1/mcaptcha/create/runner/fn.create.html | 2 +- .../api/v1/mcaptcha/create/runner/index.html | 2 +- .../mcaptcha/create/struct.CreateCaptcha.html | 16 +- .../create/struct.MCaptchaDetails.html | 14 +- .../api/v1/mcaptcha/create/struct.create.html | 10 +- mcaptcha/api/v1/mcaptcha/delete/index.html | 2 +- .../mcaptcha/delete/struct.DeleteCaptcha.html | 14 +- .../api/v1/mcaptcha/delete/struct.delete.html | 10 +- .../api/v1/mcaptcha/easy/fn.calculate.html | 2 +- .../api/v1/mcaptcha/easy/fn.services.html | 2 +- mcaptcha/api/v1/mcaptcha/easy/index.html | 2 +- .../api/v1/mcaptcha/easy/routes/index.html | 2 +- .../v1/mcaptcha/easy/routes/struct.Easy.html | 16 +- .../easy/struct.TrafficPatternRequest.html | 26 +- .../easy/struct.UpdateTrafficPattern.html | 12 +- .../api/v1/mcaptcha/easy/struct.create.html | 10 +- .../api/v1/mcaptcha/easy/struct.update.html | 10 +- mcaptcha/api/v1/mcaptcha/fn.get_random.html | 2 +- mcaptcha/api/v1/mcaptcha/fn.services.html | 2 +- mcaptcha/api/v1/mcaptcha/get/index.html | 2 +- .../api/v1/mcaptcha/get/struct.I32Levels.html | 14 +- .../api/v1/mcaptcha/get/struct.Levels.html | 10 +- .../v1/mcaptcha/get/struct.get_captcha.html | 10 +- mcaptcha/api/v1/mcaptcha/index.html | 2 +- mcaptcha/api/v1/mcaptcha/routes/index.html | 2 +- .../v1/mcaptcha/routes/struct.Captcha.html | 20 +- mcaptcha/api/v1/mcaptcha/stats/index.html | 2 +- .../api/v1/mcaptcha/stats/routes/index.html | 2 +- .../mcaptcha/stats/routes/struct.Stats.html | 12 +- .../mcaptcha/stats/struct.StatsPayload.html | 12 +- .../api/v1/mcaptcha/stats/struct.get.html | 10 +- mcaptcha/api/v1/mcaptcha/update/index.html | 2 +- .../update/runner/fn.update_captcha.html | 2 +- .../api/v1/mcaptcha/update/runner/index.html | 2 +- .../mcaptcha/update/struct.UpdateCaptcha.html | 18 +- .../update/struct.update_captcha.html | 10 +- .../v1/mcaptcha/update/struct.update_key.html | 10 +- .../meta/enum.BuildDetailsBuilderError.html | 20 +- .../api/v1/meta/enum.HealthBuilderError.html | 20 +- mcaptcha/api/v1/meta/fn.services.html | 2 +- mcaptcha/api/v1/meta/index.html | 2 +- mcaptcha/api/v1/meta/routes/index.html | 2 +- mcaptcha/api/v1/meta/routes/struct.Meta.html | 14 +- mcaptcha/api/v1/meta/struct.BuildDetails.html | 14 +- .../v1/meta/struct.BuildDetailsBuilder.html | 16 +- mcaptcha/api/v1/meta/struct.Health.html | 14 +- .../api/v1/meta/struct.HealthBuilder.html | 16 +- .../api/v1/meta/struct.build_details.html | 10 +- mcaptcha/api/v1/meta/struct.health.html | 10 +- mcaptcha/api/v1/notifications/add/index.html | 2 +- .../add/struct.AddNotificationRequest.html | 20 +- .../add/struct.add_notification.html | 10 +- .../api/v1/notifications/fn.services.html | 2 +- mcaptcha/api/v1/notifications/get/index.html | 2 +- .../get/struct.NotificationResp.html | 24 +- .../get/struct.get_notification.html | 10 +- mcaptcha/api/v1/notifications/index.html | 2 +- .../api/v1/notifications/mark_read/index.html | 2 +- .../mark_read/struct.MarkReadReq.html | 12 +- .../mark_read/struct.mark_read.html | 10 +- .../api/v1/notifications/routes/index.html | 2 +- .../routes/struct.Notifications.html | 16 +- mcaptcha/api/v1/pow/fn.services.html | 2 +- .../v1/pow/get_config/fn.init_mcaptcha.html | 4 +- mcaptcha/api/v1/pow/get_config/index.html | 2 +- .../get_config/struct.GetConfigPayload.html | 12 +- .../v1/pow/get_config/struct.get_config.html | 10 +- mcaptcha/api/v1/pow/index.html | 2 +- mcaptcha/api/v1/pow/routes/index.html | 2 +- .../api/v1/pow/routes/macro.rm_scope.html | 2 +- mcaptcha/api/v1/pow/routes/struct.PoW.html | 24 +- mcaptcha/api/v1/pow/verify_pow/index.html | 2 +- .../verify_pow/struct.ValidationToken.html | 12 +- .../v1/pow/verify_pow/struct.verify_pow.html | 10 +- mcaptcha/api/v1/pow/verify_token/index.html | 2 +- .../struct.CaptchaValidateResp.html | 12 +- .../struct.VerifyCaptchaResultPayload.html | 16 +- .../struct.validate_captcha_token.html | 10 +- mcaptcha/api/v1/routes/constant.ROUTES.html | 2 +- mcaptcha/api/v1/routes/index.html | 2 +- mcaptcha/api/v1/routes/struct.Routes.html | 10 +- mcaptcha/api/v1/struct.RedirectQuery.html | 12 +- mcaptcha/constant.CACHE_AGE.html | 2 +- mcaptcha/constant.COMPILED_DATE.html | 2 +- mcaptcha/constant.DOCS.html | 2 +- mcaptcha/constant.GIT_COMMIT_HASH.html | 2 +- mcaptcha/constant.PAGES.html | 2 +- mcaptcha/constant.PKG_DESCRIPTION.html | 2 +- mcaptcha/constant.PKG_HOMEPAGE.html | 2 +- mcaptcha/constant.PKG_NAME.html | 2 +- mcaptcha/constant.V1_API_ROUTES.html | 2 +- mcaptcha/constant.VERSION.html | 2 +- mcaptcha/constant.WIDGET_ROUTES.html | 2 +- mcaptcha/data/enum.SystemGroup.html | 10 +- mcaptcha/data/index.html | 2 +- mcaptcha/data/macro.enum_system_actor.html | 2 +- mcaptcha/data/macro.enum_system_wrapper.html | 2 +- mcaptcha/data/struct.Data.html | 24 +- mcaptcha/data/type.Mailer.html | 2 +- mcaptcha/date/constant.DAY.html | 2 +- mcaptcha/date/constant.HOUR.html | 2 +- mcaptcha/date/constant.MINUTE.html | 2 +- mcaptcha/date/constant.WEEK.html | 2 +- mcaptcha/date/index.html | 2 +- mcaptcha/date/struct.Date.html | 14 +- mcaptcha/db/index.html | 2 +- mcaptcha/db/maria/fn.get_data.html | 2 +- mcaptcha/db/maria/index.html | 2 +- mcaptcha/db/pg/fn.get_data.html | 2 +- mcaptcha/db/pg/index.html | 2 +- mcaptcha/db/type.BoxDB.html | 2 +- mcaptcha/demo/constant.DEMO_PASSWORD.html | 4 +- mcaptcha/demo/constant.DEMO_USER.html | 4 +- mcaptcha/demo/index.html | 2 +- mcaptcha/demo/struct.DemoUser.html | 14 +- mcaptcha/docs/constant.DOCS.html | 2 +- mcaptcha/docs/constant.OPEN_API_SPEC.html | 2 +- mcaptcha/docs/fn.handle_embedded_file.html | 2 +- mcaptcha/docs/fn.services.html | 2 +- mcaptcha/docs/index.html | 2 +- mcaptcha/docs/routes/index.html | 2 +- mcaptcha/docs/routes/struct.Docs.html | 16 +- mcaptcha/docs/struct.Asset.html | 14 +- mcaptcha/docs/struct.dist.html | 10 +- mcaptcha/docs/struct.index.html | 10 +- mcaptcha/docs/struct.spec.html | 10 +- mcaptcha/email/index.html | 2 +- .../email/verification/constant.PAGE.html | 2 +- .../email/verification/fn.verification.html | 2 +- mcaptcha/email/verification/index.html | 2 +- .../email/verification/struct.IndexPage.html | 12 +- mcaptcha/errors/enum.PageError.html | 16 +- mcaptcha/errors/enum.ServiceError.html | 16 +- mcaptcha/errors/index.html | 2 +- mcaptcha/errors/struct.DBErrorWrapper.html | 16 +- mcaptcha/errors/struct.ErrorToResponse.html | 12 +- mcaptcha/errors/struct.SmtpErrorWrapper.html | 16 +- mcaptcha/errors/type.PageResult.html | 2 +- mcaptcha/errors/type.ServiceResult.html | 2 +- mcaptcha/fn.get_identity_service.html | 2 +- mcaptcha/fn.get_json_err.html | 2 +- mcaptcha/fn.main.html | 2 +- mcaptcha/index.html | 2 +- mcaptcha/pages/auth/fn.services.html | 2 +- mcaptcha/pages/auth/index.html | 2 +- mcaptcha/pages/auth/login/constant.PAGE.html | 2 +- mcaptcha/pages/auth/login/index.html | 2 +- mcaptcha/pages/auth/login/struct.INDEX.html | 324 +++++++++--------- .../pages/auth/login/struct.IndexPage.html | 10 +- mcaptcha/pages/auth/login/struct.login.html | 10 +- .../pages/auth/register/constant.PAGE.html | 2 +- mcaptcha/pages/auth/register/index.html | 2 +- .../pages/auth/register/struct.INDEX.html | 324 +++++++++--------- .../pages/auth/register/struct.IndexPage.html | 10 +- mcaptcha/pages/auth/register/struct.join.html | 10 +- mcaptcha/pages/auth/routes/index.html | 2 +- mcaptcha/pages/auth/routes/struct.Auth.html | 14 +- mcaptcha/pages/auth/sudo/constant.PAGE.html | 2 +- mcaptcha/pages/auth/sudo/index.html | 2 +- mcaptcha/pages/auth/sudo/struct.SudoPage.html | 16 +- mcaptcha/pages/constant.NAME.html | 2 +- .../pages/errors/constant.ERROR_ROUTE.html | 2 +- mcaptcha/pages/errors/constant.PAGE.html | 2 +- mcaptcha/pages/errors/fn.services.html | 2 +- mcaptcha/pages/errors/index.html | 2 +- mcaptcha/pages/errors/routes/index.html | 2 +- .../pages/errors/routes/struct.Errors.html | 14 +- mcaptcha/pages/errors/struct.ErrorPage.html | 14 +- .../struct.INTERNAL_SERVER_ERROR_BODY.html | 324 +++++++++--------- .../errors/struct.UNKNOWN_ERROR_BODY.html | 324 +++++++++--------- mcaptcha/pages/errors/struct.error.html | 10 +- mcaptcha/pages/fn.get_middleware.html | 2 +- mcaptcha/pages/fn.services.html | 2 +- mcaptcha/pages/index.html | 2 +- mcaptcha/pages/panel/constant.PAGE.html | 2 +- mcaptcha/pages/panel/fn.services.html | 2 +- mcaptcha/pages/panel/index.html | 2 +- .../panel/notifications/constant.PAGE.html | 2 +- mcaptcha/pages/panel/notifications/index.html | 2 +- .../panel/notifications/struct.IndexPage.html | 14 +- .../notifications/struct.Notification.html | 18 +- .../notifications/struct.notifications.html | 10 +- mcaptcha/pages/panel/routes/index.html | 2 +- mcaptcha/pages/panel/routes/struct.Panel.html | 14 +- .../pages/panel/settings/constant.PAGE.html | 2 +- .../pages/panel/settings/fn.services.html | 2 +- mcaptcha/pages/panel/settings/index.html | 2 +- .../pages/panel/settings/routes/index.html | 2 +- .../settings/routes/struct.Settings.html | 16 +- .../panel/settings/struct.IndexPage.html | 16 +- .../panel/settings/struct.delete_account.html | 10 +- .../pages/panel/settings/struct.settings.html | 10 +- .../panel/settings/struct.update_secret.html | 10 +- .../panel/sitekey/add/constant.PAGE.html | 2 +- mcaptcha/pages/panel/sitekey/add/index.html | 2 +- .../sitekey/add/struct.ADVANCE_INDEX.html | 324 +++++++++--------- .../sitekey/add/struct.AdvanceIndexPage.html | 18 +- .../panel/sitekey/add/struct.EASY_INDEX.html | 324 +++++++++--------- .../sitekey/add/struct.EasyIndexPage.html | 20 +- .../panel/sitekey/add/struct.advance.html | 10 +- .../pages/panel/sitekey/add/struct.easy.html | 10 +- .../pages/panel/sitekey/delete/index.html | 2 +- .../sitekey/delete/struct.delete_sitekey.html | 10 +- .../panel/sitekey/edit/constant.PAGE.html | 2 +- mcaptcha/pages/panel/sitekey/edit/index.html | 2 +- .../sitekey/edit/struct.AdvanceEditPage.html | 18 +- .../sitekey/edit/struct.EasyEditPage.html | 14 +- .../panel/sitekey/edit/struct.advance.html | 10 +- .../pages/panel/sitekey/edit/struct.easy.html | 10 +- mcaptcha/pages/panel/sitekey/fn.services.html | 2 +- mcaptcha/pages/panel/sitekey/index.html | 2 +- .../panel/sitekey/list/constant.PAGE.html | 2 +- mcaptcha/pages/panel/sitekey/list/index.html | 2 +- .../panel/sitekey/list/struct.IndexPage.html | 12 +- .../sitekey/list/struct.list_sitekeys.html | 10 +- .../pages/panel/sitekey/routes/index.html | 2 +- .../panel/sitekey/routes/struct.Sitekey.html | 24 +- .../panel/sitekey/view/constant.PAGE.html | 2 +- mcaptcha/pages/panel/sitekey/view/index.html | 2 +- .../panel/sitekey/view/struct.IndexPage.html | 18 +- .../sitekey/view/struct.view_sitekey.html | 10 +- mcaptcha/pages/panel/struct.IndexPage.html | 12 +- mcaptcha/pages/panel/struct.panel.html | 10 +- mcaptcha/pages/routes/constant.ROUTES.html | 2 +- mcaptcha/pages/routes/index.html | 2 +- mcaptcha/pages/routes/struct.Routes.html | 24 +- mcaptcha/pages/sitemap/index.html | 2 +- mcaptcha/pages/sitemap/struct.INDEX.html | 324 +++++++++--------- mcaptcha/pages/sitemap/struct.IndexPage.html | 14 +- mcaptcha/pages/sitemap/struct.sitemap.html | 10 +- mcaptcha/routes/fn.services.html | 2 +- mcaptcha/routes/index.html | 2 +- mcaptcha/settings/enum.DBType.html | 14 +- mcaptcha/settings/fn.check_url.html | 2 +- mcaptcha/settings/fn.set_database_url.html | 2 +- mcaptcha/settings/index.html | 2 +- mcaptcha/settings/struct.Captcha.html | 20 +- mcaptcha/settings/struct.Database.html | 14 +- .../struct.DefaultDifficultyStrategy.html | 18 +- mcaptcha/settings/struct.Redis.html | 14 +- mcaptcha/settings/struct.Server.html | 22 +- mcaptcha/settings/struct.Settings.html | 24 +- mcaptcha/settings/struct.Smtp.html | 22 +- mcaptcha/static_assets/filemap/index.html | 2 +- .../static_assets/filemap/struct.FileMap.html | 10 +- mcaptcha/static_assets/fn.services.html | 2 +- mcaptcha/static_assets/index.html | 2 +- .../static_files/assets/index.html | 2 +- .../static_files/assets/struct.BAR_CHART.html | 12 +- .../assets/struct.CREDIT_CARD.html | 12 +- .../static_files/assets/struct.DOCS_ICON.html | 12 +- .../static_files/assets/struct.GITHUB.html | 12 +- .../assets/struct.HELP_CIRCLE.html | 12 +- .../static_files/assets/struct.HOME.html | 12 +- .../static_files/assets/struct.KEY.html | 12 +- .../assets/struct.MCAPTCHA_TRANS_ICON.html | 12 +- .../static_files/assets/struct.MESSAGE.html | 12 +- .../assets/struct.SETTINGS_ICON.html | 12 +- .../static_files/assets/type.Img.html | 2 +- .../static_files/fn.handle_assets.html | 2 +- .../static_files/fn.handle_favicons.html | 2 +- .../static_assets/static_files/index.html | 2 +- .../static_files/struct.Asset.html | 14 +- .../static_files/struct.Favicons.html | 14 +- .../static_files/struct.favicons.html | 10 +- .../static_files/struct.static_files.html | 10 +- mcaptcha/stats/index.html | 2 +- mcaptcha/stats/struct.CaptchaStats.html | 20 +- mcaptcha/stats/struct.Dummy.html | 22 +- mcaptcha/stats/struct.Real.html | 22 +- mcaptcha/stats/trait.CloneStats.html | 6 +- mcaptcha/stats/trait.Stats.html | 20 +- mcaptcha/struct.BAR_CHART.html | 12 +- mcaptcha/struct.CREDIT_CARD.html | 12 +- mcaptcha/struct.CSS.html | 286 ++++++++-------- mcaptcha/struct.DOCS_ICON.html | 12 +- mcaptcha/struct.Data.html | 24 +- mcaptcha/struct.FILES.html | 12 +- mcaptcha/struct.GITHUB.html | 12 +- mcaptcha/struct.HELP_CIRCLE.html | 12 +- mcaptcha/struct.HOME.html | 12 +- mcaptcha/struct.JS.html | 286 ++++++++-------- mcaptcha/struct.KEY.html | 12 +- mcaptcha/struct.MCAPTCHA_TRANS_ICON.html | 12 +- mcaptcha/struct.MESSAGE.html | 12 +- mcaptcha/struct.MOBILE_CSS.html | 286 ++++++++-------- mcaptcha/struct.SETTINGS.html | 12 +- mcaptcha/struct.SETTINGS_ICON.html | 12 +- mcaptcha/struct.SOURCE_FILES_OF_INSTANCE.html | 324 +++++++++--------- mcaptcha/struct.Settings.html | 24 +- mcaptcha/struct.VERIFICATIN_WIDGET_CSS.html | 286 ++++++++-------- mcaptcha/struct.VERIFICATIN_WIDGET_JS.html | 286 ++++++++-------- mcaptcha/type.AppData.html | 2 +- mcaptcha/type.ArcData.html | 2 +- mcaptcha/widget/constant.PAGE.html | 2 +- mcaptcha/widget/constant.WIDGET_ROUTES.html | 2 +- mcaptcha/widget/fn.services.html | 2 +- mcaptcha/widget/index.html | 2 +- mcaptcha/widget/routes/index.html | 2 +- mcaptcha/widget/routes/struct.Widget.html | 12 +- mcaptcha/widget/struct.INDEX_PAGE.html | 324 +++++++++--------- mcaptcha/widget/struct.IndexPage.html | 10 +- mcaptcha/widget/struct.show_widget.html | 10 +- search-index.js | 6 +- settings.html | 2 +- src/db_core/errors.rs.html | 2 +- src/db_core/lib.rs.html | 2 +- src/db_core/ops.rs.html | 2 +- src/db_core/tests.rs.html | 2 +- src/db_sqlx_maria/errors.rs.html | 2 +- src/db_sqlx_maria/lib.rs.html | 2 +- src/db_sqlx_postgres/errors.rs.html | 2 +- src/db_sqlx_postgres/lib.rs.html | 2 +- src/mcaptcha/api/mod.rs.html | 2 +- src/mcaptcha/api/v1/account/delete.rs.html | 2 +- src/mcaptcha/api/v1/account/email.rs.html | 2 +- src/mcaptcha/api/v1/account/mod.rs.html | 2 +- src/mcaptcha/api/v1/account/password.rs.html | 2 +- src/mcaptcha/api/v1/account/secret.rs.html | 2 +- src/mcaptcha/api/v1/account/username.rs.html | 2 +- src/mcaptcha/api/v1/auth.rs.html | 2 +- src/mcaptcha/api/v1/mcaptcha/create.rs.html | 2 +- src/mcaptcha/api/v1/mcaptcha/delete.rs.html | 2 +- src/mcaptcha/api/v1/mcaptcha/easy.rs.html | 2 +- src/mcaptcha/api/v1/mcaptcha/get.rs.html | 2 +- src/mcaptcha/api/v1/mcaptcha/mod.rs.html | 2 +- src/mcaptcha/api/v1/mcaptcha/stats.rs.html | 2 +- src/mcaptcha/api/v1/mcaptcha/update.rs.html | 2 +- src/mcaptcha/api/v1/meta.rs.html | 2 +- src/mcaptcha/api/v1/mod.rs.html | 2 +- src/mcaptcha/api/v1/notifications/add.rs.html | 2 +- src/mcaptcha/api/v1/notifications/get.rs.html | 2 +- .../api/v1/notifications/mark_read.rs.html | 2 +- src/mcaptcha/api/v1/notifications/mod.rs.html | 2 +- src/mcaptcha/api/v1/pow/get_config.rs.html | 2 +- src/mcaptcha/api/v1/pow/mod.rs.html | 2 +- src/mcaptcha/api/v1/pow/verify_pow.rs.html | 2 +- src/mcaptcha/api/v1/pow/verify_token.rs.html | 2 +- src/mcaptcha/api/v1/routes.rs.html | 2 +- src/mcaptcha/data.rs.html | 2 +- src/mcaptcha/date.rs.html | 2 +- src/mcaptcha/db.rs.html | 2 +- src/mcaptcha/demo.rs.html | 2 +- src/mcaptcha/docs.rs.html | 2 +- src/mcaptcha/email/mod.rs.html | 2 +- src/mcaptcha/email/verification.rs.html | 2 +- src/mcaptcha/errors.rs.html | 2 +- src/mcaptcha/main.rs.html | 2 +- src/mcaptcha/pages/auth/login.rs.html | 2 +- src/mcaptcha/pages/auth/mod.rs.html | 2 +- src/mcaptcha/pages/auth/register.rs.html | 2 +- src/mcaptcha/pages/auth/sudo.rs.html | 2 +- src/mcaptcha/pages/errors.rs.html | 2 +- src/mcaptcha/pages/mod.rs.html | 2 +- src/mcaptcha/pages/panel/mod.rs.html | 2 +- .../pages/panel/notifications.rs.html | 2 +- src/mcaptcha/pages/panel/settings.rs.html | 2 +- src/mcaptcha/pages/panel/sitekey/add.rs.html | 2 +- .../pages/panel/sitekey/delete.rs.html | 2 +- src/mcaptcha/pages/panel/sitekey/edit.rs.html | 2 +- src/mcaptcha/pages/panel/sitekey/list.rs.html | 2 +- src/mcaptcha/pages/panel/sitekey/mod.rs.html | 2 +- src/mcaptcha/pages/panel/sitekey/view.rs.html | 2 +- src/mcaptcha/pages/routes.rs.html | 2 +- src/mcaptcha/pages/sitemap.rs.html | 2 +- src/mcaptcha/routes.rs.html | 2 +- src/mcaptcha/settings.rs.html | 2 +- src/mcaptcha/static_assets/filemap.rs.html | 2 +- src/mcaptcha/static_assets/mod.rs.html | 2 +- .../static_assets/static_files.rs.html | 2 +- src/mcaptcha/stats.rs.html | 2 +- src/mcaptcha/widget/mod.rs.html | 2 +- 822 files changed, 7241 insertions(+), 7241 deletions(-) diff --git a/db_core/all.html b/db_core/all.html index 27b45d94..760a8bc3 100644 --- a/db_core/all.html +++ b/db_core/all.html @@ -1 +1 @@ -List of all items in this crate
\ No newline at end of file +List of all items in this crate
\ No newline at end of file diff --git a/db_core/dev/attr.async_trait.html b/db_core/dev/attr.async_trait.html index 14122e79..8cf45444 100644 --- a/db_core/dev/attr.async_trait.html +++ b/db_core/dev/attr.async_trait.html @@ -1 +1 @@ -async_trait in db_core::dev - Rust

Attribute Macro db_core::dev::async_trait

#[async_trait]
\ No newline at end of file +async_trait in db_core::dev - Rust

Attribute Macro db_core::dev::async_trait

#[async_trait]
\ No newline at end of file diff --git a/db_core/dev/index.html b/db_core/dev/index.html index 75994a29..41b8403c 100644 --- a/db_core/dev/index.html +++ b/db_core/dev/index.html @@ -1,2 +1,2 @@ db_core::dev - Rust

Module db_core::dev

source ·
Expand description

useful imports for supporting a new database

-

Re-exports

pub use super::prelude::*;

Attribute Macros

\ No newline at end of file +

Re-exports

pub use super::prelude::*;

Attribute Macros

\ No newline at end of file diff --git a/db_core/enum.Login.html b/db_core/enum.Login.html index 8c54bb32..9a12e731 100644 --- a/db_core/enum.Login.html +++ b/db_core/enum.Login.html @@ -1,17 +1,17 @@ Login in db_core - Rust

Enum db_core::Login

source ·
pub enum Login<'a> {
-    Username(&'a str),
-    Email(&'a str),
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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.

+

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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_core/errors/enum.DBError.html b/db_core/errors/enum.DBError.html index 5af54ab8..135e269a 100644 --- a/db_core/errors/enum.DBError.html +++ b/db_core/errors/enum.DBError.html @@ -18,13 +18,13 @@
§

CaptchaNotFound

Captcha not found

§

TrafficPatternNotFound

Traffic pattern not found

§

NotificationNotFound

Notification not found

-

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

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§

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

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

+Instrumented wrapper. Read more

Calls U::from(self).

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 +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 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/db_core/errors/index.html b/db_core/errors/index.html index f80d6ce6..988c4a95 100644 --- a/db_core/errors/index.html +++ b/db_core/errors/index.html @@ -1,2 +1,2 @@ db_core::errors - Rust

Module db_core::errors

source ·
Expand description

represents all the ways a trait can fail using this crate

-

Enums

Error data structure grouping various error subtypes

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure
\ No newline at end of file +

Enums

Error data structure grouping various error subtypes

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure
\ No newline at end of file diff --git a/db_core/errors/type.BoxDynError.html b/db_core/errors/type.BoxDynError.html index 331cbebd..3a0c9e8e 100644 --- a/db_core/errors/type.BoxDynError.html +++ b/db_core/errors/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_core::errors - Rust

Type Definition db_core::errors::BoxDynError

source ·
pub type BoxDynError = Box<dyn StdError + Send + Sync + 'static>;
Expand description

Convenience type alias for grouping driver-specific errors

-
\ No newline at end of file +BoxDynError in db_core::errors - Rust

Type Definition db_core::errors::BoxDynError

source ·
pub type BoxDynError = Box<dyn StdError + Send + Sync + 'static>;
Expand description

Convenience type alias for grouping driver-specific errors

+
\ No newline at end of file diff --git a/db_core/errors/type.DBResult.html b/db_core/errors/type.DBResult.html index 1ddce342..f804a29e 100644 --- a/db_core/errors/type.DBResult.html +++ b/db_core/errors/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_core::errors - Rust

Type Definition db_core::errors::DBResult

source ·
pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

-
\ No newline at end of file +DBResult in db_core::errors - Rust

Type Definition db_core::errors::DBResult

source ·
pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

+
\ No newline at end of file diff --git a/db_core/index.html b/db_core/index.html index 42a043d3..c0bfbdbe 100644 --- a/db_core/index.html +++ b/db_core/index.html @@ -10,4 +10,4 @@ implemented.

connection from pool

Re-exports

pub use ops::GetConnection;

Modules

useful imports for supporting a new database
represents all the ways a trait can fail using this crate
meta operations like migration and connecting to a database
useful imports for users working with a supported database
Test utilities

Structs

Data required to add notification
Data representing a captcha
data required to create new captcha
Level struct that describes threshold-difficulty factor mapping
type encapsulating username and hashed password of a user
Represents notification
Data required to register a new user
datastructure representing a user’s secret
Captcha statistics with time recorded in UNIX epoch formats
User’s traffic pattern; used in generating a captcha configuration
data required to update them email of a user

Enums

types of credentials used as identifiers during login

Traits

Trait to clone MCDatabase
mCaptcha’s database requirements. To implement support for $Database, kindly implement this -trait.
\ No newline at end of file +trait.
\ No newline at end of file diff --git a/db_core/ops/index.html b/db_core/ops/index.html index 9bb6cf98..08dc3194 100644 --- a/db_core/ops/index.html +++ b/db_core/ops/index.html @@ -1,2 +1,2 @@ db_core::ops - Rust

Module db_core::ops

source ·
Expand description

meta operations like migration and connecting to a database

-

Traits

Create database connection
Database operations trait(migrations, pool creation and fetching connection from pool)
Get database connection
database migrations
\ No newline at end of file +

Traits

Create database connection
Database operations trait(migrations, pool creation and fetching connection from pool)
Get database connection
database migrations
\ No newline at end of file diff --git a/db_core/ops/trait.Connect.html b/db_core/ops/trait.Connect.html index 20e92670..4e0f0604 100644 --- a/db_core/ops/trait.Connect.html +++ b/db_core/ops/trait.Connect.html @@ -1,9 +1,9 @@ Connect in db_core::ops - Rust

Trait db_core::ops::Connect

source ·
pub trait Connect {
     type Pool: MCDatabase;
 
-    fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = DBResult<Self::Pool>> + Send + 'async_trait>>
    where
        Self: 'async_trait
; + fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = DBResult<Self::Pool>> + Send + 'async_trait>>
    where
        Self: 'async_trait
; }
Expand description

Create database connection

Required Associated Types§

database specific pool-type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_core/ops/trait.DBOps.html b/db_core/ops/trait.DBOps.html index 81f2f9bf..46b14917 100644 --- a/db_core/ops/trait.DBOps.html +++ b/db_core/ops/trait.DBOps.html @@ -1,2 +1,2 @@ DBOps in db_core::ops - Rust

Trait db_core::ops::DBOps

source ·
pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_core/ops/trait.GetConnection.html b/db_core/ops/trait.GetConnection.html index 56ee29cc..5248ce52 100644 --- a/db_core/ops/trait.GetConnection.html +++ b/db_core/ops/trait.GetConnection.html @@ -1,9 +1,9 @@ GetConnection in db_core::ops - Rust
pub trait GetConnection {
     type Conn;
 
-    fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = DBResult<Self::Conn>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; + fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = DBResult<Self::Conn>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; }
Expand description

Get database connection

Required Associated Types§

database connection type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type get connection from connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_core/ops/trait.Migrate.html b/db_core/ops/trait.Migrate.html index be817368..9d307d61 100644 --- a/db_core/ops/trait.Migrate.html +++ b/db_core/ops/trait.Migrate.html @@ -1,6 +1,6 @@ Migrate in db_core::ops - Rust

Trait db_core::ops::Migrate

source ·
pub trait Migrate: MCDatabase {
-    fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; + fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; }
Expand description

database migrations

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_core/prelude/index.html b/db_core/prelude/index.html index f0117111..231044fd 100644 --- a/db_core/prelude/index.html +++ b/db_core/prelude/index.html @@ -1,2 +1,2 @@ db_core::prelude - Rust

Module db_core::prelude

source ·
Expand description

useful imports for users working with a supported database

-

Re-exports

pub use super::errors::*;
pub use super::ops::*;
pub use super::*;
\ No newline at end of file +

Re-exports

pub use super::errors::*;
pub use super::ops::*;
pub use super::*;
\ No newline at end of file diff --git a/db_core/struct.AddNotification.html b/db_core/struct.AddNotification.html index d532f5ce..22c8d73c 100644 --- a/db_core/struct.AddNotification.html +++ b/db_core/struct.AddNotification.html @@ -1,21 +1,21 @@ AddNotification in db_core - Rust
pub struct AddNotification<'a> {
-    pub to: &'a str,
-    pub from: &'a str,
-    pub heading: &'a str,
-    pub message: &'a str,
+    pub to: &'a str,
+    pub from: &'a str,
+    pub heading: &'a str,
+    pub message: &'a str,
 }
Expand description

Data required to add notification

-

Fields§

§to: &'a str

who is the notification addressed to?

-
§from: &'a str

notification sender

-
§heading: &'a str

heading of the notification

-
§message: &'a str

message of the notification

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§to: &'a str

who is the notification addressed to?

+
§from: &'a str

notification sender

+
§heading: &'a str

heading of the notification

+
§message: &'a str

message of the notification

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_core/struct.Captcha.html b/db_core/struct.Captcha.html index 0c53cd55..c27810a1 100644 --- a/db_core/struct.Captcha.html +++ b/db_core/struct.Captcha.html @@ -1,21 +1,21 @@ Captcha in db_core - Rust

Struct db_core::Captcha

source ·
pub struct Captcha {
-    pub config_id: i32,
-    pub duration: i32,
-    pub description: String,
-    pub key: String,
+    pub config_id: i32,
+    pub duration: i32,
+    pub description: String,
+    pub key: String,
 }
Expand description

Data representing a captcha

-

Fields§

§config_id: i32

Database assigned ID

-
§duration: i32

cool down duration

-
§description: String

description of the captcha

-
§key: String

secret key of the captcha

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§config_id: i32

Database assigned ID

+
§duration: i32

cool down duration

+
§description: String

description of the captcha

+
§key: String

secret key of the captcha

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_core/struct.CreateCaptcha.html b/db_core/struct.CreateCaptcha.html index ca854a0f..a0b15dd0 100644 --- a/db_core/struct.CreateCaptcha.html +++ b/db_core/struct.CreateCaptcha.html @@ -1,19 +1,19 @@ CreateCaptcha in db_core - Rust

Struct db_core::CreateCaptcha

source ·
pub struct CreateCaptcha<'a> {
-    pub duration: i32,
-    pub description: &'a str,
-    pub key: &'a str,
+    pub duration: i32,
+    pub description: &'a str,
+    pub key: &'a str,
 }
Expand description

data required to create new captcha

-

Fields§

§duration: i32

cool down duration

-
§description: &'a str

description of the captcha

-
§key: &'a str

secret key of the captcha

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§duration: i32

cool down duration

+
§description: &'a str

description of the captcha

+
§key: &'a str

secret key of the captcha

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_core/struct.Level.html b/db_core/struct.Level.html index b7822830..4f70f0b3 100644 --- a/db_core/struct.Level.html +++ b/db_core/struct.Level.html @@ -1,15 +1,15 @@ Level in db_core - Rust

Struct db_core::Level

pub struct Level {
-    pub visitor_threshold: u32,
-    pub difficulty_factor: u32,
+    pub visitor_threshold: u32,
+    pub difficulty_factor: u32,
 }
Expand description

Level struct that describes threshold-difficulty factor mapping

-

Fields§

§visitor_threshold: u32§difficulty_factor: u32

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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§visitor_threshold: u32§difficulty_factor: u32

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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_core/struct.NameHash.html b/db_core/struct.NameHash.html index ad94530b..b989a6f7 100644 --- a/db_core/struct.NameHash.html +++ b/db_core/struct.NameHash.html @@ -1,17 +1,17 @@ NameHash in db_core - Rust

Struct db_core::NameHash

source ·
pub struct NameHash {
-    pub username: String,
-    pub hash: String,
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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

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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_core/struct.Notification.html b/db_core/struct.Notification.html index 4a3d1454..baaec2bc 100644 --- a/db_core/struct.Notification.html +++ b/db_core/struct.Notification.html @@ -1,23 +1,23 @@ Notification in db_core - Rust

Struct db_core::Notification

source ·
pub struct Notification {
-    pub name: Option<String>,
-    pub heading: Option<String>,
-    pub message: Option<String>,
-    pub received: Option<i64>,
-    pub id: Option<i32>,
+    pub name: Option<String>,
+    pub heading: Option<String>,
+    pub message: Option<String>,
+    pub received: Option<i64>,
+    pub id: Option<i32>,
 }
Expand description

Represents notification

-

Fields§

§name: Option<String>

receiver name of the notification

-
§heading: Option<String>

heading of the notification

-
§message: Option<String>

message of the notification

-
§received: Option<i64>

when notification was received

-
§id: Option<i32>

db assigned ID of the notification

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§name: Option<String>

receiver name of the notification

+
§heading: Option<String>

heading of the notification

+
§message: Option<String>

message of the notification

+
§received: Option<i64>

when notification was received

+
§id: Option<i32>

db assigned ID of the notification

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_core/struct.Register.html b/db_core/struct.Register.html index d1dc07da..27d17c2f 100644 --- a/db_core/struct.Register.html +++ b/db_core/struct.Register.html @@ -1,21 +1,21 @@ Register in db_core - Rust

Struct db_core::Register

source ·
pub struct Register<'a> {
-    pub username: &'a str,
-    pub secret: &'a str,
-    pub hash: &'a str,
-    pub email: Option<&'a str>,
+    pub username: &'a str,
+    pub secret: &'a str,
+    pub hash: &'a str,
+    pub email: Option<&'a str>,
 }
Expand description

Data required to register a new user

-

Fields§

§username: &'a str

username of new user

-
§secret: &'a str

secret of new user

-
§hash: &'a str

hashed password of new use

-
§email: Option<&'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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: &'a str

username of new user

+
§secret: &'a str

secret of new user

+
§hash: &'a str

hashed password of new use

+
§email: Option<&'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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_core/struct.Secret.html b/db_core/struct.Secret.html index c69beaeb..fc95cf7d 100644 --- a/db_core/struct.Secret.html +++ b/db_core/struct.Secret.html @@ -1,15 +1,15 @@ Secret in db_core - Rust

Struct db_core::Secret

source ·
pub struct Secret {
-    pub secret: String,
+    pub secret: String,
 }
Expand description

datastructure representing a user’s secret

-

Fields§

§secret: String

user’s secret

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: String

user’s secret

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_core/struct.StatsUnixTimestamp.html b/db_core/struct.StatsUnixTimestamp.html index f2e9b9b1..80abcdce 100644 --- a/db_core/struct.StatsUnixTimestamp.html +++ b/db_core/struct.StatsUnixTimestamp.html @@ -1,19 +1,19 @@ StatsUnixTimestamp in db_core - Rust
pub struct StatsUnixTimestamp {
-    pub config_fetches: Vec<i64>,
-    pub solves: Vec<i64>,
-    pub confirms: Vec<i64>,
+    pub config_fetches: Vec<i64>,
+    pub solves: Vec<i64>,
+    pub confirms: Vec<i64>,
 }
Expand description

Captcha statistics with time recorded in UNIX epoch formats

-

Fields§

§config_fetches: Vec<i64>

times at which the configuration were fetched

-
§solves: Vec<i64>

times at which the PoW was solved

-
§confirms: Vec<i64>

times at which the PoW token was verified

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§config_fetches: Vec<i64>

times at which the configuration were fetched

+
§solves: Vec<i64>

times at which the PoW was solved

+
§confirms: Vec<i64>

times at which the PoW token was verified

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_core/struct.TrafficPattern.html b/db_core/struct.TrafficPattern.html index 71ba8adf..37111b7f 100644 --- a/db_core/struct.TrafficPattern.html +++ b/db_core/struct.TrafficPattern.html @@ -1,19 +1,19 @@ TrafficPattern in db_core - Rust

Struct db_core::TrafficPattern

source ·
pub struct TrafficPattern {
-    pub avg_traffic: u32,
-    pub peak_sustainable_traffic: u32,
-    pub broke_my_site_traffic: Option<u32>,
+    pub avg_traffic: u32,
+    pub peak_sustainable_traffic: u32,
+    pub broke_my_site_traffic: Option<u32>,
 }
Expand description

User’s traffic pattern; used in generating a captcha configuration

-

Fields§

§avg_traffic: u32

average traffic of user’s website

-
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

-
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§avg_traffic: u32

average traffic of user’s website

+
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

+
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_core/struct.UpdateEmail.html b/db_core/struct.UpdateEmail.html index 86645d84..86d2c0e9 100644 --- a/db_core/struct.UpdateEmail.html +++ b/db_core/struct.UpdateEmail.html @@ -1,17 +1,17 @@ UpdateEmail in db_core - Rust

Struct db_core::UpdateEmail

source ·
pub struct UpdateEmail<'a> {
-    pub username: &'a str,
-    pub new_email: &'a str,
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: &'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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_core/tests/fn.database_works.html b/db_core/tests/fn.database_works.html index e3e27476..730b2fd3 100644 --- a/db_core/tests/fn.database_works.html +++ b/db_core/tests/fn.database_works.html @@ -1,2 +1,2 @@ -database_works in db_core::tests - Rust

Function db_core::tests::database_works

source ·
pub async fn database_works<'a, T: MCDatabase>(
    db: &T,
    p: &Register<'a>,
    c: &CreateCaptcha<'a>,
    l: &[Level],
    tp: &TrafficPattern,
    an: &AddNotification<'a>
)
Expand description

test all database functions

-
\ No newline at end of file +database_works in db_core::tests - Rust

Function db_core::tests::database_works

source ·
pub async fn database_works<'a, T: MCDatabase>(
    db: &T,
    p: &Register<'a>,
    c: &CreateCaptcha<'a>,
    l: &[Level],
    tp: &TrafficPattern,
    an: &AddNotification<'a>
)
Expand description

test all database functions

+
\ No newline at end of file diff --git a/db_core/tests/index.html b/db_core/tests/index.html index d29fe59a..f972eba0 100644 --- a/db_core/tests/index.html +++ b/db_core/tests/index.html @@ -1,2 +1,2 @@ db_core::tests - Rust

Module db_core::tests

source ·
Expand description

Test utilities

-

Functions

test all database functions
\ No newline at end of file +

Functions

test all database functions
\ No newline at end of file diff --git a/db_core/trait.CloneSPDatabase.html b/db_core/trait.CloneSPDatabase.html index d829de37..2022b800 100644 --- a/db_core/trait.CloneSPDatabase.html +++ b/db_core/trait.CloneSPDatabase.html @@ -1,5 +1,5 @@ CloneSPDatabase in db_core - Rust
pub trait CloneSPDatabase {
-    fn clone_db(&self) -> Box<dyn MCDatabase>;
+    fn clone_db(&self) -> Box<dyn MCDatabase>;
 }
Expand description

Trait to clone MCDatabase

-

Required Methods§

clone DB

-

Implementors§

\ No newline at end of file +

Required Methods§

clone DB

+

Implementors§

\ No newline at end of file diff --git a/db_core/trait.MCDatabase.html b/db_core/trait.MCDatabase.html index 51192416..ebe577d4 100644 --- a/db_core/trait.MCDatabase.html +++ b/db_core/trait.MCDatabase.html @@ -1,76 +1,76 @@ -MCDatabase in db_core - Rust

Trait db_core::MCDatabase

source ·
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
-
Show 36 methods fn ping<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; - fn register<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 Register<'_>
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; - fn delete_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; - fn username_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; - fn get_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = DBResult<Option<String>>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; - fn email_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        email: &'life1 str
    ) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; - fn update_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 UpdateEmail<'_>
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; - fn get_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        l: &'life1 Login<'_>
    ) -> Pin<Box<dyn Future<Output = DBResult<NameHash>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; - fn update_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 NameHash
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; - fn update_username<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        current: &'life1 str,
        new: &'life2 str
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; - fn get_secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = DBResult<Secret>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; - fn get_secret_from_captcha<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = DBResult<Secret>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; - fn update_secret<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        secret: &'life2 str
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; - fn create_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; - fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = DBResult<Captcha>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; - fn get_all_user_captchas<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = DBResult<Vec<Captcha>>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; - fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; - fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        old_key: &'life2 str,
        new_key: &'life3 str
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait
; - fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        levels: &'life3 [Level]
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait
; - fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; - fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; - fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; - fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = DBResult<Vec<Level>>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; - fn get_captcha_cooldown<'life0, 'life1, 'async_trait>(
        &'life0 self,
        captcha_key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = DBResult<i32>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; - fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        pattern: &'life3 TrafficPattern
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait
; - fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = DBResult<TrafficPattern>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; - fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; - fn create_notification<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 AddNotification<'_>
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; - fn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = DBResult<Vec<Notification>>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; - fn mark_notification_read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        id: i32
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; - fn record_fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; - fn record_solve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; - fn record_confirm<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; - fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; - fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; - fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; +MCDatabase in db_core - Rust

Trait db_core::MCDatabase

source ·
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
+
Show 36 methods fn ping<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; + fn register<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 Register<'_>
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; + fn delete_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; + fn username_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; + fn get_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = DBResult<Option<String>>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; + fn email_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        email: &'life1 str
    ) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; + fn update_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 UpdateEmail<'_>
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; + fn get_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        l: &'life1 Login<'_>
    ) -> Pin<Box<dyn Future<Output = DBResult<NameHash>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; + fn update_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 NameHash
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; + fn update_username<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        current: &'life1 str,
        new: &'life2 str
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; + fn get_secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = DBResult<Secret>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; + fn get_secret_from_captcha<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = DBResult<Secret>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; + fn update_secret<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        secret: &'life2 str
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; + fn create_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; + fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = DBResult<Captcha>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; + fn get_all_user_captchas<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = DBResult<Vec<Captcha>>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; + fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; + fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        old_key: &'life2 str,
        new_key: &'life3 str
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait
; + fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        levels: &'life3 [Level]
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait
; + fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; + fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; + fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; + fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = DBResult<Vec<Level>>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; + fn get_captcha_cooldown<'life0, 'life1, 'async_trait>(
        &'life0 self,
        captcha_key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = DBResult<i32>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; + fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        pattern: &'life3 TrafficPattern
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait
; + fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = DBResult<TrafficPattern>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; + fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; + fn create_notification<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 AddNotification<'_>
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; + fn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = DBResult<Vec<Notification>>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; + fn mark_notification_read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        id: i32
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; + fn record_fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; + fn record_solve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; + fn record_confirm<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; + fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; + fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; + fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
;
}
Expand description

mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.

-

Required Methods§

ping DB

-

register a new user

-

delete a user

-

check if username exists

-

get user email

-

check if email exists

-

update a user’s email

-

get a user’s password

-

update user’s password

-

update username

-

get a user’s secret

-

get a user’s secret from a captcha key

-

update a user’s secret

-

create new captcha

-

Get captcha config

-

Get all captchas belonging to user

-

update captcha metadata; doesn’t change captcha key

-

update captcha key; doesn’t change metadata

-

Add levels to captcha

-

check if captcha exists

-

Delete all levels of a captcha

-

Delete captcha

-

Get captcha levels

-

Get captcha’s cooldown period

-

Add traffic configuration

-

Get traffic configuration

-

Delete traffic configuration

-

create new notification

-

get all unread notifications

-

mark a notification read

-

record PoWConfig fetches

-

record PoWConfig solves

-

record PoWConfig confirms

-

fetch PoWConfig fetches

-

fetch PoWConfig solves

-

fetch PoWConfig confirms

-

Trait Implementations§

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

Implementors§

\ No newline at end of file +

Required Methods§

ping DB

+

register a new user

+

delete a user

+

check if username exists

+

get user email

+

check if email exists

+

update a user’s email

+

get a user’s password

+

update user’s password

+

update username

+

get a user’s secret

+

get a user’s secret from a captcha key

+

update a user’s secret

+

create new captcha

+

Get captcha config

+

Get all captchas belonging to user

+

update captcha metadata; doesn’t change captcha key

+

update captcha key; doesn’t change metadata

+

Add levels to captcha

+

check if captcha exists

+

Delete all levels of a captcha

+

Delete captcha

+

Get captcha levels

+

Get captcha’s cooldown period

+

Add traffic configuration

+

Get traffic configuration

+

Delete traffic configuration

+

create new notification

+

get all unread notifications

+

mark a notification read

+

record PoWConfig fetches

+

record PoWConfig solves

+

record PoWConfig confirms

+

fetch PoWConfig fetches

+

fetch PoWConfig solves

+

fetch PoWConfig confirms

+

Trait Implementations§

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

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/all.html b/db_sqlx_maria/all.html index 3fd4fd7f..0eddfab2 100644 --- a/db_sqlx_maria/all.html +++ b/db_sqlx_maria/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Structs

Enums

Traits

Attribute Macros

Functions

Type Definitions

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

List of all items

Structs

Enums

Traits

Attribute Macros

Functions

Type Definitions

\ No newline at end of file diff --git a/db_sqlx_maria/dev/attr.async_trait.html b/db_sqlx_maria/dev/attr.async_trait.html index 45d742d7..d6994860 100644 --- a/db_sqlx_maria/dev/attr.async_trait.html +++ b/db_sqlx_maria/dev/attr.async_trait.html @@ -1 +1 @@ -async_trait in db_sqlx_maria::dev - Rust

Attribute Macro db_sqlx_maria::dev::async_trait

#[async_trait]
\ No newline at end of file +async_trait in db_sqlx_maria::dev - Rust

Attribute Macro db_sqlx_maria::dev::async_trait

#[async_trait]
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/attr.async_trait.html b/db_sqlx_maria/dev/dev/attr.async_trait.html index 7b7e37a9..a2a78760 100644 --- a/db_sqlx_maria/dev/dev/attr.async_trait.html +++ b/db_sqlx_maria/dev/dev/attr.async_trait.html @@ -1 +1 @@ -async_trait in db_sqlx_maria::dev::dev - Rust

Attribute Macro db_sqlx_maria::dev::dev::async_trait

#[async_trait]
\ No newline at end of file +async_trait in db_sqlx_maria::dev::dev - Rust

Attribute Macro db_sqlx_maria::dev::dev::async_trait

#[async_trait]
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/enum.DBError.html b/db_sqlx_maria/dev/dev/enum.DBError.html index 68cca2a2..c0270daa 100644 --- a/db_sqlx_maria/dev/dev/enum.DBError.html +++ b/db_sqlx_maria/dev/dev/enum.DBError.html @@ -1,5 +1,5 @@ DBError in db_sqlx_maria::dev::dev - Rust
pub enum DBError {
-    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
+    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
     UsernameTaken,
     EmailTaken,
     SecretTaken,
@@ -9,7 +9,7 @@
     TrafficPatternNotFound,
     NotificationNotFound,
 }
Expand description

Error data structure grouping various error subtypes

-

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

+

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

§

UsernameTaken

Username is taken

§

EmailTaken

Email is taken

§

SecretTaken

Secret is taken

@@ -18,13 +18,13 @@
§

CaptchaNotFound

Captcha not found

§

TrafficPatternNotFound

Traffic pattern not found

§

NotificationNotFound

Notification not found

-

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

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§

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

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

+Instrumented wrapper. Read more

Calls U::from(self).

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 +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 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/db_sqlx_maria/dev/dev/enum.Login.html b/db_sqlx_maria/dev/dev/enum.Login.html index 20045424..6876e243 100644 --- a/db_sqlx_maria/dev/dev/enum.Login.html +++ b/db_sqlx_maria/dev/dev/enum.Login.html @@ -1,17 +1,17 @@ Login in db_sqlx_maria::dev::dev - Rust

Enum db_sqlx_maria::dev::dev::Login

pub enum Login<'a> {
-    Username(&'a str),
-    Email(&'a str),
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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.

+

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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/errors/enum.DBError.html b/db_sqlx_maria/dev/dev/errors/enum.DBError.html index 31cd1bda..0b2735b3 100644 --- a/db_sqlx_maria/dev/dev/errors/enum.DBError.html +++ b/db_sqlx_maria/dev/dev/errors/enum.DBError.html @@ -1,5 +1,5 @@ DBError in db_sqlx_maria::dev::dev::errors - Rust
pub enum DBError {
-    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
+    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
     UsernameTaken,
     EmailTaken,
     SecretTaken,
@@ -9,7 +9,7 @@
     TrafficPatternNotFound,
     NotificationNotFound,
 }
Expand description

Error data structure grouping various error subtypes

-

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

+

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

§

UsernameTaken

Username is taken

§

EmailTaken

Email is taken

§

SecretTaken

Secret is taken

@@ -18,13 +18,13 @@
§

CaptchaNotFound

Captcha not found

§

TrafficPatternNotFound

Traffic pattern not found

§

NotificationNotFound

Notification not found

-

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

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§

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

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

+Instrumented wrapper. Read more

Calls U::from(self).

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 +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 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/db_sqlx_maria/dev/dev/errors/index.html b/db_sqlx_maria/dev/dev/errors/index.html index 21caa825..20d0271e 100644 --- a/db_sqlx_maria/dev/dev/errors/index.html +++ b/db_sqlx_maria/dev/dev/errors/index.html @@ -1,2 +1,2 @@ db_sqlx_maria::dev::dev::errors - Rust

Module db_sqlx_maria::dev::dev::errors

Expand description

represents all the ways a trait can fail using this crate

-

Enums

Error data structure grouping various error subtypes

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure
\ No newline at end of file +

Enums

Error data structure grouping various error subtypes

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/errors/type.BoxDynError.html b/db_sqlx_maria/dev/dev/errors/type.BoxDynError.html index 76148091..f467f3fd 100644 --- a/db_sqlx_maria/dev/dev/errors/type.BoxDynError.html +++ b/db_sqlx_maria/dev/dev/errors/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_maria::dev::dev::errors - Rust

Type Definition db_sqlx_maria::dev::dev::errors::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

-
\ No newline at end of file +BoxDynError in db_sqlx_maria::dev::dev::errors - Rust

Type Definition db_sqlx_maria::dev::dev::errors::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

+
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/errors/type.DBResult.html b/db_sqlx_maria/dev/dev/errors/type.DBResult.html index e99d689a..e2e3ad1c 100644 --- a/db_sqlx_maria/dev/dev/errors/type.DBResult.html +++ b/db_sqlx_maria/dev/dev/errors/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_maria::dev::dev::errors - Rust

Type Definition db_sqlx_maria::dev::dev::errors::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

-
\ No newline at end of file +DBResult in db_sqlx_maria::dev::dev::errors - Rust

Type Definition db_sqlx_maria::dev::dev::errors::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

+
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/index.html b/db_sqlx_maria/dev/dev/index.html index 24f5f652..6cf8bfa5 100644 --- a/db_sqlx_maria/dev/dev/index.html +++ b/db_sqlx_maria/dev/dev/index.html @@ -1,3 +1,3 @@ db_sqlx_maria::dev::dev - Rust

Module db_sqlx_maria::dev::dev

Expand description

useful imports for supporting a new database

Modules

represents all the ways a trait can fail using this crate
meta operations like migration and connecting to a database
useful imports for users working with a supported database
Test utilities

Structs

Data required to add notification
Data representing a captcha
data required to create new captcha
Level struct that describes threshold-difficulty factor mapping
type encapsulating username and hashed password of a user
Represents notification
Data required to register a new user
datastructure representing a user’s secret
Captcha statistics with time recorded in UNIX epoch formats
User’s traffic pattern; used in generating a captcha configuration
data required to update them email of a user

Enums

Error data structure grouping various error subtypes
types of credentials used as identifiers during login

Traits

Trait to clone MCDatabase
Create database connection
Database operations trait(migrations, pool creation and fetching connection from pool)
Get database connection
mCaptcha’s database requirements. To implement support for $Database, kindly implement this -trait.
database migrations

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure

Attribute Macros

\ No newline at end of file +trait.
database migrations

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure

Attribute Macros

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/ops/index.html b/db_sqlx_maria/dev/dev/ops/index.html index 81413abd..e3c9d612 100644 --- a/db_sqlx_maria/dev/dev/ops/index.html +++ b/db_sqlx_maria/dev/dev/ops/index.html @@ -1,2 +1,2 @@ db_sqlx_maria::dev::dev::ops - Rust

Module db_sqlx_maria::dev::dev::ops

Expand description

meta operations like migration and connecting to a database

-

Traits

Create database connection
Database operations trait(migrations, pool creation and fetching connection from pool)
Get database connection
database migrations
\ No newline at end of file +

Traits

Create database connection
Database operations trait(migrations, pool creation and fetching connection from pool)
Get database connection
database migrations
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/ops/trait.Connect.html b/db_sqlx_maria/dev/dev/ops/trait.Connect.html index 85dbcb9a..2840da90 100644 --- a/db_sqlx_maria/dev/dev/ops/trait.Connect.html +++ b/db_sqlx_maria/dev/dev/ops/trait.Connect.html @@ -1,9 +1,9 @@ Connect in db_sqlx_maria::dev::dev::ops - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
-    fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; + fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; }
Expand description

Create database connection

Required Associated Types§

database specific pool-type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/ops/trait.DBOps.html b/db_sqlx_maria/dev/dev/ops/trait.DBOps.html index d50fe878..b5a1eea9 100644 --- a/db_sqlx_maria/dev/dev/ops/trait.DBOps.html +++ b/db_sqlx_maria/dev/dev/ops/trait.DBOps.html @@ -1,2 +1,2 @@ DBOps in db_sqlx_maria::dev::dev::ops - Rust

Trait db_sqlx_maria::dev::dev::ops::DBOps

pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/ops/trait.GetConnection.html b/db_sqlx_maria/dev/dev/ops/trait.GetConnection.html index 96532f47..f9300be1 100644 --- a/db_sqlx_maria/dev/dev/ops/trait.GetConnection.html +++ b/db_sqlx_maria/dev/dev/ops/trait.GetConnection.html @@ -1,9 +1,9 @@ GetConnection in db_sqlx_maria::dev::dev::ops - Rust
pub trait GetConnection {
     type Conn;
 
-    fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Get database connection

Required Associated Types§

database connection type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type get connection from connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/ops/trait.Migrate.html b/db_sqlx_maria/dev/dev/ops/trait.Migrate.html index fe0b8d80..dce05564 100644 --- a/db_sqlx_maria/dev/dev/ops/trait.Migrate.html +++ b/db_sqlx_maria/dev/dev/ops/trait.Migrate.html @@ -1,6 +1,6 @@ Migrate in db_sqlx_maria::dev::dev::ops - Rust
pub trait Migrate: MCDatabase {
-    fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

database migrations

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/enum.DBError.html b/db_sqlx_maria/dev/dev/prelude/enum.DBError.html index 6a62f137..f436b6a0 100644 --- a/db_sqlx_maria/dev/dev/prelude/enum.DBError.html +++ b/db_sqlx_maria/dev/dev/prelude/enum.DBError.html @@ -1,5 +1,5 @@ DBError in db_sqlx_maria::dev::dev::prelude - Rust
pub enum DBError {
-    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
+    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
     UsernameTaken,
     EmailTaken,
     SecretTaken,
@@ -9,7 +9,7 @@
     TrafficPatternNotFound,
     NotificationNotFound,
 }
Expand description

Error data structure grouping various error subtypes

-

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

+

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

§

UsernameTaken

Username is taken

§

EmailTaken

Email is taken

§

SecretTaken

Secret is taken

@@ -18,13 +18,13 @@
§

CaptchaNotFound

Captcha not found

§

TrafficPatternNotFound

Traffic pattern not found

§

NotificationNotFound

Notification not found

-

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

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§

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

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

+Instrumented wrapper. Read more

Calls U::from(self).

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 +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 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/db_sqlx_maria/dev/dev/prelude/enum.Login.html b/db_sqlx_maria/dev/dev/prelude/enum.Login.html index e138561c..b94138e0 100644 --- a/db_sqlx_maria/dev/dev/prelude/enum.Login.html +++ b/db_sqlx_maria/dev/dev/prelude/enum.Login.html @@ -1,17 +1,17 @@ Login in db_sqlx_maria::dev::dev::prelude - Rust
pub enum Login<'a> {
-    Username(&'a str),
-    Email(&'a str),
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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.

+

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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/index.html b/db_sqlx_maria/dev/dev/prelude/index.html index 7d1218a7..c6acbeda 100644 --- a/db_sqlx_maria/dev/dev/prelude/index.html +++ b/db_sqlx_maria/dev/dev/prelude/index.html @@ -1,3 +1,3 @@ db_sqlx_maria::dev::dev::prelude - Rust

Module db_sqlx_maria::dev::dev::prelude

Expand description

useful imports for users working with a supported database

Structs

Data required to add notification
Data representing a captcha
data required to create new captcha
Level struct that describes threshold-difficulty factor mapping
type encapsulating username and hashed password of a user
Represents notification
Data required to register a new user
datastructure representing a user’s secret
Captcha statistics with time recorded in UNIX epoch formats
User’s traffic pattern; used in generating a captcha configuration
data required to update them email of a user

Enums

Error data structure grouping various error subtypes
types of credentials used as identifiers during login

Traits

Trait to clone MCDatabase
Create database connection
Database operations trait(migrations, pool creation and fetching connection from pool)
Get database connection
mCaptcha’s database requirements. To implement support for $Database, kindly implement this -trait.
database migrations

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure
\ No newline at end of file +trait.
database migrations

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/struct.AddNotification.html b/db_sqlx_maria/dev/dev/prelude/struct.AddNotification.html index 527a9d63..e6e221a2 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.AddNotification.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.AddNotification.html @@ -1,21 +1,21 @@ AddNotification in db_sqlx_maria::dev::dev::prelude - Rust
pub struct AddNotification<'a> {
-    pub to: &'a str,
-    pub from: &'a str,
-    pub heading: &'a str,
-    pub message: &'a str,
+    pub to: &'a str,
+    pub from: &'a str,
+    pub heading: &'a str,
+    pub message: &'a str,
 }
Expand description

Data required to add notification

-

Fields§

§to: &'a str

who is the notification addressed to?

-
§from: &'a str

notification sender

-
§heading: &'a str

heading of the notification

-
§message: &'a str

message of the notification

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§to: &'a str

who is the notification addressed to?

+
§from: &'a str

notification sender

+
§heading: &'a str

heading of the notification

+
§message: &'a str

message of the notification

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/struct.Captcha.html b/db_sqlx_maria/dev/dev/prelude/struct.Captcha.html index cd07fe2e..71832705 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.Captcha.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.Captcha.html @@ -1,21 +1,21 @@ Captcha in db_sqlx_maria::dev::dev::prelude - Rust
pub struct Captcha {
-    pub config_id: i32,
-    pub duration: i32,
-    pub description: String,
-    pub key: String,
+    pub config_id: i32,
+    pub duration: i32,
+    pub description: String,
+    pub key: String,
 }
Expand description

Data representing a captcha

-

Fields§

§config_id: i32

Database assigned ID

-
§duration: i32

cool down duration

-
§description: String

description of the captcha

-
§key: String

secret key of the captcha

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§config_id: i32

Database assigned ID

+
§duration: i32

cool down duration

+
§description: String

description of the captcha

+
§key: String

secret key of the captcha

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/struct.CreateCaptcha.html b/db_sqlx_maria/dev/dev/prelude/struct.CreateCaptcha.html index ef043bf5..6925fbd0 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.CreateCaptcha.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.CreateCaptcha.html @@ -1,19 +1,19 @@ CreateCaptcha in db_sqlx_maria::dev::dev::prelude - Rust
pub struct CreateCaptcha<'a> {
-    pub duration: i32,
-    pub description: &'a str,
-    pub key: &'a str,
+    pub duration: i32,
+    pub description: &'a str,
+    pub key: &'a str,
 }
Expand description

data required to create new captcha

-

Fields§

§duration: i32

cool down duration

-
§description: &'a str

description of the captcha

-
§key: &'a str

secret key of the captcha

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§duration: i32

cool down duration

+
§description: &'a str

description of the captcha

+
§key: &'a str

secret key of the captcha

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/struct.Level.html b/db_sqlx_maria/dev/dev/prelude/struct.Level.html index 33e2ff9e..363966ec 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.Level.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.Level.html @@ -1,15 +1,15 @@ Level in db_sqlx_maria::dev::dev::prelude - Rust
pub struct Level {
-    pub visitor_threshold: u32,
-    pub difficulty_factor: u32,
+    pub visitor_threshold: u32,
+    pub difficulty_factor: u32,
 }
Expand description

Level struct that describes threshold-difficulty factor mapping

-

Fields§

§visitor_threshold: u32§difficulty_factor: u32

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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§visitor_threshold: u32§difficulty_factor: u32

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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/struct.NameHash.html b/db_sqlx_maria/dev/dev/prelude/struct.NameHash.html index 7228dc00..78e3d486 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.NameHash.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.NameHash.html @@ -1,17 +1,17 @@ NameHash in db_sqlx_maria::dev::dev::prelude - Rust
pub struct NameHash {
-    pub username: String,
-    pub hash: String,
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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

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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/struct.Notification.html b/db_sqlx_maria/dev/dev/prelude/struct.Notification.html index 0c3ea157..a9fe5ecb 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.Notification.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.Notification.html @@ -1,23 +1,23 @@ Notification in db_sqlx_maria::dev::dev::prelude - Rust
pub struct Notification {
-    pub name: Option<String>,
-    pub heading: Option<String>,
-    pub message: Option<String>,
-    pub received: Option<i64>,
-    pub id: Option<i32>,
+    pub name: Option<String>,
+    pub heading: Option<String>,
+    pub message: Option<String>,
+    pub received: Option<i64>,
+    pub id: Option<i32>,
 }
Expand description

Represents notification

-

Fields§

§name: Option<String>

receiver name of the notification

-
§heading: Option<String>

heading of the notification

-
§message: Option<String>

message of the notification

-
§received: Option<i64>

when notification was received

-
§id: Option<i32>

db assigned ID of the notification

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§name: Option<String>

receiver name of the notification

+
§heading: Option<String>

heading of the notification

+
§message: Option<String>

message of the notification

+
§received: Option<i64>

when notification was received

+
§id: Option<i32>

db assigned ID of the notification

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/struct.Register.html b/db_sqlx_maria/dev/dev/prelude/struct.Register.html index dd220293..4941cb9e 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.Register.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.Register.html @@ -1,21 +1,21 @@ Register in db_sqlx_maria::dev::dev::prelude - Rust
pub struct Register<'a> {
-    pub username: &'a str,
-    pub secret: &'a str,
-    pub hash: &'a str,
-    pub email: Option<&'a str>,
+    pub username: &'a str,
+    pub secret: &'a str,
+    pub hash: &'a str,
+    pub email: Option<&'a str>,
 }
Expand description

Data required to register a new user

-

Fields§

§username: &'a str

username of new user

-
§secret: &'a str

secret of new user

-
§hash: &'a str

hashed password of new use

-
§email: Option<&'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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: &'a str

username of new user

+
§secret: &'a str

secret of new user

+
§hash: &'a str

hashed password of new use

+
§email: Option<&'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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/struct.Secret.html b/db_sqlx_maria/dev/dev/prelude/struct.Secret.html index 02b93d6b..e9875cb2 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.Secret.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.Secret.html @@ -1,15 +1,15 @@ Secret in db_sqlx_maria::dev::dev::prelude - Rust
pub struct Secret {
-    pub secret: String,
+    pub secret: String,
 }
Expand description

datastructure representing a user’s secret

-

Fields§

§secret: String

user’s secret

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: String

user’s secret

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/struct.StatsUnixTimestamp.html b/db_sqlx_maria/dev/dev/prelude/struct.StatsUnixTimestamp.html index b525bbdd..26f6b548 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.StatsUnixTimestamp.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.StatsUnixTimestamp.html @@ -1,19 +1,19 @@ StatsUnixTimestamp in db_sqlx_maria::dev::dev::prelude - Rust
pub struct StatsUnixTimestamp {
-    pub config_fetches: Vec<i64, Global>,
-    pub solves: Vec<i64, Global>,
-    pub confirms: Vec<i64, Global>,
+    pub config_fetches: Vec<i64, Global>,
+    pub solves: Vec<i64, Global>,
+    pub confirms: Vec<i64, Global>,
 }
Expand description

Captcha statistics with time recorded in UNIX epoch formats

-

Fields§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

-
§solves: Vec<i64, Global>

times at which the PoW was solved

-
§confirms: Vec<i64, Global>

times at which the PoW token was verified

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

+
§solves: Vec<i64, Global>

times at which the PoW was solved

+
§confirms: Vec<i64, Global>

times at which the PoW token was verified

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/struct.TrafficPattern.html b/db_sqlx_maria/dev/dev/prelude/struct.TrafficPattern.html index 77e0305d..53417cf9 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.TrafficPattern.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.TrafficPattern.html @@ -1,19 +1,19 @@ TrafficPattern in db_sqlx_maria::dev::dev::prelude - Rust
pub struct TrafficPattern {
-    pub avg_traffic: u32,
-    pub peak_sustainable_traffic: u32,
-    pub broke_my_site_traffic: Option<u32>,
+    pub avg_traffic: u32,
+    pub peak_sustainable_traffic: u32,
+    pub broke_my_site_traffic: Option<u32>,
 }
Expand description

User’s traffic pattern; used in generating a captcha configuration

-

Fields§

§avg_traffic: u32

average traffic of user’s website

-
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

-
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§avg_traffic: u32

average traffic of user’s website

+
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

+
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/struct.UpdateEmail.html b/db_sqlx_maria/dev/dev/prelude/struct.UpdateEmail.html index a4de1382..02ece44b 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.UpdateEmail.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.UpdateEmail.html @@ -1,17 +1,17 @@ UpdateEmail in db_sqlx_maria::dev::dev::prelude - Rust
pub struct UpdateEmail<'a> {
-    pub username: &'a str,
-    pub new_email: &'a str,
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: &'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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/trait.CloneSPDatabase.html b/db_sqlx_maria/dev/dev/prelude/trait.CloneSPDatabase.html index 9313abea..9b3e09a8 100644 --- a/db_sqlx_maria/dev/dev/prelude/trait.CloneSPDatabase.html +++ b/db_sqlx_maria/dev/dev/prelude/trait.CloneSPDatabase.html @@ -1,5 +1,5 @@ CloneSPDatabase in db_sqlx_maria::dev::dev::prelude - Rust
pub trait CloneSPDatabase {
-    fn clone_db(&self) -> Box<dyn MCDatabase + 'static, Global>;
+    fn clone_db(&self) -> Box<dyn MCDatabase + 'static, Global>;
 }
Expand description

Trait to clone MCDatabase

-

Required Methods§

clone DB

-

Implementors§

\ No newline at end of file +

Required Methods§

clone DB

+

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/trait.Connect.html b/db_sqlx_maria/dev/dev/prelude/trait.Connect.html index 7a3564ca..47caae9d 100644 --- a/db_sqlx_maria/dev/dev/prelude/trait.Connect.html +++ b/db_sqlx_maria/dev/dev/prelude/trait.Connect.html @@ -1,9 +1,9 @@ Connect in db_sqlx_maria::dev::dev::prelude - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
-    fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; + fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; }
Expand description

Create database connection

Required Associated Types§

database specific pool-type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/trait.DBOps.html b/db_sqlx_maria/dev/dev/prelude/trait.DBOps.html index 96260098..5342f694 100644 --- a/db_sqlx_maria/dev/dev/prelude/trait.DBOps.html +++ b/db_sqlx_maria/dev/dev/prelude/trait.DBOps.html @@ -1,2 +1,2 @@ DBOps in db_sqlx_maria::dev::dev::prelude - Rust
pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/trait.GetConnection.html b/db_sqlx_maria/dev/dev/prelude/trait.GetConnection.html index 4a0501fd..bbe0bcb1 100644 --- a/db_sqlx_maria/dev/dev/prelude/trait.GetConnection.html +++ b/db_sqlx_maria/dev/dev/prelude/trait.GetConnection.html @@ -1,9 +1,9 @@ GetConnection in db_sqlx_maria::dev::dev::prelude - Rust
pub trait GetConnection {
     type Conn;
 
-    fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Get database connection

Required Associated Types§

database connection type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type get connection from connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/trait.MCDatabase.html b/db_sqlx_maria/dev/dev/prelude/trait.MCDatabase.html index f81f3a2a..a63ce1af 100644 --- a/db_sqlx_maria/dev/dev/prelude/trait.MCDatabase.html +++ b/db_sqlx_maria/dev/dev/prelude/trait.MCDatabase.html @@ -1,76 +1,76 @@ -MCDatabase in db_sqlx_maria::dev::dev::prelude - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
-
Show 36 methods fn ping<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; - fn register<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 Register<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn delete_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn username_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn email_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        email: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 UpdateEmail<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        l: &'life1 Login<'_>
    ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 NameHash
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_username<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        current: &'life1 str,
        new: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_secret_from_captcha<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_secret<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        secret: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn create_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_all_user_captchas<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        old_key: &'life2 str,
        new_key: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        levels: &'life3 [Level]
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_cooldown<'life0, 'life1, 'async_trait>(
        &'life0 self,
        captcha_key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        pattern: &'life3 TrafficPattern
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn create_notification<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 AddNotification<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn mark_notification_read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        id: i32
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_solve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_confirm<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; +MCDatabase in db_sqlx_maria::dev::dev::prelude - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
+
Show 36 methods fn ping<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn register<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 Register<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn delete_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn username_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn email_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        email: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 UpdateEmail<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        l: &'life1 Login<'_>
    ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 NameHash
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_username<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        current: &'life1 str,
        new: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_secret_from_captcha<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_secret<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        secret: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn create_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_all_user_captchas<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        old_key: &'life2 str,
        new_key: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        levels: &'life3 [Level]
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_cooldown<'life0, 'life1, 'async_trait>(
        &'life0 self,
        captcha_key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        pattern: &'life3 TrafficPattern
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn create_notification<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 AddNotification<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn mark_notification_read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        id: i32
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_solve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_confirm<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
}
Expand description

mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.

-

Required Methods§

ping DB

-

register a new user

-

delete a user

-

check if username exists

-

get user email

-

check if email exists

-

update a user’s email

-

get a user’s password

-

update user’s password

-

update username

-

get a user’s secret

-

get a user’s secret from a captcha key

-

update a user’s secret

-

create new captcha

-

Get captcha config

-

Get all captchas belonging to user

-

update captcha metadata; doesn’t change captcha key

-

update captcha key; doesn’t change metadata

-

Add levels to captcha

-

check if captcha exists

-

Delete all levels of a captcha

-

Delete captcha

-

Get captcha levels

-

Get captcha’s cooldown period

-

Add traffic configuration

-

Get traffic configuration

-

Delete traffic configuration

-

create new notification

-

get all unread notifications

-

mark a notification read

-

record PoWConfig fetches

-

record PoWConfig solves

-

record PoWConfig confirms

-

fetch PoWConfig fetches

-

fetch PoWConfig solves

-

fetch PoWConfig confirms

-

Implementors§

\ No newline at end of file +

Required Methods§

ping DB

+

register a new user

+

delete a user

+

check if username exists

+

get user email

+

check if email exists

+

update a user’s email

+

get a user’s password

+

update user’s password

+

update username

+

get a user’s secret

+

get a user’s secret from a captcha key

+

update a user’s secret

+

create new captcha

+

Get captcha config

+

Get all captchas belonging to user

+

update captcha metadata; doesn’t change captcha key

+

update captcha key; doesn’t change metadata

+

Add levels to captcha

+

check if captcha exists

+

Delete all levels of a captcha

+

Delete captcha

+

Get captcha levels

+

Get captcha’s cooldown period

+

Add traffic configuration

+

Get traffic configuration

+

Delete traffic configuration

+

create new notification

+

get all unread notifications

+

mark a notification read

+

record PoWConfig fetches

+

record PoWConfig solves

+

record PoWConfig confirms

+

fetch PoWConfig fetches

+

fetch PoWConfig solves

+

fetch PoWConfig confirms

+

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/trait.Migrate.html b/db_sqlx_maria/dev/dev/prelude/trait.Migrate.html index 60c2bbc3..31dc904a 100644 --- a/db_sqlx_maria/dev/dev/prelude/trait.Migrate.html +++ b/db_sqlx_maria/dev/dev/prelude/trait.Migrate.html @@ -1,6 +1,6 @@ Migrate in db_sqlx_maria::dev::dev::prelude - Rust
pub trait Migrate: MCDatabase {
-    fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

database migrations

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/type.BoxDynError.html b/db_sqlx_maria/dev/dev/prelude/type.BoxDynError.html index 64db7f8c..4716ca65 100644 --- a/db_sqlx_maria/dev/dev/prelude/type.BoxDynError.html +++ b/db_sqlx_maria/dev/dev/prelude/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_maria::dev::dev::prelude - Rust

Type Definition db_sqlx_maria::dev::dev::prelude::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

-
\ No newline at end of file +BoxDynError in db_sqlx_maria::dev::dev::prelude - Rust

Type Definition db_sqlx_maria::dev::dev::prelude::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

+
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/type.DBResult.html b/db_sqlx_maria/dev/dev/prelude/type.DBResult.html index afdfcc1b..e4e743b1 100644 --- a/db_sqlx_maria/dev/dev/prelude/type.DBResult.html +++ b/db_sqlx_maria/dev/dev/prelude/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_maria::dev::dev::prelude - Rust

Type Definition db_sqlx_maria::dev::dev::prelude::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

-
\ No newline at end of file +DBResult in db_sqlx_maria::dev::dev::prelude - Rust

Type Definition db_sqlx_maria::dev::dev::prelude::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

+
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/struct.AddNotification.html b/db_sqlx_maria/dev/dev/struct.AddNotification.html index 889e25ec..70c4a706 100644 --- a/db_sqlx_maria/dev/dev/struct.AddNotification.html +++ b/db_sqlx_maria/dev/dev/struct.AddNotification.html @@ -1,21 +1,21 @@ AddNotification in db_sqlx_maria::dev::dev - Rust
pub struct AddNotification<'a> {
-    pub to: &'a str,
-    pub from: &'a str,
-    pub heading: &'a str,
-    pub message: &'a str,
+    pub to: &'a str,
+    pub from: &'a str,
+    pub heading: &'a str,
+    pub message: &'a str,
 }
Expand description

Data required to add notification

-

Fields§

§to: &'a str

who is the notification addressed to?

-
§from: &'a str

notification sender

-
§heading: &'a str

heading of the notification

-
§message: &'a str

message of the notification

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§to: &'a str

who is the notification addressed to?

+
§from: &'a str

notification sender

+
§heading: &'a str

heading of the notification

+
§message: &'a str

message of the notification

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/struct.Captcha.html b/db_sqlx_maria/dev/dev/struct.Captcha.html index 80ca2461..ad7fecae 100644 --- a/db_sqlx_maria/dev/dev/struct.Captcha.html +++ b/db_sqlx_maria/dev/dev/struct.Captcha.html @@ -1,21 +1,21 @@ Captcha in db_sqlx_maria::dev::dev - Rust

Struct db_sqlx_maria::dev::dev::Captcha

pub struct Captcha {
-    pub config_id: i32,
-    pub duration: i32,
-    pub description: String,
-    pub key: String,
+    pub config_id: i32,
+    pub duration: i32,
+    pub description: String,
+    pub key: String,
 }
Expand description

Data representing a captcha

-

Fields§

§config_id: i32

Database assigned ID

-
§duration: i32

cool down duration

-
§description: String

description of the captcha

-
§key: String

secret key of the captcha

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§config_id: i32

Database assigned ID

+
§duration: i32

cool down duration

+
§description: String

description of the captcha

+
§key: String

secret key of the captcha

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/struct.CreateCaptcha.html b/db_sqlx_maria/dev/dev/struct.CreateCaptcha.html index ad664f19..4b3a2d99 100644 --- a/db_sqlx_maria/dev/dev/struct.CreateCaptcha.html +++ b/db_sqlx_maria/dev/dev/struct.CreateCaptcha.html @@ -1,19 +1,19 @@ CreateCaptcha in db_sqlx_maria::dev::dev - Rust
pub struct CreateCaptcha<'a> {
-    pub duration: i32,
-    pub description: &'a str,
-    pub key: &'a str,
+    pub duration: i32,
+    pub description: &'a str,
+    pub key: &'a str,
 }
Expand description

data required to create new captcha

-

Fields§

§duration: i32

cool down duration

-
§description: &'a str

description of the captcha

-
§key: &'a str

secret key of the captcha

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§duration: i32

cool down duration

+
§description: &'a str

description of the captcha

+
§key: &'a str

secret key of the captcha

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/struct.Level.html b/db_sqlx_maria/dev/dev/struct.Level.html index b7b4f550..95c2a3a6 100644 --- a/db_sqlx_maria/dev/dev/struct.Level.html +++ b/db_sqlx_maria/dev/dev/struct.Level.html @@ -1,15 +1,15 @@ Level in db_sqlx_maria::dev::dev - Rust

Struct db_sqlx_maria::dev::dev::Level

pub struct Level {
-    pub visitor_threshold: u32,
-    pub difficulty_factor: u32,
+    pub visitor_threshold: u32,
+    pub difficulty_factor: u32,
 }
Expand description

Level struct that describes threshold-difficulty factor mapping

-

Fields§

§visitor_threshold: u32§difficulty_factor: u32

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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§visitor_threshold: u32§difficulty_factor: u32

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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/struct.NameHash.html b/db_sqlx_maria/dev/dev/struct.NameHash.html index 52be3a4a..5c6d8b49 100644 --- a/db_sqlx_maria/dev/dev/struct.NameHash.html +++ b/db_sqlx_maria/dev/dev/struct.NameHash.html @@ -1,17 +1,17 @@ NameHash in db_sqlx_maria::dev::dev - Rust

Struct db_sqlx_maria::dev::dev::NameHash

pub struct NameHash {
-    pub username: String,
-    pub hash: String,
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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

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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/struct.Notification.html b/db_sqlx_maria/dev/dev/struct.Notification.html index 73197a5e..c9fc80cc 100644 --- a/db_sqlx_maria/dev/dev/struct.Notification.html +++ b/db_sqlx_maria/dev/dev/struct.Notification.html @@ -1,23 +1,23 @@ Notification in db_sqlx_maria::dev::dev - Rust
pub struct Notification {
-    pub name: Option<String>,
-    pub heading: Option<String>,
-    pub message: Option<String>,
-    pub received: Option<i64>,
-    pub id: Option<i32>,
+    pub name: Option<String>,
+    pub heading: Option<String>,
+    pub message: Option<String>,
+    pub received: Option<i64>,
+    pub id: Option<i32>,
 }
Expand description

Represents notification

-

Fields§

§name: Option<String>

receiver name of the notification

-
§heading: Option<String>

heading of the notification

-
§message: Option<String>

message of the notification

-
§received: Option<i64>

when notification was received

-
§id: Option<i32>

db assigned ID of the notification

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§name: Option<String>

receiver name of the notification

+
§heading: Option<String>

heading of the notification

+
§message: Option<String>

message of the notification

+
§received: Option<i64>

when notification was received

+
§id: Option<i32>

db assigned ID of the notification

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/struct.Register.html b/db_sqlx_maria/dev/dev/struct.Register.html index 8de1e66d..f3488f91 100644 --- a/db_sqlx_maria/dev/dev/struct.Register.html +++ b/db_sqlx_maria/dev/dev/struct.Register.html @@ -1,21 +1,21 @@ Register in db_sqlx_maria::dev::dev - Rust

Struct db_sqlx_maria::dev::dev::Register

pub struct Register<'a> {
-    pub username: &'a str,
-    pub secret: &'a str,
-    pub hash: &'a str,
-    pub email: Option<&'a str>,
+    pub username: &'a str,
+    pub secret: &'a str,
+    pub hash: &'a str,
+    pub email: Option<&'a str>,
 }
Expand description

Data required to register a new user

-

Fields§

§username: &'a str

username of new user

-
§secret: &'a str

secret of new user

-
§hash: &'a str

hashed password of new use

-
§email: Option<&'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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: &'a str

username of new user

+
§secret: &'a str

secret of new user

+
§hash: &'a str

hashed password of new use

+
§email: Option<&'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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/struct.Secret.html b/db_sqlx_maria/dev/dev/struct.Secret.html index e3af17a6..3065fd0f 100644 --- a/db_sqlx_maria/dev/dev/struct.Secret.html +++ b/db_sqlx_maria/dev/dev/struct.Secret.html @@ -1,15 +1,15 @@ Secret in db_sqlx_maria::dev::dev - Rust

Struct db_sqlx_maria::dev::dev::Secret

pub struct Secret {
-    pub secret: String,
+    pub secret: String,
 }
Expand description

datastructure representing a user’s secret

-

Fields§

§secret: String

user’s secret

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: String

user’s secret

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/struct.StatsUnixTimestamp.html b/db_sqlx_maria/dev/dev/struct.StatsUnixTimestamp.html index ec817c57..8741887b 100644 --- a/db_sqlx_maria/dev/dev/struct.StatsUnixTimestamp.html +++ b/db_sqlx_maria/dev/dev/struct.StatsUnixTimestamp.html @@ -1,19 +1,19 @@ StatsUnixTimestamp in db_sqlx_maria::dev::dev - Rust
pub struct StatsUnixTimestamp {
-    pub config_fetches: Vec<i64, Global>,
-    pub solves: Vec<i64, Global>,
-    pub confirms: Vec<i64, Global>,
+    pub config_fetches: Vec<i64, Global>,
+    pub solves: Vec<i64, Global>,
+    pub confirms: Vec<i64, Global>,
 }
Expand description

Captcha statistics with time recorded in UNIX epoch formats

-

Fields§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

-
§solves: Vec<i64, Global>

times at which the PoW was solved

-
§confirms: Vec<i64, Global>

times at which the PoW token was verified

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

+
§solves: Vec<i64, Global>

times at which the PoW was solved

+
§confirms: Vec<i64, Global>

times at which the PoW token was verified

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/struct.TrafficPattern.html b/db_sqlx_maria/dev/dev/struct.TrafficPattern.html index 4d45ef1d..0542ab71 100644 --- a/db_sqlx_maria/dev/dev/struct.TrafficPattern.html +++ b/db_sqlx_maria/dev/dev/struct.TrafficPattern.html @@ -1,19 +1,19 @@ TrafficPattern in db_sqlx_maria::dev::dev - Rust
pub struct TrafficPattern {
-    pub avg_traffic: u32,
-    pub peak_sustainable_traffic: u32,
-    pub broke_my_site_traffic: Option<u32>,
+    pub avg_traffic: u32,
+    pub peak_sustainable_traffic: u32,
+    pub broke_my_site_traffic: Option<u32>,
 }
Expand description

User’s traffic pattern; used in generating a captcha configuration

-

Fields§

§avg_traffic: u32

average traffic of user’s website

-
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

-
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§avg_traffic: u32

average traffic of user’s website

+
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

+
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/struct.UpdateEmail.html b/db_sqlx_maria/dev/dev/struct.UpdateEmail.html index 807c6045..499a1a04 100644 --- a/db_sqlx_maria/dev/dev/struct.UpdateEmail.html +++ b/db_sqlx_maria/dev/dev/struct.UpdateEmail.html @@ -1,17 +1,17 @@ UpdateEmail in db_sqlx_maria::dev::dev - Rust
pub struct UpdateEmail<'a> {
-    pub username: &'a str,
-    pub new_email: &'a str,
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: &'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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/tests/fn.database_works.html b/db_sqlx_maria/dev/dev/tests/fn.database_works.html index a60bb71c..9044eb68 100644 --- a/db_sqlx_maria/dev/dev/tests/fn.database_works.html +++ b/db_sqlx_maria/dev/dev/tests/fn.database_works.html @@ -1,2 +1,2 @@ -database_works in db_sqlx_maria::dev::dev::tests - Rust
pub async fn database_works<T, 'a>(
    db: &T,
    p: &Register<'a>,
    c: &CreateCaptcha<'a>,
    l: &[Level],
    tp: &TrafficPattern,
    an: &AddNotification<'a>
) -> impl Future<Output = ()>where
    T: MCDatabase,
Expand description

test all database functions

-
\ No newline at end of file +database_works in db_sqlx_maria::dev::dev::tests - Rust
pub async fn database_works<T, 'a>(
    db: &T,
    p: &Register<'a>,
    c: &CreateCaptcha<'a>,
    l: &[Level],
    tp: &TrafficPattern,
    an: &AddNotification<'a>
) -> impl Future<Output = ()>where
    T: MCDatabase,
Expand description

test all database functions

+
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/tests/index.html b/db_sqlx_maria/dev/dev/tests/index.html index 23a1b492..d4f6d0c8 100644 --- a/db_sqlx_maria/dev/dev/tests/index.html +++ b/db_sqlx_maria/dev/dev/tests/index.html @@ -1,2 +1,2 @@ db_sqlx_maria::dev::dev::tests - Rust

Module db_sqlx_maria::dev::dev::tests

Expand description

Test utilities

-

Functions

test all database functions
\ No newline at end of file +

Functions

test all database functions
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/trait.CloneSPDatabase.html b/db_sqlx_maria/dev/dev/trait.CloneSPDatabase.html index 48a1c696..5a80f190 100644 --- a/db_sqlx_maria/dev/dev/trait.CloneSPDatabase.html +++ b/db_sqlx_maria/dev/dev/trait.CloneSPDatabase.html @@ -1,5 +1,5 @@ CloneSPDatabase in db_sqlx_maria::dev::dev - Rust
pub trait CloneSPDatabase {
-    fn clone_db(&self) -> Box<dyn MCDatabase + 'static, Global>;
+    fn clone_db(&self) -> Box<dyn MCDatabase + 'static, Global>;
 }
Expand description

Trait to clone MCDatabase

-

Required Methods§

clone DB

-

Implementors§

\ No newline at end of file +

Required Methods§

clone DB

+

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/trait.Connect.html b/db_sqlx_maria/dev/dev/trait.Connect.html index 3131475c..56a94297 100644 --- a/db_sqlx_maria/dev/dev/trait.Connect.html +++ b/db_sqlx_maria/dev/dev/trait.Connect.html @@ -1,9 +1,9 @@ Connect in db_sqlx_maria::dev::dev - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
-    fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; + fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; }
Expand description

Create database connection

Required Associated Types§

database specific pool-type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/trait.DBOps.html b/db_sqlx_maria/dev/dev/trait.DBOps.html index 93f0fe9b..32511b8f 100644 --- a/db_sqlx_maria/dev/dev/trait.DBOps.html +++ b/db_sqlx_maria/dev/dev/trait.DBOps.html @@ -1,2 +1,2 @@ DBOps in db_sqlx_maria::dev::dev - Rust

Trait db_sqlx_maria::dev::dev::DBOps

pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/trait.GetConnection.html b/db_sqlx_maria/dev/dev/trait.GetConnection.html index 183f6dea..7266eeb8 100644 --- a/db_sqlx_maria/dev/dev/trait.GetConnection.html +++ b/db_sqlx_maria/dev/dev/trait.GetConnection.html @@ -1,9 +1,9 @@ GetConnection in db_sqlx_maria::dev::dev - Rust
pub trait GetConnection {
     type Conn;
 
-    fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Get database connection

Required Associated Types§

database connection type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type get connection from connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/trait.MCDatabase.html b/db_sqlx_maria/dev/dev/trait.MCDatabase.html index ac7bf935..81fb9831 100644 --- a/db_sqlx_maria/dev/dev/trait.MCDatabase.html +++ b/db_sqlx_maria/dev/dev/trait.MCDatabase.html @@ -1,76 +1,76 @@ -MCDatabase in db_sqlx_maria::dev::dev - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
-
Show 36 methods fn ping<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; - fn register<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 Register<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn delete_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn username_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn email_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        email: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 UpdateEmail<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        l: &'life1 Login<'_>
    ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 NameHash
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_username<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        current: &'life1 str,
        new: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_secret_from_captcha<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_secret<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        secret: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn create_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_all_user_captchas<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        old_key: &'life2 str,
        new_key: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        levels: &'life3 [Level]
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_cooldown<'life0, 'life1, 'async_trait>(
        &'life0 self,
        captcha_key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        pattern: &'life3 TrafficPattern
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn create_notification<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 AddNotification<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn mark_notification_read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        id: i32
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_solve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_confirm<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; +MCDatabase in db_sqlx_maria::dev::dev - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
+
Show 36 methods fn ping<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn register<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 Register<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn delete_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn username_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn email_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        email: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 UpdateEmail<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        l: &'life1 Login<'_>
    ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 NameHash
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_username<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        current: &'life1 str,
        new: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_secret_from_captcha<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_secret<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        secret: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn create_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_all_user_captchas<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        old_key: &'life2 str,
        new_key: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        levels: &'life3 [Level]
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_cooldown<'life0, 'life1, 'async_trait>(
        &'life0 self,
        captcha_key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        pattern: &'life3 TrafficPattern
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn create_notification<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 AddNotification<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn mark_notification_read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        id: i32
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_solve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_confirm<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
}
Expand description

mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.

-

Required Methods§

ping DB

-

register a new user

-

delete a user

-

check if username exists

-

get user email

-

check if email exists

-

update a user’s email

-

get a user’s password

-

update user’s password

-

update username

-

get a user’s secret

-

get a user’s secret from a captcha key

-

update a user’s secret

-

create new captcha

-

Get captcha config

-

Get all captchas belonging to user

-

update captcha metadata; doesn’t change captcha key

-

update captcha key; doesn’t change metadata

-

Add levels to captcha

-

check if captcha exists

-

Delete all levels of a captcha

-

Delete captcha

-

Get captcha levels

-

Get captcha’s cooldown period

-

Add traffic configuration

-

Get traffic configuration

-

Delete traffic configuration

-

create new notification

-

get all unread notifications

-

mark a notification read

-

record PoWConfig fetches

-

record PoWConfig solves

-

record PoWConfig confirms

-

fetch PoWConfig fetches

-

fetch PoWConfig solves

-

fetch PoWConfig confirms

-

Implementors§

\ No newline at end of file +

Required Methods§

ping DB

+

register a new user

+

delete a user

+

check if username exists

+

get user email

+

check if email exists

+

update a user’s email

+

get a user’s password

+

update user’s password

+

update username

+

get a user’s secret

+

get a user’s secret from a captcha key

+

update a user’s secret

+

create new captcha

+

Get captcha config

+

Get all captchas belonging to user

+

update captcha metadata; doesn’t change captcha key

+

update captcha key; doesn’t change metadata

+

Add levels to captcha

+

check if captcha exists

+

Delete all levels of a captcha

+

Delete captcha

+

Get captcha levels

+

Get captcha’s cooldown period

+

Add traffic configuration

+

Get traffic configuration

+

Delete traffic configuration

+

create new notification

+

get all unread notifications

+

mark a notification read

+

record PoWConfig fetches

+

record PoWConfig solves

+

record PoWConfig confirms

+

fetch PoWConfig fetches

+

fetch PoWConfig solves

+

fetch PoWConfig confirms

+

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/trait.Migrate.html b/db_sqlx_maria/dev/dev/trait.Migrate.html index ea97bbc4..d4698eb8 100644 --- a/db_sqlx_maria/dev/dev/trait.Migrate.html +++ b/db_sqlx_maria/dev/dev/trait.Migrate.html @@ -1,6 +1,6 @@ Migrate in db_sqlx_maria::dev::dev - Rust
pub trait Migrate: MCDatabase {
-    fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

database migrations

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/type.BoxDynError.html b/db_sqlx_maria/dev/dev/type.BoxDynError.html index fbbc6e4d..5e5fde72 100644 --- a/db_sqlx_maria/dev/dev/type.BoxDynError.html +++ b/db_sqlx_maria/dev/dev/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_maria::dev::dev - Rust

Type Definition db_sqlx_maria::dev::dev::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

-
\ No newline at end of file +BoxDynError in db_sqlx_maria::dev::dev - Rust

Type Definition db_sqlx_maria::dev::dev::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

+
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/type.DBResult.html b/db_sqlx_maria/dev/dev/type.DBResult.html index 0dc460b9..df505b67 100644 --- a/db_sqlx_maria/dev/dev/type.DBResult.html +++ b/db_sqlx_maria/dev/dev/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_maria::dev::dev - Rust

Type Definition db_sqlx_maria::dev::dev::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

-
\ No newline at end of file +DBResult in db_sqlx_maria::dev::dev - Rust

Type Definition db_sqlx_maria::dev::dev::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

+
\ No newline at end of file diff --git a/db_sqlx_maria/dev/enum.DBError.html b/db_sqlx_maria/dev/enum.DBError.html index e844f426..362fad48 100644 --- a/db_sqlx_maria/dev/enum.DBError.html +++ b/db_sqlx_maria/dev/enum.DBError.html @@ -1,5 +1,5 @@ DBError in db_sqlx_maria::dev - Rust
pub enum DBError {
-    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
+    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
     UsernameTaken,
     EmailTaken,
     SecretTaken,
@@ -9,7 +9,7 @@
     TrafficPatternNotFound,
     NotificationNotFound,
 }
Expand description

Error data structure grouping various error subtypes

-

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

+

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

§

UsernameTaken

Username is taken

§

EmailTaken

Email is taken

§

SecretTaken

Secret is taken

@@ -18,13 +18,13 @@
§

CaptchaNotFound

Captcha not found

§

TrafficPatternNotFound

Traffic pattern not found

§

NotificationNotFound

Notification not found

-

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

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§

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

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

+Instrumented wrapper. Read more

Calls U::from(self).

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 +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 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/db_sqlx_maria/dev/enum.Error.html b/db_sqlx_maria/dev/enum.Error.html index de524a45..26b683dd 100644 --- a/db_sqlx_maria/dev/enum.Error.html +++ b/db_sqlx_maria/dev/enum.Error.html @@ -1,53 +1,53 @@ Error in db_sqlx_maria::dev - Rust

Enum db_sqlx_maria::dev::Error

#[non_exhaustive]
 pub enum Error {
-
Show 15 variants Configuration(Box<dyn Error + Sync + Send + 'static, Global>), - Database(Box<dyn DatabaseError + 'static, Global>), - Io(Error), - Tls(Box<dyn Error + Sync + Send + 'static, Global>), - Protocol(String), +
Show 15 variants Configuration(Box<dyn Error + Sync + Send + 'static, Global>), + Database(Box<dyn DatabaseError + 'static, Global>), + Io(Error), + Tls(Box<dyn Error + Sync + Send + 'static, Global>), + Protocol(String), RowNotFound, TypeNotFound { - type_name: String, + type_name: String, }, ColumnIndexOutOfBounds { - index: usize, - len: usize, + index: usize, + len: usize, }, - ColumnNotFound(String), + ColumnNotFound(String), ColumnDecode { - index: String, - source: Box<dyn Error + Sync + Send + 'static, Global>, + index: String, + source: Box<dyn Error + Sync + Send + 'static, Global>, }, - Decode(Box<dyn Error + Sync + Send + 'static, Global>), + Decode(Box<dyn Error + Sync + Send + 'static, Global>), PoolTimedOut, PoolClosed, WorkerCrashed, - Migrate(Box<MigrateError, Global>), + Migrate(Box<MigrateError, Global>),
}
Expand description

Represents all the ways a method can fail within SQLx.

-

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

Configuration(Box<dyn Error + Sync + Send + 'static, Global>)

Error occurred while parsing a connection string.

-
§

Database(Box<dyn DatabaseError + 'static, Global>)

Error returned from the database.

-
§

Io(Error)

Error communicating with the database backend.

-
§

Tls(Box<dyn Error + Sync + Send + 'static, Global>)

Error occurred while attempting to establish a TLS connection.

-
§

Protocol(String)

Unexpected or invalid data encountered while communicating with the database.

+

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

Configuration(Box<dyn Error + Sync + Send + 'static, Global>)

Error occurred while parsing a connection string.

+
§

Database(Box<dyn DatabaseError + 'static, Global>)

Error returned from the database.

+
§

Io(Error)

Error communicating with the database backend.

+
§

Tls(Box<dyn Error + Sync + Send + 'static, Global>)

Error occurred while attempting to establish a TLS connection.

+
§

Protocol(String)

Unexpected or invalid data encountered while communicating with the database.

This should indicate there is a programming error in a SQLx driver or there is something corrupted with the connection to the database itself.

§

RowNotFound

No rows returned by a query that expected to return at least one row.

-
§

TypeNotFound

Fields

§type_name: String

Type in query doesn’t exist. Likely due to typo or missing user type.

-
§

ColumnIndexOutOfBounds

Fields

§index: usize
§len: usize

Column index was out of bounds.

-
§

ColumnNotFound(String)

No column found for the given name.

-
§

ColumnDecode

Fields

§index: String
§source: Box<dyn Error + Sync + Send + 'static, Global>

Error occurred while decoding a value from a specific column.

-
§

Decode(Box<dyn Error + Sync + Send + 'static, Global>)

Error occurred while decoding a value.

+
§

TypeNotFound

Fields

§type_name: String

Type in query doesn’t exist. Likely due to typo or missing user type.

+
§

ColumnIndexOutOfBounds

Fields

§index: usize
§len: usize

Column index was out of bounds.

+
§

ColumnNotFound(String)

No column found for the given name.

+
§

ColumnDecode

Fields

§index: String
§source: Box<dyn Error + Sync + Send + 'static, Global>

Error occurred while decoding a value from a specific column.

+
§

Decode(Box<dyn Error + Sync + Send + 'static, Global>)

Error occurred while decoding a value.

§

PoolTimedOut

A Pool::acquire timed out due to connections not becoming available or because another task encountered too many errors while trying to open a new connection.

§

PoolClosed

Pool::close was called while we were waiting in Pool::acquire.

§

WorkerCrashed

A background worker has crashed.

-
§

Migrate(Box<MigrateError, Global>)

Implementations§

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.

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.

+
§

Migrate(Box<MigrateError, Global>)

Implementations§

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.

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

+Instrumented wrapper. Read more

Calls U::from(self).

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 +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 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/db_sqlx_maria/dev/enum.Login.html b/db_sqlx_maria/dev/enum.Login.html index 385ed2de..cf18d10c 100644 --- a/db_sqlx_maria/dev/enum.Login.html +++ b/db_sqlx_maria/dev/enum.Login.html @@ -1,17 +1,17 @@ Login in db_sqlx_maria::dev - Rust

Enum db_sqlx_maria::dev::Login

pub enum Login<'a> {
-    Username(&'a str),
-    Email(&'a str),
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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.

+

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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/errors/enum.DBError.html b/db_sqlx_maria/dev/errors/enum.DBError.html index 35f8087f..5e39f6cb 100644 --- a/db_sqlx_maria/dev/errors/enum.DBError.html +++ b/db_sqlx_maria/dev/errors/enum.DBError.html @@ -1,5 +1,5 @@ DBError in db_sqlx_maria::dev::errors - Rust
pub enum DBError {
-    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
+    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
     UsernameTaken,
     EmailTaken,
     SecretTaken,
@@ -9,7 +9,7 @@
     TrafficPatternNotFound,
     NotificationNotFound,
 }
Expand description

Error data structure grouping various error subtypes

-

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

+

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

§

UsernameTaken

Username is taken

§

EmailTaken

Email is taken

§

SecretTaken

Secret is taken

@@ -18,13 +18,13 @@
§

CaptchaNotFound

Captcha not found

§

TrafficPatternNotFound

Traffic pattern not found

§

NotificationNotFound

Notification not found

-

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

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§

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

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

+Instrumented wrapper. Read more

Calls U::from(self).

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 +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 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/db_sqlx_maria/dev/errors/index.html b/db_sqlx_maria/dev/errors/index.html index 6d945142..b7629503 100644 --- a/db_sqlx_maria/dev/errors/index.html +++ b/db_sqlx_maria/dev/errors/index.html @@ -1,2 +1,2 @@ db_sqlx_maria::dev::errors - Rust

Module db_sqlx_maria::dev::errors

Expand description

represents all the ways a trait can fail using this crate

-

Enums

Error data structure grouping various error subtypes

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure
\ No newline at end of file +

Enums

Error data structure grouping various error subtypes

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure
\ No newline at end of file diff --git a/db_sqlx_maria/dev/errors/type.BoxDynError.html b/db_sqlx_maria/dev/errors/type.BoxDynError.html index dc4aa9b1..0f371bf3 100644 --- a/db_sqlx_maria/dev/errors/type.BoxDynError.html +++ b/db_sqlx_maria/dev/errors/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_maria::dev::errors - Rust

Type Definition db_sqlx_maria::dev::errors::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

-
\ No newline at end of file +BoxDynError in db_sqlx_maria::dev::errors - Rust

Type Definition db_sqlx_maria::dev::errors::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

+
\ No newline at end of file diff --git a/db_sqlx_maria/dev/errors/type.DBResult.html b/db_sqlx_maria/dev/errors/type.DBResult.html index 33095acf..9de11dac 100644 --- a/db_sqlx_maria/dev/errors/type.DBResult.html +++ b/db_sqlx_maria/dev/errors/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_maria::dev::errors - Rust

Type Definition db_sqlx_maria::dev::errors::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

-
\ No newline at end of file +DBResult in db_sqlx_maria::dev::errors - Rust

Type Definition db_sqlx_maria::dev::errors::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

+
\ No newline at end of file diff --git a/db_sqlx_maria/dev/index.html b/db_sqlx_maria/dev/index.html index bc650592..a3bf5060 100644 --- a/db_sqlx_maria/dev/index.html +++ b/db_sqlx_maria/dev/index.html @@ -1,2 +1,2 @@ db_sqlx_maria::dev - Rust

Module db_sqlx_maria::dev

source ·

Re-exports

pub use super::Database;
pub use super::errors::*;

Modules

useful imports for supporting a new database
represents all the ways a trait can fail using this crate
meta operations like migration and connecting to a database
useful imports for users working with a supported database
Test utilities

Structs

Data required to add notification
Data representing a captcha
data required to create new captcha
Level struct that describes threshold-difficulty factor mapping
type encapsulating username and hashed password of a user
Represents notification
Data required to register a new user
datastructure representing a user’s secret
Captcha statistics with time recorded in UNIX epoch formats
User’s traffic pattern; used in generating a captcha configuration
data required to update them email of a user

Enums

Error data structure grouping various error subtypes
Represents all the ways a method can fail within SQLx.
types of credentials used as identifiers during login

Traits

Trait to clone MCDatabase
Create database connection
Database operations trait(migrations, pool creation and fetching connection from pool)
Get database connection
mCaptcha’s database requirements. To implement support for $Database, kindly implement this -trait.
database migrations

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure

Attribute Macros

\ No newline at end of file +trait.
database migrations

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure

Attribute Macros

\ No newline at end of file diff --git a/db_sqlx_maria/dev/ops/index.html b/db_sqlx_maria/dev/ops/index.html index b67a324d..4a5411a5 100644 --- a/db_sqlx_maria/dev/ops/index.html +++ b/db_sqlx_maria/dev/ops/index.html @@ -1,2 +1,2 @@ db_sqlx_maria::dev::ops - Rust

Module db_sqlx_maria::dev::ops

Expand description

meta operations like migration and connecting to a database

-

Traits

Create database connection
Database operations trait(migrations, pool creation and fetching connection from pool)
Get database connection
database migrations
\ No newline at end of file +

Traits

Create database connection
Database operations trait(migrations, pool creation and fetching connection from pool)
Get database connection
database migrations
\ No newline at end of file diff --git a/db_sqlx_maria/dev/ops/trait.Connect.html b/db_sqlx_maria/dev/ops/trait.Connect.html index ed497667..8b636dd9 100644 --- a/db_sqlx_maria/dev/ops/trait.Connect.html +++ b/db_sqlx_maria/dev/ops/trait.Connect.html @@ -1,9 +1,9 @@ Connect in db_sqlx_maria::dev::ops - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
-    fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; + fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; }
Expand description

Create database connection

Required Associated Types§

database specific pool-type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/ops/trait.DBOps.html b/db_sqlx_maria/dev/ops/trait.DBOps.html index 44f7fabc..5785fba0 100644 --- a/db_sqlx_maria/dev/ops/trait.DBOps.html +++ b/db_sqlx_maria/dev/ops/trait.DBOps.html @@ -1,2 +1,2 @@ DBOps in db_sqlx_maria::dev::ops - Rust

Trait db_sqlx_maria::dev::ops::DBOps

pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/ops/trait.GetConnection.html b/db_sqlx_maria/dev/ops/trait.GetConnection.html index 0a7b8927..602df39e 100644 --- a/db_sqlx_maria/dev/ops/trait.GetConnection.html +++ b/db_sqlx_maria/dev/ops/trait.GetConnection.html @@ -1,9 +1,9 @@ GetConnection in db_sqlx_maria::dev::ops - Rust
pub trait GetConnection {
     type Conn;
 
-    fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Get database connection

Required Associated Types§

database connection type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type get connection from connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/ops/trait.Migrate.html b/db_sqlx_maria/dev/ops/trait.Migrate.html index d0dac2e0..8f3a7393 100644 --- a/db_sqlx_maria/dev/ops/trait.Migrate.html +++ b/db_sqlx_maria/dev/ops/trait.Migrate.html @@ -1,6 +1,6 @@ Migrate in db_sqlx_maria::dev::ops - Rust
pub trait Migrate: MCDatabase {
-    fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

database migrations

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/attr.async_trait.html b/db_sqlx_maria/dev/prelude/dev/attr.async_trait.html index 81cdb19f..a5740c3b 100644 --- a/db_sqlx_maria/dev/prelude/dev/attr.async_trait.html +++ b/db_sqlx_maria/dev/prelude/dev/attr.async_trait.html @@ -1 +1 @@ -async_trait in db_sqlx_maria::dev::prelude::dev - Rust

Attribute Macro db_sqlx_maria::dev::prelude::dev::async_trait

#[async_trait]
\ No newline at end of file +async_trait in db_sqlx_maria::dev::prelude::dev - Rust

Attribute Macro db_sqlx_maria::dev::prelude::dev::async_trait

#[async_trait]
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/enum.DBError.html b/db_sqlx_maria/dev/prelude/dev/enum.DBError.html index f072e317..2d86ab14 100644 --- a/db_sqlx_maria/dev/prelude/dev/enum.DBError.html +++ b/db_sqlx_maria/dev/prelude/dev/enum.DBError.html @@ -1,5 +1,5 @@ DBError in db_sqlx_maria::dev::prelude::dev - Rust
pub enum DBError {
-    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
+    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
     UsernameTaken,
     EmailTaken,
     SecretTaken,
@@ -9,7 +9,7 @@
     TrafficPatternNotFound,
     NotificationNotFound,
 }
Expand description

Error data structure grouping various error subtypes

-

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

+

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

§

UsernameTaken

Username is taken

§

EmailTaken

Email is taken

§

SecretTaken

Secret is taken

@@ -18,13 +18,13 @@
§

CaptchaNotFound

Captcha not found

§

TrafficPatternNotFound

Traffic pattern not found

§

NotificationNotFound

Notification not found

-

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

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§

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

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

+Instrumented wrapper. Read more

Calls U::from(self).

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 +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 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/db_sqlx_maria/dev/prelude/dev/enum.Login.html b/db_sqlx_maria/dev/prelude/dev/enum.Login.html index dcf11995..492e1d5b 100644 --- a/db_sqlx_maria/dev/prelude/dev/enum.Login.html +++ b/db_sqlx_maria/dev/prelude/dev/enum.Login.html @@ -1,17 +1,17 @@ Login in db_sqlx_maria::dev::prelude::dev - Rust
pub enum Login<'a> {
-    Username(&'a str),
-    Email(&'a str),
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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.

+

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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/index.html b/db_sqlx_maria/dev/prelude/dev/index.html index d467f0ec..e9b9802e 100644 --- a/db_sqlx_maria/dev/prelude/dev/index.html +++ b/db_sqlx_maria/dev/prelude/dev/index.html @@ -1,3 +1,3 @@ db_sqlx_maria::dev::prelude::dev - Rust

Module db_sqlx_maria::dev::prelude::dev

Expand description

useful imports for supporting a new database

Structs

Data required to add notification
Data representing a captcha
data required to create new captcha
Level struct that describes threshold-difficulty factor mapping
type encapsulating username and hashed password of a user
Represents notification
Data required to register a new user
datastructure representing a user’s secret
Captcha statistics with time recorded in UNIX epoch formats
User’s traffic pattern; used in generating a captcha configuration
data required to update them email of a user

Enums

Error data structure grouping various error subtypes
types of credentials used as identifiers during login

Traits

Trait to clone MCDatabase
Create database connection
Database operations trait(migrations, pool creation and fetching connection from pool)
Get database connection
mCaptcha’s database requirements. To implement support for $Database, kindly implement this -trait.
database migrations

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure

Attribute Macros

\ No newline at end of file +trait.
database migrations

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure

Attribute Macros

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html b/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html index 7e129d4e..573f6225 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html @@ -1,21 +1,21 @@ AddNotification in db_sqlx_maria::dev::prelude::dev - Rust
pub struct AddNotification<'a> {
-    pub to: &'a str,
-    pub from: &'a str,
-    pub heading: &'a str,
-    pub message: &'a str,
+    pub to: &'a str,
+    pub from: &'a str,
+    pub heading: &'a str,
+    pub message: &'a str,
 }
Expand description

Data required to add notification

-

Fields§

§to: &'a str

who is the notification addressed to?

-
§from: &'a str

notification sender

-
§heading: &'a str

heading of the notification

-
§message: &'a str

message of the notification

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§to: &'a str

who is the notification addressed to?

+
§from: &'a str

notification sender

+
§heading: &'a str

heading of the notification

+
§message: &'a str

message of the notification

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html b/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html index 745ba559..4f1737df 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html @@ -1,21 +1,21 @@ Captcha in db_sqlx_maria::dev::prelude::dev - Rust
pub struct Captcha {
-    pub config_id: i32,
-    pub duration: i32,
-    pub description: String,
-    pub key: String,
+    pub config_id: i32,
+    pub duration: i32,
+    pub description: String,
+    pub key: String,
 }
Expand description

Data representing a captcha

-

Fields§

§config_id: i32

Database assigned ID

-
§duration: i32

cool down duration

-
§description: String

description of the captcha

-
§key: String

secret key of the captcha

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§config_id: i32

Database assigned ID

+
§duration: i32

cool down duration

+
§description: String

description of the captcha

+
§key: String

secret key of the captcha

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/struct.CreateCaptcha.html b/db_sqlx_maria/dev/prelude/dev/struct.CreateCaptcha.html index d4ff8619..acd4c066 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.CreateCaptcha.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.CreateCaptcha.html @@ -1,19 +1,19 @@ CreateCaptcha in db_sqlx_maria::dev::prelude::dev - Rust
pub struct CreateCaptcha<'a> {
-    pub duration: i32,
-    pub description: &'a str,
-    pub key: &'a str,
+    pub duration: i32,
+    pub description: &'a str,
+    pub key: &'a str,
 }
Expand description

data required to create new captcha

-

Fields§

§duration: i32

cool down duration

-
§description: &'a str

description of the captcha

-
§key: &'a str

secret key of the captcha

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§duration: i32

cool down duration

+
§description: &'a str

description of the captcha

+
§key: &'a str

secret key of the captcha

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Level.html b/db_sqlx_maria/dev/prelude/dev/struct.Level.html index b3f0d97c..3230f25b 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.Level.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.Level.html @@ -1,15 +1,15 @@ Level in db_sqlx_maria::dev::prelude::dev - Rust
pub struct Level {
-    pub visitor_threshold: u32,
-    pub difficulty_factor: u32,
+    pub visitor_threshold: u32,
+    pub difficulty_factor: u32,
 }
Expand description

Level struct that describes threshold-difficulty factor mapping

-

Fields§

§visitor_threshold: u32§difficulty_factor: u32

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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§visitor_threshold: u32§difficulty_factor: u32

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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html b/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html index 7eca75de..d64eb7ef 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html @@ -1,17 +1,17 @@ NameHash in db_sqlx_maria::dev::prelude::dev - Rust
pub struct NameHash {
-    pub username: String,
-    pub hash: String,
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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

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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Notification.html b/db_sqlx_maria/dev/prelude/dev/struct.Notification.html index 8891f1ca..57138038 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.Notification.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.Notification.html @@ -1,23 +1,23 @@ Notification in db_sqlx_maria::dev::prelude::dev - Rust
pub struct Notification {
-    pub name: Option<String>,
-    pub heading: Option<String>,
-    pub message: Option<String>,
-    pub received: Option<i64>,
-    pub id: Option<i32>,
+    pub name: Option<String>,
+    pub heading: Option<String>,
+    pub message: Option<String>,
+    pub received: Option<i64>,
+    pub id: Option<i32>,
 }
Expand description

Represents notification

-

Fields§

§name: Option<String>

receiver name of the notification

-
§heading: Option<String>

heading of the notification

-
§message: Option<String>

message of the notification

-
§received: Option<i64>

when notification was received

-
§id: Option<i32>

db assigned ID of the notification

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§name: Option<String>

receiver name of the notification

+
§heading: Option<String>

heading of the notification

+
§message: Option<String>

message of the notification

+
§received: Option<i64>

when notification was received

+
§id: Option<i32>

db assigned ID of the notification

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Register.html b/db_sqlx_maria/dev/prelude/dev/struct.Register.html index 43b5b5d6..000df49c 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.Register.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.Register.html @@ -1,21 +1,21 @@ Register in db_sqlx_maria::dev::prelude::dev - Rust
pub struct Register<'a> {
-    pub username: &'a str,
-    pub secret: &'a str,
-    pub hash: &'a str,
-    pub email: Option<&'a str>,
+    pub username: &'a str,
+    pub secret: &'a str,
+    pub hash: &'a str,
+    pub email: Option<&'a str>,
 }
Expand description

Data required to register a new user

-

Fields§

§username: &'a str

username of new user

-
§secret: &'a str

secret of new user

-
§hash: &'a str

hashed password of new use

-
§email: Option<&'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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: &'a str

username of new user

+
§secret: &'a str

secret of new user

+
§hash: &'a str

hashed password of new use

+
§email: Option<&'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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Secret.html b/db_sqlx_maria/dev/prelude/dev/struct.Secret.html index 66de6d53..31447048 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.Secret.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.Secret.html @@ -1,15 +1,15 @@ Secret in db_sqlx_maria::dev::prelude::dev - Rust
pub struct Secret {
-    pub secret: String,
+    pub secret: String,
 }
Expand description

datastructure representing a user’s secret

-

Fields§

§secret: String

user’s secret

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: String

user’s secret

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/struct.StatsUnixTimestamp.html b/db_sqlx_maria/dev/prelude/dev/struct.StatsUnixTimestamp.html index f7aed88d..de45325f 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.StatsUnixTimestamp.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.StatsUnixTimestamp.html @@ -1,19 +1,19 @@ StatsUnixTimestamp in db_sqlx_maria::dev::prelude::dev - Rust
pub struct StatsUnixTimestamp {
-    pub config_fetches: Vec<i64, Global>,
-    pub solves: Vec<i64, Global>,
-    pub confirms: Vec<i64, Global>,
+    pub config_fetches: Vec<i64, Global>,
+    pub solves: Vec<i64, Global>,
+    pub confirms: Vec<i64, Global>,
 }
Expand description

Captcha statistics with time recorded in UNIX epoch formats

-

Fields§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

-
§solves: Vec<i64, Global>

times at which the PoW was solved

-
§confirms: Vec<i64, Global>

times at which the PoW token was verified

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

+
§solves: Vec<i64, Global>

times at which the PoW was solved

+
§confirms: Vec<i64, Global>

times at which the PoW token was verified

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/struct.TrafficPattern.html b/db_sqlx_maria/dev/prelude/dev/struct.TrafficPattern.html index 66594a68..f16f6d61 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.TrafficPattern.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.TrafficPattern.html @@ -1,19 +1,19 @@ TrafficPattern in db_sqlx_maria::dev::prelude::dev - Rust
pub struct TrafficPattern {
-    pub avg_traffic: u32,
-    pub peak_sustainable_traffic: u32,
-    pub broke_my_site_traffic: Option<u32>,
+    pub avg_traffic: u32,
+    pub peak_sustainable_traffic: u32,
+    pub broke_my_site_traffic: Option<u32>,
 }
Expand description

User’s traffic pattern; used in generating a captcha configuration

-

Fields§

§avg_traffic: u32

average traffic of user’s website

-
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

-
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§avg_traffic: u32

average traffic of user’s website

+
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

+
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/struct.UpdateEmail.html b/db_sqlx_maria/dev/prelude/dev/struct.UpdateEmail.html index 17c70662..c8c0d51d 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.UpdateEmail.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.UpdateEmail.html @@ -1,17 +1,17 @@ UpdateEmail in db_sqlx_maria::dev::prelude::dev - Rust
pub struct UpdateEmail<'a> {
-    pub username: &'a str,
-    pub new_email: &'a str,
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: &'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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/trait.CloneSPDatabase.html b/db_sqlx_maria/dev/prelude/dev/trait.CloneSPDatabase.html index e9746fda..ebd9df32 100644 --- a/db_sqlx_maria/dev/prelude/dev/trait.CloneSPDatabase.html +++ b/db_sqlx_maria/dev/prelude/dev/trait.CloneSPDatabase.html @@ -1,5 +1,5 @@ CloneSPDatabase in db_sqlx_maria::dev::prelude::dev - Rust
pub trait CloneSPDatabase {
-    fn clone_db(&self) -> Box<dyn MCDatabase + 'static, Global>;
+    fn clone_db(&self) -> Box<dyn MCDatabase + 'static, Global>;
 }
Expand description

Trait to clone MCDatabase

-

Required Methods§

clone DB

-

Implementors§

\ No newline at end of file +

Required Methods§

clone DB

+

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/trait.Connect.html b/db_sqlx_maria/dev/prelude/dev/trait.Connect.html index 4e08f5d7..fd919b69 100644 --- a/db_sqlx_maria/dev/prelude/dev/trait.Connect.html +++ b/db_sqlx_maria/dev/prelude/dev/trait.Connect.html @@ -1,9 +1,9 @@ Connect in db_sqlx_maria::dev::prelude::dev - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
-    fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; + fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; }
Expand description

Create database connection

Required Associated Types§

database specific pool-type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/trait.DBOps.html b/db_sqlx_maria/dev/prelude/dev/trait.DBOps.html index 92fde2dd..7b6786e8 100644 --- a/db_sqlx_maria/dev/prelude/dev/trait.DBOps.html +++ b/db_sqlx_maria/dev/prelude/dev/trait.DBOps.html @@ -1,2 +1,2 @@ DBOps in db_sqlx_maria::dev::prelude::dev - Rust
pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/trait.GetConnection.html b/db_sqlx_maria/dev/prelude/dev/trait.GetConnection.html index 57d3d6d7..e1d0b5b3 100644 --- a/db_sqlx_maria/dev/prelude/dev/trait.GetConnection.html +++ b/db_sqlx_maria/dev/prelude/dev/trait.GetConnection.html @@ -1,9 +1,9 @@ GetConnection in db_sqlx_maria::dev::prelude::dev - Rust
pub trait GetConnection {
     type Conn;
 
-    fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Get database connection

Required Associated Types§

database connection type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type get connection from connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html b/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html index 5af8578f..b53d7ede 100644 --- a/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html +++ b/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html @@ -1,76 +1,76 @@ -MCDatabase in db_sqlx_maria::dev::prelude::dev - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
-
Show 36 methods fn ping<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; - fn register<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 Register<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn delete_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn username_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn email_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        email: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 UpdateEmail<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        l: &'life1 Login<'_>
    ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 NameHash
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_username<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        current: &'life1 str,
        new: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_secret_from_captcha<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_secret<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        secret: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn create_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_all_user_captchas<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        old_key: &'life2 str,
        new_key: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        levels: &'life3 [Level]
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_cooldown<'life0, 'life1, 'async_trait>(
        &'life0 self,
        captcha_key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        pattern: &'life3 TrafficPattern
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn create_notification<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 AddNotification<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn mark_notification_read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        id: i32
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_solve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_confirm<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; +MCDatabase in db_sqlx_maria::dev::prelude::dev - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
+
Show 36 methods fn ping<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn register<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 Register<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn delete_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn username_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn email_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        email: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 UpdateEmail<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        l: &'life1 Login<'_>
    ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 NameHash
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_username<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        current: &'life1 str,
        new: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_secret_from_captcha<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_secret<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        secret: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn create_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_all_user_captchas<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        old_key: &'life2 str,
        new_key: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        levels: &'life3 [Level]
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_cooldown<'life0, 'life1, 'async_trait>(
        &'life0 self,
        captcha_key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        pattern: &'life3 TrafficPattern
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn create_notification<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 AddNotification<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn mark_notification_read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        id: i32
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_solve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_confirm<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
}
Expand description

mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.

-

Required Methods§

ping DB

-

register a new user

-

delete a user

-

check if username exists

-

get user email

-

check if email exists

-

update a user’s email

-

get a user’s password

-

update user’s password

-

update username

-

get a user’s secret

-

get a user’s secret from a captcha key

-

update a user’s secret

-

create new captcha

-

Get captcha config

-

Get all captchas belonging to user

-

update captcha metadata; doesn’t change captcha key

-

update captcha key; doesn’t change metadata

-

Add levels to captcha

-

check if captcha exists

-

Delete all levels of a captcha

-

Delete captcha

-

Get captcha levels

-

Get captcha’s cooldown period

-

Add traffic configuration

-

Get traffic configuration

-

Delete traffic configuration

-

create new notification

-

get all unread notifications

-

mark a notification read

-

record PoWConfig fetches

-

record PoWConfig solves

-

record PoWConfig confirms

-

fetch PoWConfig fetches

-

fetch PoWConfig solves

-

fetch PoWConfig confirms

-

Implementors§

\ No newline at end of file +

Required Methods§

ping DB

+

register a new user

+

delete a user

+

check if username exists

+

get user email

+

check if email exists

+

update a user’s email

+

get a user’s password

+

update user’s password

+

update username

+

get a user’s secret

+

get a user’s secret from a captcha key

+

update a user’s secret

+

create new captcha

+

Get captcha config

+

Get all captchas belonging to user

+

update captcha metadata; doesn’t change captcha key

+

update captcha key; doesn’t change metadata

+

Add levels to captcha

+

check if captcha exists

+

Delete all levels of a captcha

+

Delete captcha

+

Get captcha levels

+

Get captcha’s cooldown period

+

Add traffic configuration

+

Get traffic configuration

+

Delete traffic configuration

+

create new notification

+

get all unread notifications

+

mark a notification read

+

record PoWConfig fetches

+

record PoWConfig solves

+

record PoWConfig confirms

+

fetch PoWConfig fetches

+

fetch PoWConfig solves

+

fetch PoWConfig confirms

+

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/trait.Migrate.html b/db_sqlx_maria/dev/prelude/dev/trait.Migrate.html index 8d195fbc..89af9183 100644 --- a/db_sqlx_maria/dev/prelude/dev/trait.Migrate.html +++ b/db_sqlx_maria/dev/prelude/dev/trait.Migrate.html @@ -1,6 +1,6 @@ Migrate in db_sqlx_maria::dev::prelude::dev - Rust
pub trait Migrate: MCDatabase {
-    fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

database migrations

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/type.BoxDynError.html b/db_sqlx_maria/dev/prelude/dev/type.BoxDynError.html index 7e7f296e..7ae20b09 100644 --- a/db_sqlx_maria/dev/prelude/dev/type.BoxDynError.html +++ b/db_sqlx_maria/dev/prelude/dev/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_maria::dev::prelude::dev - Rust

Type Definition db_sqlx_maria::dev::prelude::dev::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

-
\ No newline at end of file +BoxDynError in db_sqlx_maria::dev::prelude::dev - Rust

Type Definition db_sqlx_maria::dev::prelude::dev::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

+
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/type.DBResult.html b/db_sqlx_maria/dev/prelude/dev/type.DBResult.html index 6c7d00f6..26ad9742 100644 --- a/db_sqlx_maria/dev/prelude/dev/type.DBResult.html +++ b/db_sqlx_maria/dev/prelude/dev/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_maria::dev::prelude::dev - Rust

Type Definition db_sqlx_maria::dev::prelude::dev::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

-
\ No newline at end of file +DBResult in db_sqlx_maria::dev::prelude::dev - Rust

Type Definition db_sqlx_maria::dev::prelude::dev::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

+
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/enum.DBError.html b/db_sqlx_maria/dev/prelude/enum.DBError.html index b90d7e93..1ffe51f9 100644 --- a/db_sqlx_maria/dev/prelude/enum.DBError.html +++ b/db_sqlx_maria/dev/prelude/enum.DBError.html @@ -1,5 +1,5 @@ DBError in db_sqlx_maria::dev::prelude - Rust
pub enum DBError {
-    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
+    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
     UsernameTaken,
     EmailTaken,
     SecretTaken,
@@ -9,7 +9,7 @@
     TrafficPatternNotFound,
     NotificationNotFound,
 }
Expand description

Error data structure grouping various error subtypes

-

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

+

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

§

UsernameTaken

Username is taken

§

EmailTaken

Email is taken

§

SecretTaken

Secret is taken

@@ -18,13 +18,13 @@
§

CaptchaNotFound

Captcha not found

§

TrafficPatternNotFound

Traffic pattern not found

§

NotificationNotFound

Notification not found

-

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

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§

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

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

+Instrumented wrapper. Read more

Calls U::from(self).

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 +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 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/db_sqlx_maria/dev/prelude/enum.Login.html b/db_sqlx_maria/dev/prelude/enum.Login.html index b2d35555..3bde0128 100644 --- a/db_sqlx_maria/dev/prelude/enum.Login.html +++ b/db_sqlx_maria/dev/prelude/enum.Login.html @@ -1,17 +1,17 @@ Login in db_sqlx_maria::dev::prelude - Rust
pub enum Login<'a> {
-    Username(&'a str),
-    Email(&'a str),
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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.

+

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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/index.html b/db_sqlx_maria/dev/prelude/index.html index e72a99a7..f0980cc3 100644 --- a/db_sqlx_maria/dev/prelude/index.html +++ b/db_sqlx_maria/dev/prelude/index.html @@ -1,3 +1,3 @@ db_sqlx_maria::dev::prelude - Rust

Module db_sqlx_maria::dev::prelude

Expand description

useful imports for users working with a supported database

Modules

useful imports for supporting a new database

Structs

Data required to add notification
Data representing a captcha
data required to create new captcha
Level struct that describes threshold-difficulty factor mapping
type encapsulating username and hashed password of a user
Represents notification
Data required to register a new user
datastructure representing a user’s secret
Captcha statistics with time recorded in UNIX epoch formats
User’s traffic pattern; used in generating a captcha configuration
data required to update them email of a user

Enums

Error data structure grouping various error subtypes
types of credentials used as identifiers during login

Traits

Trait to clone MCDatabase
Create database connection
Database operations trait(migrations, pool creation and fetching connection from pool)
Get database connection
mCaptcha’s database requirements. To implement support for $Database, kindly implement this -trait.
database migrations

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure
\ No newline at end of file +trait.
database migrations

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/struct.AddNotification.html b/db_sqlx_maria/dev/prelude/struct.AddNotification.html index cf5293a9..2d07aa33 100644 --- a/db_sqlx_maria/dev/prelude/struct.AddNotification.html +++ b/db_sqlx_maria/dev/prelude/struct.AddNotification.html @@ -1,21 +1,21 @@ AddNotification in db_sqlx_maria::dev::prelude - Rust
pub struct AddNotification<'a> {
-    pub to: &'a str,
-    pub from: &'a str,
-    pub heading: &'a str,
-    pub message: &'a str,
+    pub to: &'a str,
+    pub from: &'a str,
+    pub heading: &'a str,
+    pub message: &'a str,
 }
Expand description

Data required to add notification

-

Fields§

§to: &'a str

who is the notification addressed to?

-
§from: &'a str

notification sender

-
§heading: &'a str

heading of the notification

-
§message: &'a str

message of the notification

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§to: &'a str

who is the notification addressed to?

+
§from: &'a str

notification sender

+
§heading: &'a str

heading of the notification

+
§message: &'a str

message of the notification

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/struct.Captcha.html b/db_sqlx_maria/dev/prelude/struct.Captcha.html index e3eebd9a..2e333ec3 100644 --- a/db_sqlx_maria/dev/prelude/struct.Captcha.html +++ b/db_sqlx_maria/dev/prelude/struct.Captcha.html @@ -1,21 +1,21 @@ Captcha in db_sqlx_maria::dev::prelude - Rust
pub struct Captcha {
-    pub config_id: i32,
-    pub duration: i32,
-    pub description: String,
-    pub key: String,
+    pub config_id: i32,
+    pub duration: i32,
+    pub description: String,
+    pub key: String,
 }
Expand description

Data representing a captcha

-

Fields§

§config_id: i32

Database assigned ID

-
§duration: i32

cool down duration

-
§description: String

description of the captcha

-
§key: String

secret key of the captcha

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§config_id: i32

Database assigned ID

+
§duration: i32

cool down duration

+
§description: String

description of the captcha

+
§key: String

secret key of the captcha

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/struct.CreateCaptcha.html b/db_sqlx_maria/dev/prelude/struct.CreateCaptcha.html index 0fd526f5..f3d12c32 100644 --- a/db_sqlx_maria/dev/prelude/struct.CreateCaptcha.html +++ b/db_sqlx_maria/dev/prelude/struct.CreateCaptcha.html @@ -1,19 +1,19 @@ CreateCaptcha in db_sqlx_maria::dev::prelude - Rust
pub struct CreateCaptcha<'a> {
-    pub duration: i32,
-    pub description: &'a str,
-    pub key: &'a str,
+    pub duration: i32,
+    pub description: &'a str,
+    pub key: &'a str,
 }
Expand description

data required to create new captcha

-

Fields§

§duration: i32

cool down duration

-
§description: &'a str

description of the captcha

-
§key: &'a str

secret key of the captcha

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§duration: i32

cool down duration

+
§description: &'a str

description of the captcha

+
§key: &'a str

secret key of the captcha

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/struct.Level.html b/db_sqlx_maria/dev/prelude/struct.Level.html index 8efa4fe0..da50d6f7 100644 --- a/db_sqlx_maria/dev/prelude/struct.Level.html +++ b/db_sqlx_maria/dev/prelude/struct.Level.html @@ -1,15 +1,15 @@ Level in db_sqlx_maria::dev::prelude - Rust
pub struct Level {
-    pub visitor_threshold: u32,
-    pub difficulty_factor: u32,
+    pub visitor_threshold: u32,
+    pub difficulty_factor: u32,
 }
Expand description

Level struct that describes threshold-difficulty factor mapping

-

Fields§

§visitor_threshold: u32§difficulty_factor: u32

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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§visitor_threshold: u32§difficulty_factor: u32

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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/struct.NameHash.html b/db_sqlx_maria/dev/prelude/struct.NameHash.html index c6f7b5b0..78436c47 100644 --- a/db_sqlx_maria/dev/prelude/struct.NameHash.html +++ b/db_sqlx_maria/dev/prelude/struct.NameHash.html @@ -1,17 +1,17 @@ NameHash in db_sqlx_maria::dev::prelude - Rust
pub struct NameHash {
-    pub username: String,
-    pub hash: String,
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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

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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/struct.Notification.html b/db_sqlx_maria/dev/prelude/struct.Notification.html index 032c99f6..c68dbb34 100644 --- a/db_sqlx_maria/dev/prelude/struct.Notification.html +++ b/db_sqlx_maria/dev/prelude/struct.Notification.html @@ -1,23 +1,23 @@ Notification in db_sqlx_maria::dev::prelude - Rust
pub struct Notification {
-    pub name: Option<String>,
-    pub heading: Option<String>,
-    pub message: Option<String>,
-    pub received: Option<i64>,
-    pub id: Option<i32>,
+    pub name: Option<String>,
+    pub heading: Option<String>,
+    pub message: Option<String>,
+    pub received: Option<i64>,
+    pub id: Option<i32>,
 }
Expand description

Represents notification

-

Fields§

§name: Option<String>

receiver name of the notification

-
§heading: Option<String>

heading of the notification

-
§message: Option<String>

message of the notification

-
§received: Option<i64>

when notification was received

-
§id: Option<i32>

db assigned ID of the notification

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§name: Option<String>

receiver name of the notification

+
§heading: Option<String>

heading of the notification

+
§message: Option<String>

message of the notification

+
§received: Option<i64>

when notification was received

+
§id: Option<i32>

db assigned ID of the notification

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/struct.Register.html b/db_sqlx_maria/dev/prelude/struct.Register.html index b0cac87f..6ac491bc 100644 --- a/db_sqlx_maria/dev/prelude/struct.Register.html +++ b/db_sqlx_maria/dev/prelude/struct.Register.html @@ -1,21 +1,21 @@ Register in db_sqlx_maria::dev::prelude - Rust
pub struct Register<'a> {
-    pub username: &'a str,
-    pub secret: &'a str,
-    pub hash: &'a str,
-    pub email: Option<&'a str>,
+    pub username: &'a str,
+    pub secret: &'a str,
+    pub hash: &'a str,
+    pub email: Option<&'a str>,
 }
Expand description

Data required to register a new user

-

Fields§

§username: &'a str

username of new user

-
§secret: &'a str

secret of new user

-
§hash: &'a str

hashed password of new use

-
§email: Option<&'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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: &'a str

username of new user

+
§secret: &'a str

secret of new user

+
§hash: &'a str

hashed password of new use

+
§email: Option<&'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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/struct.Secret.html b/db_sqlx_maria/dev/prelude/struct.Secret.html index df0ade15..83493613 100644 --- a/db_sqlx_maria/dev/prelude/struct.Secret.html +++ b/db_sqlx_maria/dev/prelude/struct.Secret.html @@ -1,15 +1,15 @@ Secret in db_sqlx_maria::dev::prelude - Rust
pub struct Secret {
-    pub secret: String,
+    pub secret: String,
 }
Expand description

datastructure representing a user’s secret

-

Fields§

§secret: String

user’s secret

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: String

user’s secret

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/struct.StatsUnixTimestamp.html b/db_sqlx_maria/dev/prelude/struct.StatsUnixTimestamp.html index 115fe27b..ac6682f3 100644 --- a/db_sqlx_maria/dev/prelude/struct.StatsUnixTimestamp.html +++ b/db_sqlx_maria/dev/prelude/struct.StatsUnixTimestamp.html @@ -1,19 +1,19 @@ StatsUnixTimestamp in db_sqlx_maria::dev::prelude - Rust
pub struct StatsUnixTimestamp {
-    pub config_fetches: Vec<i64, Global>,
-    pub solves: Vec<i64, Global>,
-    pub confirms: Vec<i64, Global>,
+    pub config_fetches: Vec<i64, Global>,
+    pub solves: Vec<i64, Global>,
+    pub confirms: Vec<i64, Global>,
 }
Expand description

Captcha statistics with time recorded in UNIX epoch formats

-

Fields§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

-
§solves: Vec<i64, Global>

times at which the PoW was solved

-
§confirms: Vec<i64, Global>

times at which the PoW token was verified

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

+
§solves: Vec<i64, Global>

times at which the PoW was solved

+
§confirms: Vec<i64, Global>

times at which the PoW token was verified

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/struct.TrafficPattern.html b/db_sqlx_maria/dev/prelude/struct.TrafficPattern.html index 8ae52411..8e3d4bbc 100644 --- a/db_sqlx_maria/dev/prelude/struct.TrafficPattern.html +++ b/db_sqlx_maria/dev/prelude/struct.TrafficPattern.html @@ -1,19 +1,19 @@ TrafficPattern in db_sqlx_maria::dev::prelude - Rust
pub struct TrafficPattern {
-    pub avg_traffic: u32,
-    pub peak_sustainable_traffic: u32,
-    pub broke_my_site_traffic: Option<u32>,
+    pub avg_traffic: u32,
+    pub peak_sustainable_traffic: u32,
+    pub broke_my_site_traffic: Option<u32>,
 }
Expand description

User’s traffic pattern; used in generating a captcha configuration

-

Fields§

§avg_traffic: u32

average traffic of user’s website

-
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

-
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§avg_traffic: u32

average traffic of user’s website

+
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

+
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/struct.UpdateEmail.html b/db_sqlx_maria/dev/prelude/struct.UpdateEmail.html index 16101fa1..75876654 100644 --- a/db_sqlx_maria/dev/prelude/struct.UpdateEmail.html +++ b/db_sqlx_maria/dev/prelude/struct.UpdateEmail.html @@ -1,17 +1,17 @@ UpdateEmail in db_sqlx_maria::dev::prelude - Rust
pub struct UpdateEmail<'a> {
-    pub username: &'a str,
-    pub new_email: &'a str,
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: &'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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/trait.CloneSPDatabase.html b/db_sqlx_maria/dev/prelude/trait.CloneSPDatabase.html index da35d0d8..43e2626a 100644 --- a/db_sqlx_maria/dev/prelude/trait.CloneSPDatabase.html +++ b/db_sqlx_maria/dev/prelude/trait.CloneSPDatabase.html @@ -1,5 +1,5 @@ CloneSPDatabase in db_sqlx_maria::dev::prelude - Rust
pub trait CloneSPDatabase {
-    fn clone_db(&self) -> Box<dyn MCDatabase + 'static, Global>;
+    fn clone_db(&self) -> Box<dyn MCDatabase + 'static, Global>;
 }
Expand description

Trait to clone MCDatabase

-

Required Methods§

clone DB

-

Implementors§

\ No newline at end of file +

Required Methods§

clone DB

+

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/trait.Connect.html b/db_sqlx_maria/dev/prelude/trait.Connect.html index cfae25d6..8bca16a9 100644 --- a/db_sqlx_maria/dev/prelude/trait.Connect.html +++ b/db_sqlx_maria/dev/prelude/trait.Connect.html @@ -1,9 +1,9 @@ Connect in db_sqlx_maria::dev::prelude - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
-    fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; + fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; }
Expand description

Create database connection

Required Associated Types§

database specific pool-type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/trait.DBOps.html b/db_sqlx_maria/dev/prelude/trait.DBOps.html index 57109fe7..9948a444 100644 --- a/db_sqlx_maria/dev/prelude/trait.DBOps.html +++ b/db_sqlx_maria/dev/prelude/trait.DBOps.html @@ -1,2 +1,2 @@ DBOps in db_sqlx_maria::dev::prelude - Rust
pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/trait.GetConnection.html b/db_sqlx_maria/dev/prelude/trait.GetConnection.html index 106fd26b..cf3f12e7 100644 --- a/db_sqlx_maria/dev/prelude/trait.GetConnection.html +++ b/db_sqlx_maria/dev/prelude/trait.GetConnection.html @@ -1,9 +1,9 @@ GetConnection in db_sqlx_maria::dev::prelude - Rust
pub trait GetConnection {
     type Conn;
 
-    fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Get database connection

Required Associated Types§

database connection type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type get connection from connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/trait.MCDatabase.html b/db_sqlx_maria/dev/prelude/trait.MCDatabase.html index b8d071ed..fbd6e580 100644 --- a/db_sqlx_maria/dev/prelude/trait.MCDatabase.html +++ b/db_sqlx_maria/dev/prelude/trait.MCDatabase.html @@ -1,76 +1,76 @@ -MCDatabase in db_sqlx_maria::dev::prelude - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
-
Show 36 methods fn ping<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; - fn register<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 Register<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn delete_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn username_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn email_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        email: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 UpdateEmail<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        l: &'life1 Login<'_>
    ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 NameHash
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_username<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        current: &'life1 str,
        new: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_secret_from_captcha<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_secret<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        secret: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn create_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_all_user_captchas<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        old_key: &'life2 str,
        new_key: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        levels: &'life3 [Level]
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_cooldown<'life0, 'life1, 'async_trait>(
        &'life0 self,
        captcha_key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        pattern: &'life3 TrafficPattern
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn create_notification<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 AddNotification<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn mark_notification_read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        id: i32
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_solve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_confirm<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; +MCDatabase in db_sqlx_maria::dev::prelude - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
+
Show 36 methods fn ping<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn register<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 Register<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn delete_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn username_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn email_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        email: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 UpdateEmail<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        l: &'life1 Login<'_>
    ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 NameHash
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_username<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        current: &'life1 str,
        new: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_secret_from_captcha<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_secret<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        secret: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn create_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_all_user_captchas<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        old_key: &'life2 str,
        new_key: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        levels: &'life3 [Level]
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_cooldown<'life0, 'life1, 'async_trait>(
        &'life0 self,
        captcha_key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        pattern: &'life3 TrafficPattern
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn create_notification<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 AddNotification<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn mark_notification_read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        id: i32
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_solve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_confirm<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
}
Expand description

mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.

-

Required Methods§

ping DB

-

register a new user

-

delete a user

-

check if username exists

-

get user email

-

check if email exists

-

update a user’s email

-

get a user’s password

-

update user’s password

-

update username

-

get a user’s secret

-

get a user’s secret from a captcha key

-

update a user’s secret

-

create new captcha

-

Get captcha config

-

Get all captchas belonging to user

-

update captcha metadata; doesn’t change captcha key

-

update captcha key; doesn’t change metadata

-

Add levels to captcha

-

check if captcha exists

-

Delete all levels of a captcha

-

Delete captcha

-

Get captcha levels

-

Get captcha’s cooldown period

-

Add traffic configuration

-

Get traffic configuration

-

Delete traffic configuration

-

create new notification

-

get all unread notifications

-

mark a notification read

-

record PoWConfig fetches

-

record PoWConfig solves

-

record PoWConfig confirms

-

fetch PoWConfig fetches

-

fetch PoWConfig solves

-

fetch PoWConfig confirms

-

Implementors§

\ No newline at end of file +

Required Methods§

ping DB

+

register a new user

+

delete a user

+

check if username exists

+

get user email

+

check if email exists

+

update a user’s email

+

get a user’s password

+

update user’s password

+

update username

+

get a user’s secret

+

get a user’s secret from a captcha key

+

update a user’s secret

+

create new captcha

+

Get captcha config

+

Get all captchas belonging to user

+

update captcha metadata; doesn’t change captcha key

+

update captcha key; doesn’t change metadata

+

Add levels to captcha

+

check if captcha exists

+

Delete all levels of a captcha

+

Delete captcha

+

Get captcha levels

+

Get captcha’s cooldown period

+

Add traffic configuration

+

Get traffic configuration

+

Delete traffic configuration

+

create new notification

+

get all unread notifications

+

mark a notification read

+

record PoWConfig fetches

+

record PoWConfig solves

+

record PoWConfig confirms

+

fetch PoWConfig fetches

+

fetch PoWConfig solves

+

fetch PoWConfig confirms

+

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/trait.Migrate.html b/db_sqlx_maria/dev/prelude/trait.Migrate.html index ae3ae9d8..a11ea4ec 100644 --- a/db_sqlx_maria/dev/prelude/trait.Migrate.html +++ b/db_sqlx_maria/dev/prelude/trait.Migrate.html @@ -1,6 +1,6 @@ Migrate in db_sqlx_maria::dev::prelude - Rust
pub trait Migrate: MCDatabase {
-    fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

database migrations

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/type.BoxDynError.html b/db_sqlx_maria/dev/prelude/type.BoxDynError.html index 5cb4fd32..a009126d 100644 --- a/db_sqlx_maria/dev/prelude/type.BoxDynError.html +++ b/db_sqlx_maria/dev/prelude/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_maria::dev::prelude - Rust

Type Definition db_sqlx_maria::dev::prelude::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

-
\ No newline at end of file +BoxDynError in db_sqlx_maria::dev::prelude - Rust

Type Definition db_sqlx_maria::dev::prelude::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

+
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/type.DBResult.html b/db_sqlx_maria/dev/prelude/type.DBResult.html index 40ace85c..02ef9c15 100644 --- a/db_sqlx_maria/dev/prelude/type.DBResult.html +++ b/db_sqlx_maria/dev/prelude/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_maria::dev::prelude - Rust

Type Definition db_sqlx_maria::dev::prelude::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

-
\ No newline at end of file +DBResult in db_sqlx_maria::dev::prelude - Rust

Type Definition db_sqlx_maria::dev::prelude::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

+
\ No newline at end of file diff --git a/db_sqlx_maria/dev/struct.AddNotification.html b/db_sqlx_maria/dev/struct.AddNotification.html index a2f2d823..2efb6941 100644 --- a/db_sqlx_maria/dev/struct.AddNotification.html +++ b/db_sqlx_maria/dev/struct.AddNotification.html @@ -1,21 +1,21 @@ AddNotification in db_sqlx_maria::dev - Rust
pub struct AddNotification<'a> {
-    pub to: &'a str,
-    pub from: &'a str,
-    pub heading: &'a str,
-    pub message: &'a str,
+    pub to: &'a str,
+    pub from: &'a str,
+    pub heading: &'a str,
+    pub message: &'a str,
 }
Expand description

Data required to add notification

-

Fields§

§to: &'a str

who is the notification addressed to?

-
§from: &'a str

notification sender

-
§heading: &'a str

heading of the notification

-
§message: &'a str

message of the notification

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§to: &'a str

who is the notification addressed to?

+
§from: &'a str

notification sender

+
§heading: &'a str

heading of the notification

+
§message: &'a str

message of the notification

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/struct.Captcha.html b/db_sqlx_maria/dev/struct.Captcha.html index 2f135e3d..2007055e 100644 --- a/db_sqlx_maria/dev/struct.Captcha.html +++ b/db_sqlx_maria/dev/struct.Captcha.html @@ -1,21 +1,21 @@ Captcha in db_sqlx_maria::dev - Rust

Struct db_sqlx_maria::dev::Captcha

pub struct Captcha {
-    pub config_id: i32,
-    pub duration: i32,
-    pub description: String,
-    pub key: String,
+    pub config_id: i32,
+    pub duration: i32,
+    pub description: String,
+    pub key: String,
 }
Expand description

Data representing a captcha

-

Fields§

§config_id: i32

Database assigned ID

-
§duration: i32

cool down duration

-
§description: String

description of the captcha

-
§key: String

secret key of the captcha

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§config_id: i32

Database assigned ID

+
§duration: i32

cool down duration

+
§description: String

description of the captcha

+
§key: String

secret key of the captcha

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/struct.CreateCaptcha.html b/db_sqlx_maria/dev/struct.CreateCaptcha.html index 67fca42e..7571abfe 100644 --- a/db_sqlx_maria/dev/struct.CreateCaptcha.html +++ b/db_sqlx_maria/dev/struct.CreateCaptcha.html @@ -1,19 +1,19 @@ CreateCaptcha in db_sqlx_maria::dev - Rust
pub struct CreateCaptcha<'a> {
-    pub duration: i32,
-    pub description: &'a str,
-    pub key: &'a str,
+    pub duration: i32,
+    pub description: &'a str,
+    pub key: &'a str,
 }
Expand description

data required to create new captcha

-

Fields§

§duration: i32

cool down duration

-
§description: &'a str

description of the captcha

-
§key: &'a str

secret key of the captcha

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§duration: i32

cool down duration

+
§description: &'a str

description of the captcha

+
§key: &'a str

secret key of the captcha

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/struct.Level.html b/db_sqlx_maria/dev/struct.Level.html index 0c32fc10..56f84a67 100644 --- a/db_sqlx_maria/dev/struct.Level.html +++ b/db_sqlx_maria/dev/struct.Level.html @@ -1,15 +1,15 @@ Level in db_sqlx_maria::dev - Rust

Struct db_sqlx_maria::dev::Level

pub struct Level {
-    pub visitor_threshold: u32,
-    pub difficulty_factor: u32,
+    pub visitor_threshold: u32,
+    pub difficulty_factor: u32,
 }
Expand description

Level struct that describes threshold-difficulty factor mapping

-

Fields§

§visitor_threshold: u32§difficulty_factor: u32

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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§visitor_threshold: u32§difficulty_factor: u32

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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/struct.NameHash.html b/db_sqlx_maria/dev/struct.NameHash.html index 239b7cf6..2cfd0788 100644 --- a/db_sqlx_maria/dev/struct.NameHash.html +++ b/db_sqlx_maria/dev/struct.NameHash.html @@ -1,17 +1,17 @@ NameHash in db_sqlx_maria::dev - Rust

Struct db_sqlx_maria::dev::NameHash

pub struct NameHash {
-    pub username: String,
-    pub hash: String,
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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

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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/struct.Notification.html b/db_sqlx_maria/dev/struct.Notification.html index b700cbb3..2e04f9e9 100644 --- a/db_sqlx_maria/dev/struct.Notification.html +++ b/db_sqlx_maria/dev/struct.Notification.html @@ -1,23 +1,23 @@ Notification in db_sqlx_maria::dev - Rust
pub struct Notification {
-    pub name: Option<String>,
-    pub heading: Option<String>,
-    pub message: Option<String>,
-    pub received: Option<i64>,
-    pub id: Option<i32>,
+    pub name: Option<String>,
+    pub heading: Option<String>,
+    pub message: Option<String>,
+    pub received: Option<i64>,
+    pub id: Option<i32>,
 }
Expand description

Represents notification

-

Fields§

§name: Option<String>

receiver name of the notification

-
§heading: Option<String>

heading of the notification

-
§message: Option<String>

message of the notification

-
§received: Option<i64>

when notification was received

-
§id: Option<i32>

db assigned ID of the notification

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§name: Option<String>

receiver name of the notification

+
§heading: Option<String>

heading of the notification

+
§message: Option<String>

message of the notification

+
§received: Option<i64>

when notification was received

+
§id: Option<i32>

db assigned ID of the notification

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/struct.Register.html b/db_sqlx_maria/dev/struct.Register.html index 2795cca9..fd366462 100644 --- a/db_sqlx_maria/dev/struct.Register.html +++ b/db_sqlx_maria/dev/struct.Register.html @@ -1,21 +1,21 @@ Register in db_sqlx_maria::dev - Rust

Struct db_sqlx_maria::dev::Register

pub struct Register<'a> {
-    pub username: &'a str,
-    pub secret: &'a str,
-    pub hash: &'a str,
-    pub email: Option<&'a str>,
+    pub username: &'a str,
+    pub secret: &'a str,
+    pub hash: &'a str,
+    pub email: Option<&'a str>,
 }
Expand description

Data required to register a new user

-

Fields§

§username: &'a str

username of new user

-
§secret: &'a str

secret of new user

-
§hash: &'a str

hashed password of new use

-
§email: Option<&'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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: &'a str

username of new user

+
§secret: &'a str

secret of new user

+
§hash: &'a str

hashed password of new use

+
§email: Option<&'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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/struct.Secret.html b/db_sqlx_maria/dev/struct.Secret.html index 042270f6..782e3ab0 100644 --- a/db_sqlx_maria/dev/struct.Secret.html +++ b/db_sqlx_maria/dev/struct.Secret.html @@ -1,15 +1,15 @@ Secret in db_sqlx_maria::dev - Rust

Struct db_sqlx_maria::dev::Secret

pub struct Secret {
-    pub secret: String,
+    pub secret: String,
 }
Expand description

datastructure representing a user’s secret

-

Fields§

§secret: String

user’s secret

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: String

user’s secret

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/struct.StatsUnixTimestamp.html b/db_sqlx_maria/dev/struct.StatsUnixTimestamp.html index a7c0cfc5..c7420138 100644 --- a/db_sqlx_maria/dev/struct.StatsUnixTimestamp.html +++ b/db_sqlx_maria/dev/struct.StatsUnixTimestamp.html @@ -1,19 +1,19 @@ StatsUnixTimestamp in db_sqlx_maria::dev - Rust
pub struct StatsUnixTimestamp {
-    pub config_fetches: Vec<i64, Global>,
-    pub solves: Vec<i64, Global>,
-    pub confirms: Vec<i64, Global>,
+    pub config_fetches: Vec<i64, Global>,
+    pub solves: Vec<i64, Global>,
+    pub confirms: Vec<i64, Global>,
 }
Expand description

Captcha statistics with time recorded in UNIX epoch formats

-

Fields§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

-
§solves: Vec<i64, Global>

times at which the PoW was solved

-
§confirms: Vec<i64, Global>

times at which the PoW token was verified

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

+
§solves: Vec<i64, Global>

times at which the PoW was solved

+
§confirms: Vec<i64, Global>

times at which the PoW token was verified

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/struct.TrafficPattern.html b/db_sqlx_maria/dev/struct.TrafficPattern.html index af2d2447..737ffc5c 100644 --- a/db_sqlx_maria/dev/struct.TrafficPattern.html +++ b/db_sqlx_maria/dev/struct.TrafficPattern.html @@ -1,19 +1,19 @@ TrafficPattern in db_sqlx_maria::dev - Rust
pub struct TrafficPattern {
-    pub avg_traffic: u32,
-    pub peak_sustainable_traffic: u32,
-    pub broke_my_site_traffic: Option<u32>,
+    pub avg_traffic: u32,
+    pub peak_sustainable_traffic: u32,
+    pub broke_my_site_traffic: Option<u32>,
 }
Expand description

User’s traffic pattern; used in generating a captcha configuration

-

Fields§

§avg_traffic: u32

average traffic of user’s website

-
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

-
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§avg_traffic: u32

average traffic of user’s website

+
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

+
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/struct.UpdateEmail.html b/db_sqlx_maria/dev/struct.UpdateEmail.html index 15656f0b..4798fe3a 100644 --- a/db_sqlx_maria/dev/struct.UpdateEmail.html +++ b/db_sqlx_maria/dev/struct.UpdateEmail.html @@ -1,17 +1,17 @@ UpdateEmail in db_sqlx_maria::dev - Rust
pub struct UpdateEmail<'a> {
-    pub username: &'a str,
-    pub new_email: &'a str,
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: &'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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/tests/fn.database_works.html b/db_sqlx_maria/dev/tests/fn.database_works.html index 1619cdc4..744b46f6 100644 --- a/db_sqlx_maria/dev/tests/fn.database_works.html +++ b/db_sqlx_maria/dev/tests/fn.database_works.html @@ -1,2 +1,2 @@ -database_works in db_sqlx_maria::dev::tests - Rust
pub async fn database_works<T, 'a>(
    db: &T,
    p: &Register<'a>,
    c: &CreateCaptcha<'a>,
    l: &[Level],
    tp: &TrafficPattern,
    an: &AddNotification<'a>
) -> impl Future<Output = ()>where
    T: MCDatabase,
Expand description

test all database functions

-
\ No newline at end of file +database_works in db_sqlx_maria::dev::tests - Rust
pub async fn database_works<T, 'a>(
    db: &T,
    p: &Register<'a>,
    c: &CreateCaptcha<'a>,
    l: &[Level],
    tp: &TrafficPattern,
    an: &AddNotification<'a>
) -> impl Future<Output = ()>where
    T: MCDatabase,
Expand description

test all database functions

+
\ No newline at end of file diff --git a/db_sqlx_maria/dev/tests/index.html b/db_sqlx_maria/dev/tests/index.html index d6637c57..9e39b33d 100644 --- a/db_sqlx_maria/dev/tests/index.html +++ b/db_sqlx_maria/dev/tests/index.html @@ -1,2 +1,2 @@ db_sqlx_maria::dev::tests - Rust

Module db_sqlx_maria::dev::tests

Expand description

Test utilities

-

Functions

test all database functions
\ No newline at end of file +

Functions

test all database functions
\ No newline at end of file diff --git a/db_sqlx_maria/dev/trait.CloneSPDatabase.html b/db_sqlx_maria/dev/trait.CloneSPDatabase.html index 8bd9aa87..5705bb7d 100644 --- a/db_sqlx_maria/dev/trait.CloneSPDatabase.html +++ b/db_sqlx_maria/dev/trait.CloneSPDatabase.html @@ -1,5 +1,5 @@ CloneSPDatabase in db_sqlx_maria::dev - Rust
pub trait CloneSPDatabase {
-    fn clone_db(&self) -> Box<dyn MCDatabase + 'static, Global>;
+    fn clone_db(&self) -> Box<dyn MCDatabase + 'static, Global>;
 }
Expand description

Trait to clone MCDatabase

-

Required Methods§

clone DB

-

Implementors§

\ No newline at end of file +

Required Methods§

clone DB

+

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/trait.Connect.html b/db_sqlx_maria/dev/trait.Connect.html index 3863c1d1..6030bf02 100644 --- a/db_sqlx_maria/dev/trait.Connect.html +++ b/db_sqlx_maria/dev/trait.Connect.html @@ -1,9 +1,9 @@ Connect in db_sqlx_maria::dev - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
-    fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; + fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; }
Expand description

Create database connection

Required Associated Types§

database specific pool-type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/trait.DBOps.html b/db_sqlx_maria/dev/trait.DBOps.html index 58098379..cfea1dd4 100644 --- a/db_sqlx_maria/dev/trait.DBOps.html +++ b/db_sqlx_maria/dev/trait.DBOps.html @@ -1,2 +1,2 @@ DBOps in db_sqlx_maria::dev - Rust

Trait db_sqlx_maria::dev::DBOps

pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/trait.GetConnection.html b/db_sqlx_maria/dev/trait.GetConnection.html index 91907c44..d15daccc 100644 --- a/db_sqlx_maria/dev/trait.GetConnection.html +++ b/db_sqlx_maria/dev/trait.GetConnection.html @@ -1,9 +1,9 @@ GetConnection in db_sqlx_maria::dev - Rust
pub trait GetConnection {
     type Conn;
 
-    fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Get database connection

Required Associated Types§

database connection type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type get connection from connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/trait.MCDatabase.html b/db_sqlx_maria/dev/trait.MCDatabase.html index e4dc65d3..a2f5a038 100644 --- a/db_sqlx_maria/dev/trait.MCDatabase.html +++ b/db_sqlx_maria/dev/trait.MCDatabase.html @@ -1,76 +1,76 @@ -MCDatabase in db_sqlx_maria::dev - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
-
Show 36 methods fn ping<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; - fn register<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 Register<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn delete_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn username_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn email_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        email: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 UpdateEmail<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        l: &'life1 Login<'_>
    ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 NameHash
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_username<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        current: &'life1 str,
        new: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_secret_from_captcha<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_secret<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        secret: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn create_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_all_user_captchas<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        old_key: &'life2 str,
        new_key: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        levels: &'life3 [Level]
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_cooldown<'life0, 'life1, 'async_trait>(
        &'life0 self,
        captcha_key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        pattern: &'life3 TrafficPattern
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn create_notification<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 AddNotification<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn mark_notification_read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        id: i32
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_solve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_confirm<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; +MCDatabase in db_sqlx_maria::dev - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
+
Show 36 methods fn ping<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn register<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 Register<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn delete_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn username_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn email_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        email: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 UpdateEmail<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        l: &'life1 Login<'_>
    ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 NameHash
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_username<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        current: &'life1 str,
        new: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_secret_from_captcha<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_secret<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        secret: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn create_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_all_user_captchas<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        old_key: &'life2 str,
        new_key: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        levels: &'life3 [Level]
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_cooldown<'life0, 'life1, 'async_trait>(
        &'life0 self,
        captcha_key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        pattern: &'life3 TrafficPattern
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn create_notification<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 AddNotification<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn mark_notification_read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        id: i32
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_solve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_confirm<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
}
Expand description

mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.

-

Required Methods§

ping DB

-

register a new user

-

delete a user

-

check if username exists

-

get user email

-

check if email exists

-

update a user’s email

-

get a user’s password

-

update user’s password

-

update username

-

get a user’s secret

-

get a user’s secret from a captcha key

-

update a user’s secret

-

create new captcha

-

Get captcha config

-

Get all captchas belonging to user

-

update captcha metadata; doesn’t change captcha key

-

update captcha key; doesn’t change metadata

-

Add levels to captcha

-

check if captcha exists

-

Delete all levels of a captcha

-

Delete captcha

-

Get captcha levels

-

Get captcha’s cooldown period

-

Add traffic configuration

-

Get traffic configuration

-

Delete traffic configuration

-

create new notification

-

get all unread notifications

-

mark a notification read

-

record PoWConfig fetches

-

record PoWConfig solves

-

record PoWConfig confirms

-

fetch PoWConfig fetches

-

fetch PoWConfig solves

-

fetch PoWConfig confirms

-

Implementors§

\ No newline at end of file +

Required Methods§

ping DB

+

register a new user

+

delete a user

+

check if username exists

+

get user email

+

check if email exists

+

update a user’s email

+

get a user’s password

+

update user’s password

+

update username

+

get a user’s secret

+

get a user’s secret from a captcha key

+

update a user’s secret

+

create new captcha

+

Get captcha config

+

Get all captchas belonging to user

+

update captcha metadata; doesn’t change captcha key

+

update captcha key; doesn’t change metadata

+

Add levels to captcha

+

check if captcha exists

+

Delete all levels of a captcha

+

Delete captcha

+

Get captcha levels

+

Get captcha’s cooldown period

+

Add traffic configuration

+

Get traffic configuration

+

Delete traffic configuration

+

create new notification

+

get all unread notifications

+

mark a notification read

+

record PoWConfig fetches

+

record PoWConfig solves

+

record PoWConfig confirms

+

fetch PoWConfig fetches

+

fetch PoWConfig solves

+

fetch PoWConfig confirms

+

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/trait.Migrate.html b/db_sqlx_maria/dev/trait.Migrate.html index f4778446..d1c79c1b 100644 --- a/db_sqlx_maria/dev/trait.Migrate.html +++ b/db_sqlx_maria/dev/trait.Migrate.html @@ -1,6 +1,6 @@ Migrate in db_sqlx_maria::dev - Rust
pub trait Migrate: MCDatabase {
-    fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

database migrations

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/type.BoxDynError.html b/db_sqlx_maria/dev/type.BoxDynError.html index f36d0724..6cb22406 100644 --- a/db_sqlx_maria/dev/type.BoxDynError.html +++ b/db_sqlx_maria/dev/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_maria::dev - Rust

Type Definition db_sqlx_maria::dev::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

-
\ No newline at end of file +BoxDynError in db_sqlx_maria::dev - Rust

Type Definition db_sqlx_maria::dev::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

+
\ No newline at end of file diff --git a/db_sqlx_maria/dev/type.DBResult.html b/db_sqlx_maria/dev/type.DBResult.html index 6eec428a..098542d0 100644 --- a/db_sqlx_maria/dev/type.DBResult.html +++ b/db_sqlx_maria/dev/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_maria::dev - Rust

Type Definition db_sqlx_maria::dev::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

-
\ No newline at end of file +DBResult in db_sqlx_maria::dev - Rust

Type Definition db_sqlx_maria::dev::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

+
\ No newline at end of file diff --git a/db_sqlx_maria/enum.ConnectionOptions.html b/db_sqlx_maria/enum.ConnectionOptions.html index 85e75d63..0e7c93aa 100644 --- a/db_sqlx_maria/enum.ConnectionOptions.html +++ b/db_sqlx_maria/enum.ConnectionOptions.html @@ -4,13 +4,13 @@ }
Expand description

Connect to database

Variants§

§

Fresh(Fresh)

fresh connection

§

Existing(Conn)

existing connection

-

Trait Implementations§

database specific pool-type
database specific error-type -create connection pool

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§

database specific pool-type
database specific error-type +create connection pool

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/errors/fn.map_register_err.html b/db_sqlx_maria/errors/fn.map_register_err.html index 1b3e86b1..38e518b6 100644 --- a/db_sqlx_maria/errors/fn.map_register_err.html +++ b/db_sqlx_maria/errors/fn.map_register_err.html @@ -1,2 +1,2 @@ map_register_err in db_sqlx_maria::errors - Rust
pub fn map_register_err(e: Error) -> DBError
Expand description

map postgres errors to DBError types

-
\ No newline at end of file +
\ No newline at end of file diff --git a/db_sqlx_maria/errors/fn.map_row_not_found_err.html b/db_sqlx_maria/errors/fn.map_row_not_found_err.html index c03404b5..f4f81e2d 100644 --- a/db_sqlx_maria/errors/fn.map_row_not_found_err.html +++ b/db_sqlx_maria/errors/fn.map_row_not_found_err.html @@ -1,2 +1,2 @@ map_row_not_found_err in db_sqlx_maria::errors - Rust
pub fn map_row_not_found_err(e: Error, row_not_found: DBError) -> DBError
Expand description

map custom row not found error to DB error

-
\ No newline at end of file +
\ No newline at end of file diff --git a/db_sqlx_maria/errors/index.html b/db_sqlx_maria/errors/index.html index 32f5deca..f69ff68b 100644 --- a/db_sqlx_maria/errors/index.html +++ b/db_sqlx_maria/errors/index.html @@ -1,2 +1,2 @@ db_sqlx_maria::errors - Rust

Module db_sqlx_maria::errors

source ·
Expand description

Error-handling utilities

-

Functions

map postgres errors to DBError types
map custom row not found error to DB error
\ No newline at end of file +

Functions

map postgres errors to DBError types
map custom row not found error to DB error
\ No newline at end of file diff --git a/db_sqlx_maria/index.html b/db_sqlx_maria/index.html index 607b3273..175575ff 100644 --- a/db_sqlx_maria/index.html +++ b/db_sqlx_maria/index.html @@ -1 +1 @@ -db_sqlx_maria - Rust

Crate db_sqlx_maria

source ·

Modules

Error-handling utilities

Structs

Use an existing database pool
Represents notification

Enums

Connect to database
\ No newline at end of file +db_sqlx_maria - Rust

Crate db_sqlx_maria

source ·

Modules

Error-handling utilities

Structs

Use an existing database pool
Represents notification

Enums

Connect to database
\ No newline at end of file diff --git a/db_sqlx_maria/prelude/enum.DBError.html b/db_sqlx_maria/prelude/enum.DBError.html index efc80f6f..1144625c 100644 --- a/db_sqlx_maria/prelude/enum.DBError.html +++ b/db_sqlx_maria/prelude/enum.DBError.html @@ -1,5 +1,5 @@ DBError in db_sqlx_maria::prelude - Rust
pub enum DBError {
-    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
+    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
     UsernameTaken,
     EmailTaken,
     SecretTaken,
@@ -9,7 +9,7 @@
     TrafficPatternNotFound,
     NotificationNotFound,
 }
Expand description

Error data structure grouping various error subtypes

-

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

+

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

§

UsernameTaken

Username is taken

§

EmailTaken

Email is taken

§

SecretTaken

Secret is taken

@@ -18,13 +18,13 @@
§

CaptchaNotFound

Captcha not found

§

TrafficPatternNotFound

Traffic pattern not found

§

NotificationNotFound

Notification not found

-

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

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§

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

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

+Instrumented wrapper. Read more

Calls U::from(self).

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 +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 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/db_sqlx_maria/prelude/enum.Login.html b/db_sqlx_maria/prelude/enum.Login.html index 51ff93c3..e42bef6e 100644 --- a/db_sqlx_maria/prelude/enum.Login.html +++ b/db_sqlx_maria/prelude/enum.Login.html @@ -1,17 +1,17 @@ Login in db_sqlx_maria::prelude - Rust
pub enum Login<'a> {
-    Username(&'a str),
-    Email(&'a str),
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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.

+

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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/prelude/index.html b/db_sqlx_maria/prelude/index.html index 59725007..1e6ef6c9 100644 --- a/db_sqlx_maria/prelude/index.html +++ b/db_sqlx_maria/prelude/index.html @@ -1,2 +1,2 @@ db_sqlx_maria::prelude - Rust

Module db_sqlx_maria::prelude

source ·

Re-exports

pub use super::*;

Modules

meta operations like migration and connecting to a database
Test utilities

Structs

Data required to add notification
Data representing a captcha
data required to create new captcha
Level struct that describes threshold-difficulty factor mapping
type encapsulating username and hashed password of a user
Represents notification
Data required to register a new user
datastructure representing a user’s secret
Captcha statistics with time recorded in UNIX epoch formats
User’s traffic pattern; used in generating a captcha configuration
data required to update them email of a user

Enums

Error data structure grouping various error subtypes
types of credentials used as identifiers during login

Traits

Trait to clone MCDatabase
Create database connection
Database operations trait(migrations, pool creation and fetching connection from pool)
Get database connection
mCaptcha’s database requirements. To implement support for $Database, kindly implement this -trait.
database migrations

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure
\ No newline at end of file +trait.
database migrations

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure
\ No newline at end of file diff --git a/db_sqlx_maria/prelude/ops/index.html b/db_sqlx_maria/prelude/ops/index.html index 97d8e408..be81a424 100644 --- a/db_sqlx_maria/prelude/ops/index.html +++ b/db_sqlx_maria/prelude/ops/index.html @@ -1,2 +1,2 @@ db_sqlx_maria::prelude::ops - Rust

Module db_sqlx_maria::prelude::ops

Expand description

meta operations like migration and connecting to a database

-

Traits

Create database connection
Database operations trait(migrations, pool creation and fetching connection from pool)
Get database connection
database migrations
\ No newline at end of file +

Traits

Create database connection
Database operations trait(migrations, pool creation and fetching connection from pool)
Get database connection
database migrations
\ No newline at end of file diff --git a/db_sqlx_maria/prelude/ops/trait.Connect.html b/db_sqlx_maria/prelude/ops/trait.Connect.html index 4e496aed..64a9a300 100644 --- a/db_sqlx_maria/prelude/ops/trait.Connect.html +++ b/db_sqlx_maria/prelude/ops/trait.Connect.html @@ -1,9 +1,9 @@ Connect in db_sqlx_maria::prelude::ops - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
-    fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; + fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; }
Expand description

Create database connection

Required Associated Types§

database specific pool-type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/prelude/ops/trait.DBOps.html b/db_sqlx_maria/prelude/ops/trait.DBOps.html index a391e414..40b5778c 100644 --- a/db_sqlx_maria/prelude/ops/trait.DBOps.html +++ b/db_sqlx_maria/prelude/ops/trait.DBOps.html @@ -1,2 +1,2 @@ DBOps in db_sqlx_maria::prelude::ops - Rust
pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/prelude/ops/trait.GetConnection.html b/db_sqlx_maria/prelude/ops/trait.GetConnection.html index 7419c5e2..8ba897fd 100644 --- a/db_sqlx_maria/prelude/ops/trait.GetConnection.html +++ b/db_sqlx_maria/prelude/ops/trait.GetConnection.html @@ -1,9 +1,9 @@ GetConnection in db_sqlx_maria::prelude::ops - Rust
pub trait GetConnection {
     type Conn;
 
-    fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Get database connection

Required Associated Types§

database connection type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type get connection from connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/prelude/ops/trait.Migrate.html b/db_sqlx_maria/prelude/ops/trait.Migrate.html index 8f32a7a0..6e172d5a 100644 --- a/db_sqlx_maria/prelude/ops/trait.Migrate.html +++ b/db_sqlx_maria/prelude/ops/trait.Migrate.html @@ -1,6 +1,6 @@ Migrate in db_sqlx_maria::prelude::ops - Rust
pub trait Migrate: MCDatabase {
-    fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

database migrations

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/prelude/struct.AddNotification.html b/db_sqlx_maria/prelude/struct.AddNotification.html index 9c0b548a..0213158c 100644 --- a/db_sqlx_maria/prelude/struct.AddNotification.html +++ b/db_sqlx_maria/prelude/struct.AddNotification.html @@ -1,21 +1,21 @@ AddNotification in db_sqlx_maria::prelude - Rust
pub struct AddNotification<'a> {
-    pub to: &'a str,
-    pub from: &'a str,
-    pub heading: &'a str,
-    pub message: &'a str,
+    pub to: &'a str,
+    pub from: &'a str,
+    pub heading: &'a str,
+    pub message: &'a str,
 }
Expand description

Data required to add notification

-

Fields§

§to: &'a str

who is the notification addressed to?

-
§from: &'a str

notification sender

-
§heading: &'a str

heading of the notification

-
§message: &'a str

message of the notification

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§to: &'a str

who is the notification addressed to?

+
§from: &'a str

notification sender

+
§heading: &'a str

heading of the notification

+
§message: &'a str

message of the notification

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/prelude/struct.Captcha.html b/db_sqlx_maria/prelude/struct.Captcha.html index a1530881..25e2df65 100644 --- a/db_sqlx_maria/prelude/struct.Captcha.html +++ b/db_sqlx_maria/prelude/struct.Captcha.html @@ -1,21 +1,21 @@ Captcha in db_sqlx_maria::prelude - Rust
pub struct Captcha {
-    pub config_id: i32,
-    pub duration: i32,
-    pub description: String,
-    pub key: String,
+    pub config_id: i32,
+    pub duration: i32,
+    pub description: String,
+    pub key: String,
 }
Expand description

Data representing a captcha

-

Fields§

§config_id: i32

Database assigned ID

-
§duration: i32

cool down duration

-
§description: String

description of the captcha

-
§key: String

secret key of the captcha

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§config_id: i32

Database assigned ID

+
§duration: i32

cool down duration

+
§description: String

description of the captcha

+
§key: String

secret key of the captcha

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/prelude/struct.CreateCaptcha.html b/db_sqlx_maria/prelude/struct.CreateCaptcha.html index 30a0adef..3527fffe 100644 --- a/db_sqlx_maria/prelude/struct.CreateCaptcha.html +++ b/db_sqlx_maria/prelude/struct.CreateCaptcha.html @@ -1,19 +1,19 @@ CreateCaptcha in db_sqlx_maria::prelude - Rust
pub struct CreateCaptcha<'a> {
-    pub duration: i32,
-    pub description: &'a str,
-    pub key: &'a str,
+    pub duration: i32,
+    pub description: &'a str,
+    pub key: &'a str,
 }
Expand description

data required to create new captcha

-

Fields§

§duration: i32

cool down duration

-
§description: &'a str

description of the captcha

-
§key: &'a str

secret key of the captcha

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§duration: i32

cool down duration

+
§description: &'a str

description of the captcha

+
§key: &'a str

secret key of the captcha

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/prelude/struct.Level.html b/db_sqlx_maria/prelude/struct.Level.html index 42b82067..7754dd09 100644 --- a/db_sqlx_maria/prelude/struct.Level.html +++ b/db_sqlx_maria/prelude/struct.Level.html @@ -1,15 +1,15 @@ Level in db_sqlx_maria::prelude - Rust
pub struct Level {
-    pub visitor_threshold: u32,
-    pub difficulty_factor: u32,
+    pub visitor_threshold: u32,
+    pub difficulty_factor: u32,
 }
Expand description

Level struct that describes threshold-difficulty factor mapping

-

Fields§

§visitor_threshold: u32§difficulty_factor: u32

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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§visitor_threshold: u32§difficulty_factor: u32

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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/prelude/struct.NameHash.html b/db_sqlx_maria/prelude/struct.NameHash.html index 48e674ff..95d9c11b 100644 --- a/db_sqlx_maria/prelude/struct.NameHash.html +++ b/db_sqlx_maria/prelude/struct.NameHash.html @@ -1,17 +1,17 @@ NameHash in db_sqlx_maria::prelude - Rust
pub struct NameHash {
-    pub username: String,
-    pub hash: String,
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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

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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/prelude/struct.Notification.html b/db_sqlx_maria/prelude/struct.Notification.html index 9ee61231..a6904faf 100644 --- a/db_sqlx_maria/prelude/struct.Notification.html +++ b/db_sqlx_maria/prelude/struct.Notification.html @@ -1,23 +1,23 @@ Notification in db_sqlx_maria::prelude - Rust
pub struct Notification {
-    pub name: Option<String>,
-    pub heading: Option<String>,
-    pub message: Option<String>,
-    pub received: Option<i64>,
-    pub id: Option<i32>,
+    pub name: Option<String>,
+    pub heading: Option<String>,
+    pub message: Option<String>,
+    pub received: Option<i64>,
+    pub id: Option<i32>,
 }
Expand description

Represents notification

-

Fields§

§name: Option<String>

receiver name of the notification

-
§heading: Option<String>

heading of the notification

-
§message: Option<String>

message of the notification

-
§received: Option<i64>

when notification was received

-
§id: Option<i32>

db assigned ID of the notification

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§name: Option<String>

receiver name of the notification

+
§heading: Option<String>

heading of the notification

+
§message: Option<String>

message of the notification

+
§received: Option<i64>

when notification was received

+
§id: Option<i32>

db assigned ID of the notification

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/prelude/struct.Register.html b/db_sqlx_maria/prelude/struct.Register.html index dfd1f33b..df928de7 100644 --- a/db_sqlx_maria/prelude/struct.Register.html +++ b/db_sqlx_maria/prelude/struct.Register.html @@ -1,21 +1,21 @@ Register in db_sqlx_maria::prelude - Rust
pub struct Register<'a> {
-    pub username: &'a str,
-    pub secret: &'a str,
-    pub hash: &'a str,
-    pub email: Option<&'a str>,
+    pub username: &'a str,
+    pub secret: &'a str,
+    pub hash: &'a str,
+    pub email: Option<&'a str>,
 }
Expand description

Data required to register a new user

-

Fields§

§username: &'a str

username of new user

-
§secret: &'a str

secret of new user

-
§hash: &'a str

hashed password of new use

-
§email: Option<&'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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: &'a str

username of new user

+
§secret: &'a str

secret of new user

+
§hash: &'a str

hashed password of new use

+
§email: Option<&'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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/prelude/struct.Secret.html b/db_sqlx_maria/prelude/struct.Secret.html index 2ce7d4fa..ea6c5381 100644 --- a/db_sqlx_maria/prelude/struct.Secret.html +++ b/db_sqlx_maria/prelude/struct.Secret.html @@ -1,15 +1,15 @@ Secret in db_sqlx_maria::prelude - Rust
pub struct Secret {
-    pub secret: String,
+    pub secret: String,
 }
Expand description

datastructure representing a user’s secret

-

Fields§

§secret: String

user’s secret

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: String

user’s secret

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/prelude/struct.StatsUnixTimestamp.html b/db_sqlx_maria/prelude/struct.StatsUnixTimestamp.html index d69b96f4..08676e56 100644 --- a/db_sqlx_maria/prelude/struct.StatsUnixTimestamp.html +++ b/db_sqlx_maria/prelude/struct.StatsUnixTimestamp.html @@ -1,19 +1,19 @@ StatsUnixTimestamp in db_sqlx_maria::prelude - Rust
pub struct StatsUnixTimestamp {
-    pub config_fetches: Vec<i64, Global>,
-    pub solves: Vec<i64, Global>,
-    pub confirms: Vec<i64, Global>,
+    pub config_fetches: Vec<i64, Global>,
+    pub solves: Vec<i64, Global>,
+    pub confirms: Vec<i64, Global>,
 }
Expand description

Captcha statistics with time recorded in UNIX epoch formats

-

Fields§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

-
§solves: Vec<i64, Global>

times at which the PoW was solved

-
§confirms: Vec<i64, Global>

times at which the PoW token was verified

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

+
§solves: Vec<i64, Global>

times at which the PoW was solved

+
§confirms: Vec<i64, Global>

times at which the PoW token was verified

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/prelude/struct.TrafficPattern.html b/db_sqlx_maria/prelude/struct.TrafficPattern.html index e4d822f6..c16f8415 100644 --- a/db_sqlx_maria/prelude/struct.TrafficPattern.html +++ b/db_sqlx_maria/prelude/struct.TrafficPattern.html @@ -1,19 +1,19 @@ TrafficPattern in db_sqlx_maria::prelude - Rust
pub struct TrafficPattern {
-    pub avg_traffic: u32,
-    pub peak_sustainable_traffic: u32,
-    pub broke_my_site_traffic: Option<u32>,
+    pub avg_traffic: u32,
+    pub peak_sustainable_traffic: u32,
+    pub broke_my_site_traffic: Option<u32>,
 }
Expand description

User’s traffic pattern; used in generating a captcha configuration

-

Fields§

§avg_traffic: u32

average traffic of user’s website

-
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

-
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§avg_traffic: u32

average traffic of user’s website

+
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

+
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/prelude/struct.UpdateEmail.html b/db_sqlx_maria/prelude/struct.UpdateEmail.html index 37e9153b..09efda93 100644 --- a/db_sqlx_maria/prelude/struct.UpdateEmail.html +++ b/db_sqlx_maria/prelude/struct.UpdateEmail.html @@ -1,17 +1,17 @@ UpdateEmail in db_sqlx_maria::prelude - Rust
pub struct UpdateEmail<'a> {
-    pub username: &'a str,
-    pub new_email: &'a str,
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: &'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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/prelude/tests/fn.database_works.html b/db_sqlx_maria/prelude/tests/fn.database_works.html index 540e9fdc..d740d134 100644 --- a/db_sqlx_maria/prelude/tests/fn.database_works.html +++ b/db_sqlx_maria/prelude/tests/fn.database_works.html @@ -1,2 +1,2 @@ -database_works in db_sqlx_maria::prelude::tests - Rust
pub async fn database_works<T, 'a>(
    db: &T,
    p: &Register<'a>,
    c: &CreateCaptcha<'a>,
    l: &[Level],
    tp: &TrafficPattern,
    an: &AddNotification<'a>
) -> impl Future<Output = ()>where
    T: MCDatabase,
Expand description

test all database functions

-
\ No newline at end of file +database_works in db_sqlx_maria::prelude::tests - Rust
pub async fn database_works<T, 'a>(
    db: &T,
    p: &Register<'a>,
    c: &CreateCaptcha<'a>,
    l: &[Level],
    tp: &TrafficPattern,
    an: &AddNotification<'a>
) -> impl Future<Output = ()>where
    T: MCDatabase,
Expand description

test all database functions

+
\ No newline at end of file diff --git a/db_sqlx_maria/prelude/tests/index.html b/db_sqlx_maria/prelude/tests/index.html index 86082506..84c9a308 100644 --- a/db_sqlx_maria/prelude/tests/index.html +++ b/db_sqlx_maria/prelude/tests/index.html @@ -1,2 +1,2 @@ db_sqlx_maria::prelude::tests - Rust
Expand description

Test utilities

-

Functions

test all database functions
\ No newline at end of file +

Functions

test all database functions
\ No newline at end of file diff --git a/db_sqlx_maria/prelude/trait.CloneSPDatabase.html b/db_sqlx_maria/prelude/trait.CloneSPDatabase.html index 3d86a673..219a607e 100644 --- a/db_sqlx_maria/prelude/trait.CloneSPDatabase.html +++ b/db_sqlx_maria/prelude/trait.CloneSPDatabase.html @@ -1,5 +1,5 @@ CloneSPDatabase in db_sqlx_maria::prelude - Rust
pub trait CloneSPDatabase {
-    fn clone_db(&self) -> Box<dyn MCDatabase + 'static, Global>;
+    fn clone_db(&self) -> Box<dyn MCDatabase + 'static, Global>;
 }
Expand description

Trait to clone MCDatabase

-

Required Methods§

clone DB

-

Implementors§

\ No newline at end of file +

Required Methods§

clone DB

+

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/prelude/trait.Connect.html b/db_sqlx_maria/prelude/trait.Connect.html index c637a348..28b93ff2 100644 --- a/db_sqlx_maria/prelude/trait.Connect.html +++ b/db_sqlx_maria/prelude/trait.Connect.html @@ -1,9 +1,9 @@ Connect in db_sqlx_maria::prelude - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
-    fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; + fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; }
Expand description

Create database connection

Required Associated Types§

database specific pool-type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/prelude/trait.DBOps.html b/db_sqlx_maria/prelude/trait.DBOps.html index 988524a3..0b7724be 100644 --- a/db_sqlx_maria/prelude/trait.DBOps.html +++ b/db_sqlx_maria/prelude/trait.DBOps.html @@ -1,2 +1,2 @@ DBOps in db_sqlx_maria::prelude - Rust
pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/prelude/trait.GetConnection.html b/db_sqlx_maria/prelude/trait.GetConnection.html index 1f49f7a1..7417a526 100644 --- a/db_sqlx_maria/prelude/trait.GetConnection.html +++ b/db_sqlx_maria/prelude/trait.GetConnection.html @@ -1,9 +1,9 @@ GetConnection in db_sqlx_maria::prelude - Rust
pub trait GetConnection {
     type Conn;
 
-    fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Get database connection

Required Associated Types§

database connection type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type get connection from connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/prelude/trait.MCDatabase.html b/db_sqlx_maria/prelude/trait.MCDatabase.html index 54fafc5c..df6b2196 100644 --- a/db_sqlx_maria/prelude/trait.MCDatabase.html +++ b/db_sqlx_maria/prelude/trait.MCDatabase.html @@ -1,76 +1,76 @@ -MCDatabase in db_sqlx_maria::prelude - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
-
Show 36 methods fn ping<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; - fn register<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 Register<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn delete_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn username_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn email_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        email: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 UpdateEmail<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        l: &'life1 Login<'_>
    ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 NameHash
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_username<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        current: &'life1 str,
        new: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_secret_from_captcha<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_secret<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        secret: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn create_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_all_user_captchas<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        old_key: &'life2 str,
        new_key: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        levels: &'life3 [Level]
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_cooldown<'life0, 'life1, 'async_trait>(
        &'life0 self,
        captcha_key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        pattern: &'life3 TrafficPattern
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn create_notification<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 AddNotification<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn mark_notification_read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        id: i32
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_solve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_confirm<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; +MCDatabase in db_sqlx_maria::prelude - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
+
Show 36 methods fn ping<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn register<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 Register<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn delete_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn username_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn email_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        email: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 UpdateEmail<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        l: &'life1 Login<'_>
    ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 NameHash
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_username<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        current: &'life1 str,
        new: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_secret_from_captcha<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_secret<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        secret: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn create_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_all_user_captchas<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        old_key: &'life2 str,
        new_key: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        levels: &'life3 [Level]
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_cooldown<'life0, 'life1, 'async_trait>(
        &'life0 self,
        captcha_key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        pattern: &'life3 TrafficPattern
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn create_notification<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 AddNotification<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn mark_notification_read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        id: i32
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_solve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_confirm<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
}
Expand description

mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.

-

Required Methods§

ping DB

-

register a new user

-

delete a user

-

check if username exists

-

get user email

-

check if email exists

-

update a user’s email

-

get a user’s password

-

update user’s password

-

update username

-

get a user’s secret

-

get a user’s secret from a captcha key

-

update a user’s secret

-

create new captcha

-

Get captcha config

-

Get all captchas belonging to user

-

update captcha metadata; doesn’t change captcha key

-

update captcha key; doesn’t change metadata

-

Add levels to captcha

-

check if captcha exists

-

Delete all levels of a captcha

-

Delete captcha

-

Get captcha levels

-

Get captcha’s cooldown period

-

Add traffic configuration

-

Get traffic configuration

-

Delete traffic configuration

-

create new notification

-

get all unread notifications

-

mark a notification read

-

record PoWConfig fetches

-

record PoWConfig solves

-

record PoWConfig confirms

-

fetch PoWConfig fetches

-

fetch PoWConfig solves

-

fetch PoWConfig confirms

-

Implementors§

\ No newline at end of file +

Required Methods§

ping DB

+

register a new user

+

delete a user

+

check if username exists

+

get user email

+

check if email exists

+

update a user’s email

+

get a user’s password

+

update user’s password

+

update username

+

get a user’s secret

+

get a user’s secret from a captcha key

+

update a user’s secret

+

create new captcha

+

Get captcha config

+

Get all captchas belonging to user

+

update captcha metadata; doesn’t change captcha key

+

update captcha key; doesn’t change metadata

+

Add levels to captcha

+

check if captcha exists

+

Delete all levels of a captcha

+

Delete captcha

+

Get captcha levels

+

Get captcha’s cooldown period

+

Add traffic configuration

+

Get traffic configuration

+

Delete traffic configuration

+

create new notification

+

get all unread notifications

+

mark a notification read

+

record PoWConfig fetches

+

record PoWConfig solves

+

record PoWConfig confirms

+

fetch PoWConfig fetches

+

fetch PoWConfig solves

+

fetch PoWConfig confirms

+

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/prelude/trait.Migrate.html b/db_sqlx_maria/prelude/trait.Migrate.html index 93dbc178..765f4e02 100644 --- a/db_sqlx_maria/prelude/trait.Migrate.html +++ b/db_sqlx_maria/prelude/trait.Migrate.html @@ -1,6 +1,6 @@ Migrate in db_sqlx_maria::prelude - Rust
pub trait Migrate: MCDatabase {
-    fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

database migrations

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/prelude/type.BoxDynError.html b/db_sqlx_maria/prelude/type.BoxDynError.html index ad177987..53508bee 100644 --- a/db_sqlx_maria/prelude/type.BoxDynError.html +++ b/db_sqlx_maria/prelude/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_maria::prelude - Rust

Type Definition db_sqlx_maria::prelude::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

-
\ No newline at end of file +BoxDynError in db_sqlx_maria::prelude - Rust

Type Definition db_sqlx_maria::prelude::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

+
\ No newline at end of file diff --git a/db_sqlx_maria/prelude/type.DBResult.html b/db_sqlx_maria/prelude/type.DBResult.html index 5d95be23..bcbb7d14 100644 --- a/db_sqlx_maria/prelude/type.DBResult.html +++ b/db_sqlx_maria/prelude/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_maria::prelude - Rust

Type Definition db_sqlx_maria::prelude::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

-
\ No newline at end of file +DBResult in db_sqlx_maria::prelude - Rust

Type Definition db_sqlx_maria::prelude::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

+
\ No newline at end of file diff --git a/db_sqlx_maria/struct.Conn.html b/db_sqlx_maria/struct.Conn.html index c508248e..0ff040c3 100644 --- a/db_sqlx_maria/struct.Conn.html +++ b/db_sqlx_maria/struct.Conn.html @@ -1,10 +1,10 @@ Conn in db_sqlx_maria - Rust

Struct db_sqlx_maria::Conn

source ·
pub struct Conn(pub MySqlPool);
Expand description

Use an existing database pool

-

Tuple Fields§

§0: MySqlPool

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.

+

Tuple Fields§

§0: MySqlPool

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/struct.Database.html b/db_sqlx_maria/struct.Database.html index f83dd462..a9bdca35 100644 --- a/db_sqlx_maria/struct.Database.html +++ b/db_sqlx_maria/struct.Database.html @@ -1,48 +1,48 @@ Database in db_sqlx_maria - Rust

Struct db_sqlx_maria::Database

source ·
pub struct Database {
     pub pool: MySqlPool,
-}

Fields§

§pool: MySqlPool

Trait Implementations§

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

ping DB

-

register a new user

-

delete a user

-

check if username exists

-

get user email

-

check if email exists

-

update a user’s email

-

get a user’s password

-

update user’s password

-

update username

-

get a user’s secret

-

get a user’s secret from a captcha key

-

update a user’s secret

-

create new captcha

-

Get captcha config

-

Get all captchas belonging to user

-

update captcha metadata; doesn’t change captcha key

-

update captcha key; doesn’t change metadata

-

Add levels to captcha

-

check if captcha exists

-

Delete all levels of a captcha

-

Delete captcha

-

Get captcha levels

-

Get captcha’s cooldown period

-

Add traffic configuration

-

Get traffic configuration

-

Delete traffic configuration

-

create new notification

-

get all unread notifications

-

mark a notification read

-

record PoWConfig fetches

-

record PoWConfig solves

-

record PoWConfig confirms

-

fetch PoWConfig fetches

-

fetch PoWConfig solves

-

fetch PoWConfig confirms

-
database specific error-type -run migrations

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
clone DB

Returns the argument unchanged.

+}

Fields§

§pool: MySqlPool

Trait Implementations§

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

ping DB

+

register a new user

+

delete a user

+

check if username exists

+

get user email

+

check if email exists

+

update a user’s email

+

get a user’s password

+

update user’s password

+

update username

+

get a user’s secret

+

get a user’s secret from a captcha key

+

update a user’s secret

+

create new captcha

+

Get captcha config

+

Get all captchas belonging to user

+

update captcha metadata; doesn’t change captcha key

+

update captcha key; doesn’t change metadata

+

Add levels to captcha

+

check if captcha exists

+

Delete all levels of a captcha

+

Delete captcha

+

Get captcha levels

+

Get captcha’s cooldown period

+

Add traffic configuration

+

Get traffic configuration

+

Delete traffic configuration

+

create new notification

+

get all unread notifications

+

mark a notification read

+

record PoWConfig fetches

+

record PoWConfig solves

+

record PoWConfig confirms

+

fetch PoWConfig fetches

+

fetch PoWConfig solves

+

fetch PoWConfig confirms

+
database specific error-type +run migrations

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
clone DB

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/struct.Fresh.html b/db_sqlx_maria/struct.Fresh.html index ba77fb2f..b6abadac 100644 --- a/db_sqlx_maria/struct.Fresh.html +++ b/db_sqlx_maria/struct.Fresh.html @@ -1,13 +1,13 @@ Fresh in db_sqlx_maria - Rust

Struct db_sqlx_maria::Fresh

source ·
pub struct Fresh {
     pub pool_options: MySqlPoolOptions,
-    pub disable_logging: bool,
-    pub url: String,
-}

Fields§

§pool_options: MySqlPoolOptions§disable_logging: bool§url: String

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 disable_logging: bool, + pub url: String, +}

Fields§

§pool_options: MySqlPoolOptions§disable_logging: bool§url: String

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/struct.InnerNotification.html b/db_sqlx_maria/struct.InnerNotification.html index bbce652a..6d02a79b 100644 --- a/db_sqlx_maria/struct.InnerNotification.html +++ b/db_sqlx_maria/struct.InnerNotification.html @@ -1,23 +1,23 @@ InnerNotification in db_sqlx_maria - Rust
pub struct InnerNotification {
-    pub name: String,
-    pub heading: String,
-    pub message: String,
+    pub name: String,
+    pub heading: String,
+    pub message: String,
     pub received: OffsetDateTime,
-    pub id: i32,
+    pub id: i32,
 }
Expand description

Represents notification

-

Fields§

§name: String

receiver name of the notification

-
§heading: String

heading of the notification

-
§message: String

message of the notification

+

Fields§

§name: String

receiver name of the notification

+
§heading: String

heading of the notification

+
§message: String

message of the notification

§received: OffsetDateTime

when notification was received

-
§id: i32

db assigned ID of the notification

-

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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.

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.

+
§id: i32

db assigned ID of the notification

+

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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/all.html b/db_sqlx_postgres/all.html index 9bc3ad05..6e12ac97 100644 --- a/db_sqlx_postgres/all.html +++ b/db_sqlx_postgres/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Structs

Enums

Traits

Attribute Macros

Functions

Type Definitions

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

List of all items

Structs

Enums

Traits

Attribute Macros

Functions

Type Definitions

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/attr.async_trait.html b/db_sqlx_postgres/dev/attr.async_trait.html index 82296386..612c6246 100644 --- a/db_sqlx_postgres/dev/attr.async_trait.html +++ b/db_sqlx_postgres/dev/attr.async_trait.html @@ -1 +1 @@ -async_trait in db_sqlx_postgres::dev - Rust

Attribute Macro db_sqlx_postgres::dev::async_trait

#[async_trait]
\ No newline at end of file +async_trait in db_sqlx_postgres::dev - Rust

Attribute Macro db_sqlx_postgres::dev::async_trait

#[async_trait]
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/attr.async_trait.html b/db_sqlx_postgres/dev/dev/attr.async_trait.html index 7288ad10..ad7918c3 100644 --- a/db_sqlx_postgres/dev/dev/attr.async_trait.html +++ b/db_sqlx_postgres/dev/dev/attr.async_trait.html @@ -1 +1 @@ -async_trait in db_sqlx_postgres::dev::dev - Rust

Attribute Macro db_sqlx_postgres::dev::dev::async_trait

#[async_trait]
\ No newline at end of file +async_trait in db_sqlx_postgres::dev::dev - Rust

Attribute Macro db_sqlx_postgres::dev::dev::async_trait

#[async_trait]
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/enum.DBError.html b/db_sqlx_postgres/dev/dev/enum.DBError.html index abdfebac..b9eebf90 100644 --- a/db_sqlx_postgres/dev/dev/enum.DBError.html +++ b/db_sqlx_postgres/dev/dev/enum.DBError.html @@ -1,5 +1,5 @@ DBError in db_sqlx_postgres::dev::dev - Rust
pub enum DBError {
-    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
+    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
     UsernameTaken,
     EmailTaken,
     SecretTaken,
@@ -9,7 +9,7 @@
     TrafficPatternNotFound,
     NotificationNotFound,
 }
Expand description

Error data structure grouping various error subtypes

-

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

+

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

§

UsernameTaken

Username is taken

§

EmailTaken

Email is taken

§

SecretTaken

Secret is taken

@@ -18,13 +18,13 @@
§

CaptchaNotFound

Captcha not found

§

TrafficPatternNotFound

Traffic pattern not found

§

NotificationNotFound

Notification not found

-

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

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§

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

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

+Instrumented wrapper. Read more

Calls U::from(self).

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 +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 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/db_sqlx_postgres/dev/dev/enum.Login.html b/db_sqlx_postgres/dev/dev/enum.Login.html index 834e43f0..70bf8930 100644 --- a/db_sqlx_postgres/dev/dev/enum.Login.html +++ b/db_sqlx_postgres/dev/dev/enum.Login.html @@ -1,17 +1,17 @@ Login in db_sqlx_postgres::dev::dev - Rust
pub enum Login<'a> {
-    Username(&'a str),
-    Email(&'a str),
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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.

+

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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/errors/enum.DBError.html b/db_sqlx_postgres/dev/dev/errors/enum.DBError.html index 29882c79..5301c6ce 100644 --- a/db_sqlx_postgres/dev/dev/errors/enum.DBError.html +++ b/db_sqlx_postgres/dev/dev/errors/enum.DBError.html @@ -1,5 +1,5 @@ DBError in db_sqlx_postgres::dev::dev::errors - Rust
pub enum DBError {
-    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
+    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
     UsernameTaken,
     EmailTaken,
     SecretTaken,
@@ -9,7 +9,7 @@
     TrafficPatternNotFound,
     NotificationNotFound,
 }
Expand description

Error data structure grouping various error subtypes

-

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

+

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

§

UsernameTaken

Username is taken

§

EmailTaken

Email is taken

§

SecretTaken

Secret is taken

@@ -18,13 +18,13 @@
§

CaptchaNotFound

Captcha not found

§

TrafficPatternNotFound

Traffic pattern not found

§

NotificationNotFound

Notification not found

-

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

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§

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

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

+Instrumented wrapper. Read more

Calls U::from(self).

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 +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 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/db_sqlx_postgres/dev/dev/errors/index.html b/db_sqlx_postgres/dev/dev/errors/index.html index bba999b9..35475abd 100644 --- a/db_sqlx_postgres/dev/dev/errors/index.html +++ b/db_sqlx_postgres/dev/dev/errors/index.html @@ -1,2 +1,2 @@ db_sqlx_postgres::dev::dev::errors - Rust
Expand description

represents all the ways a trait can fail using this crate

-

Enums

Error data structure grouping various error subtypes

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure
\ No newline at end of file +

Enums

Error data structure grouping various error subtypes

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/errors/type.BoxDynError.html b/db_sqlx_postgres/dev/dev/errors/type.BoxDynError.html index e40ca164..3d2ce2da 100644 --- a/db_sqlx_postgres/dev/dev/errors/type.BoxDynError.html +++ b/db_sqlx_postgres/dev/dev/errors/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_postgres::dev::dev::errors - Rust

Type Definition db_sqlx_postgres::dev::dev::errors::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

-
\ No newline at end of file +BoxDynError in db_sqlx_postgres::dev::dev::errors - Rust

Type Definition db_sqlx_postgres::dev::dev::errors::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

+
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/errors/type.DBResult.html b/db_sqlx_postgres/dev/dev/errors/type.DBResult.html index e0f7cefa..cc48d7bf 100644 --- a/db_sqlx_postgres/dev/dev/errors/type.DBResult.html +++ b/db_sqlx_postgres/dev/dev/errors/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_postgres::dev::dev::errors - Rust

Type Definition db_sqlx_postgres::dev::dev::errors::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

-
\ No newline at end of file +DBResult in db_sqlx_postgres::dev::dev::errors - Rust

Type Definition db_sqlx_postgres::dev::dev::errors::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

+
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/index.html b/db_sqlx_postgres/dev/dev/index.html index 816a82d3..c510d63a 100644 --- a/db_sqlx_postgres/dev/dev/index.html +++ b/db_sqlx_postgres/dev/dev/index.html @@ -1,3 +1,3 @@ db_sqlx_postgres::dev::dev - Rust

Module db_sqlx_postgres::dev::dev

Expand description

useful imports for supporting a new database

Modules

represents all the ways a trait can fail using this crate
meta operations like migration and connecting to a database
useful imports for users working with a supported database
Test utilities

Structs

Data required to add notification
Data representing a captcha
data required to create new captcha
Level struct that describes threshold-difficulty factor mapping
type encapsulating username and hashed password of a user
Represents notification
Data required to register a new user
datastructure representing a user’s secret
Captcha statistics with time recorded in UNIX epoch formats
User’s traffic pattern; used in generating a captcha configuration
data required to update them email of a user

Enums

Error data structure grouping various error subtypes
types of credentials used as identifiers during login

Traits

Trait to clone MCDatabase
Create database connection
Database operations trait(migrations, pool creation and fetching connection from pool)
Get database connection
mCaptcha’s database requirements. To implement support for $Database, kindly implement this -trait.
database migrations

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure

Attribute Macros

\ No newline at end of file +trait.
database migrations

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure

Attribute Macros

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/ops/index.html b/db_sqlx_postgres/dev/dev/ops/index.html index 0b00397a..3602fb7d 100644 --- a/db_sqlx_postgres/dev/dev/ops/index.html +++ b/db_sqlx_postgres/dev/dev/ops/index.html @@ -1,2 +1,2 @@ db_sqlx_postgres::dev::dev::ops - Rust

Module db_sqlx_postgres::dev::dev::ops

Expand description

meta operations like migration and connecting to a database

-

Traits

Create database connection
Database operations trait(migrations, pool creation and fetching connection from pool)
Get database connection
database migrations
\ No newline at end of file +

Traits

Create database connection
Database operations trait(migrations, pool creation and fetching connection from pool)
Get database connection
database migrations
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/ops/trait.Connect.html b/db_sqlx_postgres/dev/dev/ops/trait.Connect.html index 63515e07..109b5b9c 100644 --- a/db_sqlx_postgres/dev/dev/ops/trait.Connect.html +++ b/db_sqlx_postgres/dev/dev/ops/trait.Connect.html @@ -1,9 +1,9 @@ Connect in db_sqlx_postgres::dev::dev::ops - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
-    fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; + fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; }
Expand description

Create database connection

Required Associated Types§

database specific pool-type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/ops/trait.DBOps.html b/db_sqlx_postgres/dev/dev/ops/trait.DBOps.html index b759da98..4b08fa59 100644 --- a/db_sqlx_postgres/dev/dev/ops/trait.DBOps.html +++ b/db_sqlx_postgres/dev/dev/ops/trait.DBOps.html @@ -1,2 +1,2 @@ DBOps in db_sqlx_postgres::dev::dev::ops - Rust
pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/ops/trait.GetConnection.html b/db_sqlx_postgres/dev/dev/ops/trait.GetConnection.html index 9bd4470c..e82d8199 100644 --- a/db_sqlx_postgres/dev/dev/ops/trait.GetConnection.html +++ b/db_sqlx_postgres/dev/dev/ops/trait.GetConnection.html @@ -1,9 +1,9 @@ GetConnection in db_sqlx_postgres::dev::dev::ops - Rust
pub trait GetConnection {
     type Conn;
 
-    fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Get database connection

Required Associated Types§

database connection type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type get connection from connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/ops/trait.Migrate.html b/db_sqlx_postgres/dev/dev/ops/trait.Migrate.html index 838b39a2..a1a01245 100644 --- a/db_sqlx_postgres/dev/dev/ops/trait.Migrate.html +++ b/db_sqlx_postgres/dev/dev/ops/trait.Migrate.html @@ -1,6 +1,6 @@ Migrate in db_sqlx_postgres::dev::dev::ops - Rust
pub trait Migrate: MCDatabase {
-    fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

database migrations

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/enum.DBError.html b/db_sqlx_postgres/dev/dev/prelude/enum.DBError.html index 7d6d9e8a..f767d572 100644 --- a/db_sqlx_postgres/dev/dev/prelude/enum.DBError.html +++ b/db_sqlx_postgres/dev/dev/prelude/enum.DBError.html @@ -1,5 +1,5 @@ DBError in db_sqlx_postgres::dev::dev::prelude - Rust
pub enum DBError {
-    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
+    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
     UsernameTaken,
     EmailTaken,
     SecretTaken,
@@ -9,7 +9,7 @@
     TrafficPatternNotFound,
     NotificationNotFound,
 }
Expand description

Error data structure grouping various error subtypes

-

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

+

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

§

UsernameTaken

Username is taken

§

EmailTaken

Email is taken

§

SecretTaken

Secret is taken

@@ -18,13 +18,13 @@
§

CaptchaNotFound

Captcha not found

§

TrafficPatternNotFound

Traffic pattern not found

§

NotificationNotFound

Notification not found

-

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

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§

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

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

+Instrumented wrapper. Read more

Calls U::from(self).

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 +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 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/db_sqlx_postgres/dev/dev/prelude/enum.Login.html b/db_sqlx_postgres/dev/dev/prelude/enum.Login.html index c320de0f..d0c289d5 100644 --- a/db_sqlx_postgres/dev/dev/prelude/enum.Login.html +++ b/db_sqlx_postgres/dev/dev/prelude/enum.Login.html @@ -1,17 +1,17 @@ Login in db_sqlx_postgres::dev::dev::prelude - Rust
pub enum Login<'a> {
-    Username(&'a str),
-    Email(&'a str),
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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.

+

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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/index.html b/db_sqlx_postgres/dev/dev/prelude/index.html index 15691b35..3529ea6a 100644 --- a/db_sqlx_postgres/dev/dev/prelude/index.html +++ b/db_sqlx_postgres/dev/dev/prelude/index.html @@ -1,3 +1,3 @@ db_sqlx_postgres::dev::dev::prelude - Rust
Expand description

useful imports for users working with a supported database

Structs

Data required to add notification
Data representing a captcha
data required to create new captcha
Level struct that describes threshold-difficulty factor mapping
type encapsulating username and hashed password of a user
Represents notification
Data required to register a new user
datastructure representing a user’s secret
Captcha statistics with time recorded in UNIX epoch formats
User’s traffic pattern; used in generating a captcha configuration
data required to update them email of a user

Enums

Error data structure grouping various error subtypes
types of credentials used as identifiers during login

Traits

Trait to clone MCDatabase
Create database connection
Database operations trait(migrations, pool creation and fetching connection from pool)
Get database connection
mCaptcha’s database requirements. To implement support for $Database, kindly implement this -trait.
database migrations

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure
\ No newline at end of file +trait.
database migrations

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/struct.AddNotification.html b/db_sqlx_postgres/dev/dev/prelude/struct.AddNotification.html index 79e4e7d6..26d4719b 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.AddNotification.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.AddNotification.html @@ -1,21 +1,21 @@ AddNotification in db_sqlx_postgres::dev::dev::prelude - Rust
pub struct AddNotification<'a> {
-    pub to: &'a str,
-    pub from: &'a str,
-    pub heading: &'a str,
-    pub message: &'a str,
+    pub to: &'a str,
+    pub from: &'a str,
+    pub heading: &'a str,
+    pub message: &'a str,
 }
Expand description

Data required to add notification

-

Fields§

§to: &'a str

who is the notification addressed to?

-
§from: &'a str

notification sender

-
§heading: &'a str

heading of the notification

-
§message: &'a str

message of the notification

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§to: &'a str

who is the notification addressed to?

+
§from: &'a str

notification sender

+
§heading: &'a str

heading of the notification

+
§message: &'a str

message of the notification

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/struct.Captcha.html b/db_sqlx_postgres/dev/dev/prelude/struct.Captcha.html index 3f4de483..dc64e23d 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.Captcha.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.Captcha.html @@ -1,21 +1,21 @@ Captcha in db_sqlx_postgres::dev::dev::prelude - Rust
pub struct Captcha {
-    pub config_id: i32,
-    pub duration: i32,
-    pub description: String,
-    pub key: String,
+    pub config_id: i32,
+    pub duration: i32,
+    pub description: String,
+    pub key: String,
 }
Expand description

Data representing a captcha

-

Fields§

§config_id: i32

Database assigned ID

-
§duration: i32

cool down duration

-
§description: String

description of the captcha

-
§key: String

secret key of the captcha

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§config_id: i32

Database assigned ID

+
§duration: i32

cool down duration

+
§description: String

description of the captcha

+
§key: String

secret key of the captcha

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/struct.CreateCaptcha.html b/db_sqlx_postgres/dev/dev/prelude/struct.CreateCaptcha.html index 92221f66..51986048 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.CreateCaptcha.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.CreateCaptcha.html @@ -1,19 +1,19 @@ CreateCaptcha in db_sqlx_postgres::dev::dev::prelude - Rust
pub struct CreateCaptcha<'a> {
-    pub duration: i32,
-    pub description: &'a str,
-    pub key: &'a str,
+    pub duration: i32,
+    pub description: &'a str,
+    pub key: &'a str,
 }
Expand description

data required to create new captcha

-

Fields§

§duration: i32

cool down duration

-
§description: &'a str

description of the captcha

-
§key: &'a str

secret key of the captcha

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§duration: i32

cool down duration

+
§description: &'a str

description of the captcha

+
§key: &'a str

secret key of the captcha

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/struct.Level.html b/db_sqlx_postgres/dev/dev/prelude/struct.Level.html index d80b41ab..8c2bf1ad 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.Level.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.Level.html @@ -1,15 +1,15 @@ Level in db_sqlx_postgres::dev::dev::prelude - Rust
pub struct Level {
-    pub visitor_threshold: u32,
-    pub difficulty_factor: u32,
+    pub visitor_threshold: u32,
+    pub difficulty_factor: u32,
 }
Expand description

Level struct that describes threshold-difficulty factor mapping

-

Fields§

§visitor_threshold: u32§difficulty_factor: u32

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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§visitor_threshold: u32§difficulty_factor: u32

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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/struct.NameHash.html b/db_sqlx_postgres/dev/dev/prelude/struct.NameHash.html index 86030b3f..569e5534 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.NameHash.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.NameHash.html @@ -1,17 +1,17 @@ NameHash in db_sqlx_postgres::dev::dev::prelude - Rust
pub struct NameHash {
-    pub username: String,
-    pub hash: String,
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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

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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/struct.Notification.html b/db_sqlx_postgres/dev/dev/prelude/struct.Notification.html index 6515c3f9..0970e970 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.Notification.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.Notification.html @@ -1,23 +1,23 @@ Notification in db_sqlx_postgres::dev::dev::prelude - Rust
pub struct Notification {
-    pub name: Option<String>,
-    pub heading: Option<String>,
-    pub message: Option<String>,
-    pub received: Option<i64>,
-    pub id: Option<i32>,
+    pub name: Option<String>,
+    pub heading: Option<String>,
+    pub message: Option<String>,
+    pub received: Option<i64>,
+    pub id: Option<i32>,
 }
Expand description

Represents notification

-

Fields§

§name: Option<String>

receiver name of the notification

-
§heading: Option<String>

heading of the notification

-
§message: Option<String>

message of the notification

-
§received: Option<i64>

when notification was received

-
§id: Option<i32>

db assigned ID of the notification

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§name: Option<String>

receiver name of the notification

+
§heading: Option<String>

heading of the notification

+
§message: Option<String>

message of the notification

+
§received: Option<i64>

when notification was received

+
§id: Option<i32>

db assigned ID of the notification

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/struct.Register.html b/db_sqlx_postgres/dev/dev/prelude/struct.Register.html index 9c4b90ae..4cf70db4 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.Register.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.Register.html @@ -1,21 +1,21 @@ Register in db_sqlx_postgres::dev::dev::prelude - Rust
pub struct Register<'a> {
-    pub username: &'a str,
-    pub secret: &'a str,
-    pub hash: &'a str,
-    pub email: Option<&'a str>,
+    pub username: &'a str,
+    pub secret: &'a str,
+    pub hash: &'a str,
+    pub email: Option<&'a str>,
 }
Expand description

Data required to register a new user

-

Fields§

§username: &'a str

username of new user

-
§secret: &'a str

secret of new user

-
§hash: &'a str

hashed password of new use

-
§email: Option<&'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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: &'a str

username of new user

+
§secret: &'a str

secret of new user

+
§hash: &'a str

hashed password of new use

+
§email: Option<&'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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/struct.Secret.html b/db_sqlx_postgres/dev/dev/prelude/struct.Secret.html index d7b66bea..53aaceeb 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.Secret.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.Secret.html @@ -1,15 +1,15 @@ Secret in db_sqlx_postgres::dev::dev::prelude - Rust
pub struct Secret {
-    pub secret: String,
+    pub secret: String,
 }
Expand description

datastructure representing a user’s secret

-

Fields§

§secret: String

user’s secret

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: String

user’s secret

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/struct.StatsUnixTimestamp.html b/db_sqlx_postgres/dev/dev/prelude/struct.StatsUnixTimestamp.html index 84256c9d..50050182 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.StatsUnixTimestamp.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.StatsUnixTimestamp.html @@ -1,19 +1,19 @@ StatsUnixTimestamp in db_sqlx_postgres::dev::dev::prelude - Rust
pub struct StatsUnixTimestamp {
-    pub config_fetches: Vec<i64, Global>,
-    pub solves: Vec<i64, Global>,
-    pub confirms: Vec<i64, Global>,
+    pub config_fetches: Vec<i64, Global>,
+    pub solves: Vec<i64, Global>,
+    pub confirms: Vec<i64, Global>,
 }
Expand description

Captcha statistics with time recorded in UNIX epoch formats

-

Fields§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

-
§solves: Vec<i64, Global>

times at which the PoW was solved

-
§confirms: Vec<i64, Global>

times at which the PoW token was verified

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

+
§solves: Vec<i64, Global>

times at which the PoW was solved

+
§confirms: Vec<i64, Global>

times at which the PoW token was verified

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/struct.TrafficPattern.html b/db_sqlx_postgres/dev/dev/prelude/struct.TrafficPattern.html index e193a4b4..29f91027 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.TrafficPattern.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.TrafficPattern.html @@ -1,19 +1,19 @@ TrafficPattern in db_sqlx_postgres::dev::dev::prelude - Rust
pub struct TrafficPattern {
-    pub avg_traffic: u32,
-    pub peak_sustainable_traffic: u32,
-    pub broke_my_site_traffic: Option<u32>,
+    pub avg_traffic: u32,
+    pub peak_sustainable_traffic: u32,
+    pub broke_my_site_traffic: Option<u32>,
 }
Expand description

User’s traffic pattern; used in generating a captcha configuration

-

Fields§

§avg_traffic: u32

average traffic of user’s website

-
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

-
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§avg_traffic: u32

average traffic of user’s website

+
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

+
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/struct.UpdateEmail.html b/db_sqlx_postgres/dev/dev/prelude/struct.UpdateEmail.html index 59f4f0ff..8853dcab 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.UpdateEmail.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.UpdateEmail.html @@ -1,17 +1,17 @@ UpdateEmail in db_sqlx_postgres::dev::dev::prelude - Rust
pub struct UpdateEmail<'a> {
-    pub username: &'a str,
-    pub new_email: &'a str,
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: &'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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/trait.CloneSPDatabase.html b/db_sqlx_postgres/dev/dev/prelude/trait.CloneSPDatabase.html index 2cfa7251..25852d42 100644 --- a/db_sqlx_postgres/dev/dev/prelude/trait.CloneSPDatabase.html +++ b/db_sqlx_postgres/dev/dev/prelude/trait.CloneSPDatabase.html @@ -1,5 +1,5 @@ CloneSPDatabase in db_sqlx_postgres::dev::dev::prelude - Rust
pub trait CloneSPDatabase {
-    fn clone_db(&self) -> Box<dyn MCDatabase + 'static, Global>;
+    fn clone_db(&self) -> Box<dyn MCDatabase + 'static, Global>;
 }
Expand description

Trait to clone MCDatabase

-

Required Methods§

clone DB

-

Implementors§

\ No newline at end of file +

Required Methods§

clone DB

+

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/trait.Connect.html b/db_sqlx_postgres/dev/dev/prelude/trait.Connect.html index d288415f..f7804770 100644 --- a/db_sqlx_postgres/dev/dev/prelude/trait.Connect.html +++ b/db_sqlx_postgres/dev/dev/prelude/trait.Connect.html @@ -1,9 +1,9 @@ Connect in db_sqlx_postgres::dev::dev::prelude - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
-    fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; + fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; }
Expand description

Create database connection

Required Associated Types§

database specific pool-type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/trait.DBOps.html b/db_sqlx_postgres/dev/dev/prelude/trait.DBOps.html index 8a7a2bc7..2dc9165c 100644 --- a/db_sqlx_postgres/dev/dev/prelude/trait.DBOps.html +++ b/db_sqlx_postgres/dev/dev/prelude/trait.DBOps.html @@ -1,2 +1,2 @@ DBOps in db_sqlx_postgres::dev::dev::prelude - Rust
pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/trait.GetConnection.html b/db_sqlx_postgres/dev/dev/prelude/trait.GetConnection.html index 0f1ee95b..7f4a038f 100644 --- a/db_sqlx_postgres/dev/dev/prelude/trait.GetConnection.html +++ b/db_sqlx_postgres/dev/dev/prelude/trait.GetConnection.html @@ -1,9 +1,9 @@ GetConnection in db_sqlx_postgres::dev::dev::prelude - Rust
pub trait GetConnection {
     type Conn;
 
-    fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Get database connection

Required Associated Types§

database connection type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type get connection from connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/trait.MCDatabase.html b/db_sqlx_postgres/dev/dev/prelude/trait.MCDatabase.html index c826b89d..eacad522 100644 --- a/db_sqlx_postgres/dev/dev/prelude/trait.MCDatabase.html +++ b/db_sqlx_postgres/dev/dev/prelude/trait.MCDatabase.html @@ -1,76 +1,76 @@ -MCDatabase in db_sqlx_postgres::dev::dev::prelude - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
-
Show 36 methods fn ping<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; - fn register<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 Register<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn delete_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn username_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn email_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        email: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 UpdateEmail<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        l: &'life1 Login<'_>
    ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 NameHash
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_username<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        current: &'life1 str,
        new: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_secret_from_captcha<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_secret<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        secret: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn create_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_all_user_captchas<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        old_key: &'life2 str,
        new_key: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        levels: &'life3 [Level]
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_cooldown<'life0, 'life1, 'async_trait>(
        &'life0 self,
        captcha_key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        pattern: &'life3 TrafficPattern
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn create_notification<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 AddNotification<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn mark_notification_read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        id: i32
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_solve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_confirm<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; +MCDatabase in db_sqlx_postgres::dev::dev::prelude - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
+
Show 36 methods fn ping<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn register<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 Register<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn delete_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn username_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn email_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        email: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 UpdateEmail<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        l: &'life1 Login<'_>
    ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 NameHash
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_username<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        current: &'life1 str,
        new: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_secret_from_captcha<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_secret<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        secret: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn create_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_all_user_captchas<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        old_key: &'life2 str,
        new_key: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        levels: &'life3 [Level]
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_cooldown<'life0, 'life1, 'async_trait>(
        &'life0 self,
        captcha_key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        pattern: &'life3 TrafficPattern
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn create_notification<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 AddNotification<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn mark_notification_read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        id: i32
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_solve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_confirm<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
}
Expand description

mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.

-

Required Methods§

ping DB

-

register a new user

-

delete a user

-

check if username exists

-

get user email

-

check if email exists

-

update a user’s email

-

get a user’s password

-

update user’s password

-

update username

-

get a user’s secret

-

get a user’s secret from a captcha key

-

update a user’s secret

-

create new captcha

-

Get captcha config

-

Get all captchas belonging to user

-

update captcha metadata; doesn’t change captcha key

-

update captcha key; doesn’t change metadata

-

Add levels to captcha

-

check if captcha exists

-

Delete all levels of a captcha

-

Delete captcha

-

Get captcha levels

-

Get captcha’s cooldown period

-

Add traffic configuration

-

Get traffic configuration

-

Delete traffic configuration

-

create new notification

-

get all unread notifications

-

mark a notification read

-

record PoWConfig fetches

-

record PoWConfig solves

-

record PoWConfig confirms

-

fetch PoWConfig fetches

-

fetch PoWConfig solves

-

fetch PoWConfig confirms

-

Implementors§

\ No newline at end of file +

Required Methods§

ping DB

+

register a new user

+

delete a user

+

check if username exists

+

get user email

+

check if email exists

+

update a user’s email

+

get a user’s password

+

update user’s password

+

update username

+

get a user’s secret

+

get a user’s secret from a captcha key

+

update a user’s secret

+

create new captcha

+

Get captcha config

+

Get all captchas belonging to user

+

update captcha metadata; doesn’t change captcha key

+

update captcha key; doesn’t change metadata

+

Add levels to captcha

+

check if captcha exists

+

Delete all levels of a captcha

+

Delete captcha

+

Get captcha levels

+

Get captcha’s cooldown period

+

Add traffic configuration

+

Get traffic configuration

+

Delete traffic configuration

+

create new notification

+

get all unread notifications

+

mark a notification read

+

record PoWConfig fetches

+

record PoWConfig solves

+

record PoWConfig confirms

+

fetch PoWConfig fetches

+

fetch PoWConfig solves

+

fetch PoWConfig confirms

+

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/trait.Migrate.html b/db_sqlx_postgres/dev/dev/prelude/trait.Migrate.html index ef867888..b51b01e7 100644 --- a/db_sqlx_postgres/dev/dev/prelude/trait.Migrate.html +++ b/db_sqlx_postgres/dev/dev/prelude/trait.Migrate.html @@ -1,6 +1,6 @@ Migrate in db_sqlx_postgres::dev::dev::prelude - Rust
pub trait Migrate: MCDatabase {
-    fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

database migrations

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/type.BoxDynError.html b/db_sqlx_postgres/dev/dev/prelude/type.BoxDynError.html index a7f3598b..28dffbdc 100644 --- a/db_sqlx_postgres/dev/dev/prelude/type.BoxDynError.html +++ b/db_sqlx_postgres/dev/dev/prelude/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_postgres::dev::dev::prelude - Rust

Type Definition db_sqlx_postgres::dev::dev::prelude::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

-
\ No newline at end of file +BoxDynError in db_sqlx_postgres::dev::dev::prelude - Rust

Type Definition db_sqlx_postgres::dev::dev::prelude::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

+
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/type.DBResult.html b/db_sqlx_postgres/dev/dev/prelude/type.DBResult.html index b6071e24..d6e03ed7 100644 --- a/db_sqlx_postgres/dev/dev/prelude/type.DBResult.html +++ b/db_sqlx_postgres/dev/dev/prelude/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_postgres::dev::dev::prelude - Rust

Type Definition db_sqlx_postgres::dev::dev::prelude::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

-
\ No newline at end of file +DBResult in db_sqlx_postgres::dev::dev::prelude - Rust

Type Definition db_sqlx_postgres::dev::dev::prelude::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

+
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/struct.AddNotification.html b/db_sqlx_postgres/dev/dev/struct.AddNotification.html index b359f3d8..6473f9c7 100644 --- a/db_sqlx_postgres/dev/dev/struct.AddNotification.html +++ b/db_sqlx_postgres/dev/dev/struct.AddNotification.html @@ -1,21 +1,21 @@ AddNotification in db_sqlx_postgres::dev::dev - Rust
pub struct AddNotification<'a> {
-    pub to: &'a str,
-    pub from: &'a str,
-    pub heading: &'a str,
-    pub message: &'a str,
+    pub to: &'a str,
+    pub from: &'a str,
+    pub heading: &'a str,
+    pub message: &'a str,
 }
Expand description

Data required to add notification

-

Fields§

§to: &'a str

who is the notification addressed to?

-
§from: &'a str

notification sender

-
§heading: &'a str

heading of the notification

-
§message: &'a str

message of the notification

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§to: &'a str

who is the notification addressed to?

+
§from: &'a str

notification sender

+
§heading: &'a str

heading of the notification

+
§message: &'a str

message of the notification

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/struct.Captcha.html b/db_sqlx_postgres/dev/dev/struct.Captcha.html index b0d27b44..3c8db3e0 100644 --- a/db_sqlx_postgres/dev/dev/struct.Captcha.html +++ b/db_sqlx_postgres/dev/dev/struct.Captcha.html @@ -1,21 +1,21 @@ Captcha in db_sqlx_postgres::dev::dev - Rust
pub struct Captcha {
-    pub config_id: i32,
-    pub duration: i32,
-    pub description: String,
-    pub key: String,
+    pub config_id: i32,
+    pub duration: i32,
+    pub description: String,
+    pub key: String,
 }
Expand description

Data representing a captcha

-

Fields§

§config_id: i32

Database assigned ID

-
§duration: i32

cool down duration

-
§description: String

description of the captcha

-
§key: String

secret key of the captcha

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§config_id: i32

Database assigned ID

+
§duration: i32

cool down duration

+
§description: String

description of the captcha

+
§key: String

secret key of the captcha

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/struct.CreateCaptcha.html b/db_sqlx_postgres/dev/dev/struct.CreateCaptcha.html index 324dfad0..84d26d9c 100644 --- a/db_sqlx_postgres/dev/dev/struct.CreateCaptcha.html +++ b/db_sqlx_postgres/dev/dev/struct.CreateCaptcha.html @@ -1,19 +1,19 @@ CreateCaptcha in db_sqlx_postgres::dev::dev - Rust
pub struct CreateCaptcha<'a> {
-    pub duration: i32,
-    pub description: &'a str,
-    pub key: &'a str,
+    pub duration: i32,
+    pub description: &'a str,
+    pub key: &'a str,
 }
Expand description

data required to create new captcha

-

Fields§

§duration: i32

cool down duration

-
§description: &'a str

description of the captcha

-
§key: &'a str

secret key of the captcha

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§duration: i32

cool down duration

+
§description: &'a str

description of the captcha

+
§key: &'a str

secret key of the captcha

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/struct.Level.html b/db_sqlx_postgres/dev/dev/struct.Level.html index a85db9f6..f1d34a37 100644 --- a/db_sqlx_postgres/dev/dev/struct.Level.html +++ b/db_sqlx_postgres/dev/dev/struct.Level.html @@ -1,15 +1,15 @@ Level in db_sqlx_postgres::dev::dev - Rust

Struct db_sqlx_postgres::dev::dev::Level

pub struct Level {
-    pub visitor_threshold: u32,
-    pub difficulty_factor: u32,
+    pub visitor_threshold: u32,
+    pub difficulty_factor: u32,
 }
Expand description

Level struct that describes threshold-difficulty factor mapping

-

Fields§

§visitor_threshold: u32§difficulty_factor: u32

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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§visitor_threshold: u32§difficulty_factor: u32

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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/struct.NameHash.html b/db_sqlx_postgres/dev/dev/struct.NameHash.html index 07326a68..ddd62d87 100644 --- a/db_sqlx_postgres/dev/dev/struct.NameHash.html +++ b/db_sqlx_postgres/dev/dev/struct.NameHash.html @@ -1,17 +1,17 @@ NameHash in db_sqlx_postgres::dev::dev - Rust
pub struct NameHash {
-    pub username: String,
-    pub hash: String,
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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

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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/struct.Notification.html b/db_sqlx_postgres/dev/dev/struct.Notification.html index 93f45620..e40c3ef8 100644 --- a/db_sqlx_postgres/dev/dev/struct.Notification.html +++ b/db_sqlx_postgres/dev/dev/struct.Notification.html @@ -1,23 +1,23 @@ Notification in db_sqlx_postgres::dev::dev - Rust
pub struct Notification {
-    pub name: Option<String>,
-    pub heading: Option<String>,
-    pub message: Option<String>,
-    pub received: Option<i64>,
-    pub id: Option<i32>,
+    pub name: Option<String>,
+    pub heading: Option<String>,
+    pub message: Option<String>,
+    pub received: Option<i64>,
+    pub id: Option<i32>,
 }
Expand description

Represents notification

-

Fields§

§name: Option<String>

receiver name of the notification

-
§heading: Option<String>

heading of the notification

-
§message: Option<String>

message of the notification

-
§received: Option<i64>

when notification was received

-
§id: Option<i32>

db assigned ID of the notification

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§name: Option<String>

receiver name of the notification

+
§heading: Option<String>

heading of the notification

+
§message: Option<String>

message of the notification

+
§received: Option<i64>

when notification was received

+
§id: Option<i32>

db assigned ID of the notification

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/struct.Register.html b/db_sqlx_postgres/dev/dev/struct.Register.html index e68fdf81..7a2c6db7 100644 --- a/db_sqlx_postgres/dev/dev/struct.Register.html +++ b/db_sqlx_postgres/dev/dev/struct.Register.html @@ -1,21 +1,21 @@ Register in db_sqlx_postgres::dev::dev - Rust
pub struct Register<'a> {
-    pub username: &'a str,
-    pub secret: &'a str,
-    pub hash: &'a str,
-    pub email: Option<&'a str>,
+    pub username: &'a str,
+    pub secret: &'a str,
+    pub hash: &'a str,
+    pub email: Option<&'a str>,
 }
Expand description

Data required to register a new user

-

Fields§

§username: &'a str

username of new user

-
§secret: &'a str

secret of new user

-
§hash: &'a str

hashed password of new use

-
§email: Option<&'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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: &'a str

username of new user

+
§secret: &'a str

secret of new user

+
§hash: &'a str

hashed password of new use

+
§email: Option<&'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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/struct.Secret.html b/db_sqlx_postgres/dev/dev/struct.Secret.html index d0969c65..794c4325 100644 --- a/db_sqlx_postgres/dev/dev/struct.Secret.html +++ b/db_sqlx_postgres/dev/dev/struct.Secret.html @@ -1,15 +1,15 @@ Secret in db_sqlx_postgres::dev::dev - Rust
pub struct Secret {
-    pub secret: String,
+    pub secret: String,
 }
Expand description

datastructure representing a user’s secret

-

Fields§

§secret: String

user’s secret

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: String

user’s secret

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/struct.StatsUnixTimestamp.html b/db_sqlx_postgres/dev/dev/struct.StatsUnixTimestamp.html index 3a62f836..01709064 100644 --- a/db_sqlx_postgres/dev/dev/struct.StatsUnixTimestamp.html +++ b/db_sqlx_postgres/dev/dev/struct.StatsUnixTimestamp.html @@ -1,19 +1,19 @@ StatsUnixTimestamp in db_sqlx_postgres::dev::dev - Rust
pub struct StatsUnixTimestamp {
-    pub config_fetches: Vec<i64, Global>,
-    pub solves: Vec<i64, Global>,
-    pub confirms: Vec<i64, Global>,
+    pub config_fetches: Vec<i64, Global>,
+    pub solves: Vec<i64, Global>,
+    pub confirms: Vec<i64, Global>,
 }
Expand description

Captcha statistics with time recorded in UNIX epoch formats

-

Fields§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

-
§solves: Vec<i64, Global>

times at which the PoW was solved

-
§confirms: Vec<i64, Global>

times at which the PoW token was verified

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

+
§solves: Vec<i64, Global>

times at which the PoW was solved

+
§confirms: Vec<i64, Global>

times at which the PoW token was verified

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/struct.TrafficPattern.html b/db_sqlx_postgres/dev/dev/struct.TrafficPattern.html index 847e3f7c..b3e02c86 100644 --- a/db_sqlx_postgres/dev/dev/struct.TrafficPattern.html +++ b/db_sqlx_postgres/dev/dev/struct.TrafficPattern.html @@ -1,19 +1,19 @@ TrafficPattern in db_sqlx_postgres::dev::dev - Rust
pub struct TrafficPattern {
-    pub avg_traffic: u32,
-    pub peak_sustainable_traffic: u32,
-    pub broke_my_site_traffic: Option<u32>,
+    pub avg_traffic: u32,
+    pub peak_sustainable_traffic: u32,
+    pub broke_my_site_traffic: Option<u32>,
 }
Expand description

User’s traffic pattern; used in generating a captcha configuration

-

Fields§

§avg_traffic: u32

average traffic of user’s website

-
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

-
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§avg_traffic: u32

average traffic of user’s website

+
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

+
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/struct.UpdateEmail.html b/db_sqlx_postgres/dev/dev/struct.UpdateEmail.html index 239ce349..12a00c87 100644 --- a/db_sqlx_postgres/dev/dev/struct.UpdateEmail.html +++ b/db_sqlx_postgres/dev/dev/struct.UpdateEmail.html @@ -1,17 +1,17 @@ UpdateEmail in db_sqlx_postgres::dev::dev - Rust
pub struct UpdateEmail<'a> {
-    pub username: &'a str,
-    pub new_email: &'a str,
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: &'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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/tests/fn.database_works.html b/db_sqlx_postgres/dev/dev/tests/fn.database_works.html index 39416701..6ad63b8e 100644 --- a/db_sqlx_postgres/dev/dev/tests/fn.database_works.html +++ b/db_sqlx_postgres/dev/dev/tests/fn.database_works.html @@ -1,2 +1,2 @@ -database_works in db_sqlx_postgres::dev::dev::tests - Rust
pub async fn database_works<T, 'a>(
    db: &T,
    p: &Register<'a>,
    c: &CreateCaptcha<'a>,
    l: &[Level],
    tp: &TrafficPattern,
    an: &AddNotification<'a>
) -> impl Future<Output = ()>where
    T: MCDatabase,
Expand description

test all database functions

-
\ No newline at end of file +database_works in db_sqlx_postgres::dev::dev::tests - Rust
pub async fn database_works<T, 'a>(
    db: &T,
    p: &Register<'a>,
    c: &CreateCaptcha<'a>,
    l: &[Level],
    tp: &TrafficPattern,
    an: &AddNotification<'a>
) -> impl Future<Output = ()>where
    T: MCDatabase,
Expand description

test all database functions

+
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/tests/index.html b/db_sqlx_postgres/dev/dev/tests/index.html index cf9d2ab7..d30a5428 100644 --- a/db_sqlx_postgres/dev/dev/tests/index.html +++ b/db_sqlx_postgres/dev/dev/tests/index.html @@ -1,2 +1,2 @@ db_sqlx_postgres::dev::dev::tests - Rust

Module db_sqlx_postgres::dev::dev::tests

Expand description

Test utilities

-

Functions

test all database functions
\ No newline at end of file +

Functions

test all database functions
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/trait.CloneSPDatabase.html b/db_sqlx_postgres/dev/dev/trait.CloneSPDatabase.html index 5ff0c5e0..b24de082 100644 --- a/db_sqlx_postgres/dev/dev/trait.CloneSPDatabase.html +++ b/db_sqlx_postgres/dev/dev/trait.CloneSPDatabase.html @@ -1,5 +1,5 @@ CloneSPDatabase in db_sqlx_postgres::dev::dev - Rust
pub trait CloneSPDatabase {
-    fn clone_db(&self) -> Box<dyn MCDatabase + 'static, Global>;
+    fn clone_db(&self) -> Box<dyn MCDatabase + 'static, Global>;
 }
Expand description

Trait to clone MCDatabase

-

Required Methods§

clone DB

-

Implementors§

\ No newline at end of file +

Required Methods§

clone DB

+

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/trait.Connect.html b/db_sqlx_postgres/dev/dev/trait.Connect.html index d66089f8..2384fd1c 100644 --- a/db_sqlx_postgres/dev/dev/trait.Connect.html +++ b/db_sqlx_postgres/dev/dev/trait.Connect.html @@ -1,9 +1,9 @@ Connect in db_sqlx_postgres::dev::dev - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
-    fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; + fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; }
Expand description

Create database connection

Required Associated Types§

database specific pool-type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/trait.DBOps.html b/db_sqlx_postgres/dev/dev/trait.DBOps.html index a2c880d6..f8912d74 100644 --- a/db_sqlx_postgres/dev/dev/trait.DBOps.html +++ b/db_sqlx_postgres/dev/dev/trait.DBOps.html @@ -1,2 +1,2 @@ DBOps in db_sqlx_postgres::dev::dev - Rust
pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/trait.GetConnection.html b/db_sqlx_postgres/dev/dev/trait.GetConnection.html index fd36721a..ca6d18a3 100644 --- a/db_sqlx_postgres/dev/dev/trait.GetConnection.html +++ b/db_sqlx_postgres/dev/dev/trait.GetConnection.html @@ -1,9 +1,9 @@ GetConnection in db_sqlx_postgres::dev::dev - Rust
pub trait GetConnection {
     type Conn;
 
-    fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Get database connection

Required Associated Types§

database connection type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type get connection from connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/trait.MCDatabase.html b/db_sqlx_postgres/dev/dev/trait.MCDatabase.html index c716e013..8ec03552 100644 --- a/db_sqlx_postgres/dev/dev/trait.MCDatabase.html +++ b/db_sqlx_postgres/dev/dev/trait.MCDatabase.html @@ -1,76 +1,76 @@ -MCDatabase in db_sqlx_postgres::dev::dev - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
-
Show 36 methods fn ping<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; - fn register<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 Register<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn delete_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn username_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn email_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        email: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 UpdateEmail<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        l: &'life1 Login<'_>
    ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 NameHash
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_username<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        current: &'life1 str,
        new: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_secret_from_captcha<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_secret<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        secret: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn create_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_all_user_captchas<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        old_key: &'life2 str,
        new_key: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        levels: &'life3 [Level]
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_cooldown<'life0, 'life1, 'async_trait>(
        &'life0 self,
        captcha_key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        pattern: &'life3 TrafficPattern
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn create_notification<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 AddNotification<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn mark_notification_read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        id: i32
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_solve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_confirm<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; +MCDatabase in db_sqlx_postgres::dev::dev - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
+
Show 36 methods fn ping<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn register<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 Register<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn delete_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn username_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn email_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        email: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 UpdateEmail<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        l: &'life1 Login<'_>
    ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 NameHash
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_username<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        current: &'life1 str,
        new: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_secret_from_captcha<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_secret<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        secret: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn create_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_all_user_captchas<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        old_key: &'life2 str,
        new_key: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        levels: &'life3 [Level]
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_cooldown<'life0, 'life1, 'async_trait>(
        &'life0 self,
        captcha_key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        pattern: &'life3 TrafficPattern
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn create_notification<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 AddNotification<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn mark_notification_read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        id: i32
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_solve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_confirm<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
}
Expand description

mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.

-

Required Methods§

ping DB

-

register a new user

-

delete a user

-

check if username exists

-

get user email

-

check if email exists

-

update a user’s email

-

get a user’s password

-

update user’s password

-

update username

-

get a user’s secret

-

get a user’s secret from a captcha key

-

update a user’s secret

-

create new captcha

-

Get captcha config

-

Get all captchas belonging to user

-

update captcha metadata; doesn’t change captcha key

-

update captcha key; doesn’t change metadata

-

Add levels to captcha

-

check if captcha exists

-

Delete all levels of a captcha

-

Delete captcha

-

Get captcha levels

-

Get captcha’s cooldown period

-

Add traffic configuration

-

Get traffic configuration

-

Delete traffic configuration

-

create new notification

-

get all unread notifications

-

mark a notification read

-

record PoWConfig fetches

-

record PoWConfig solves

-

record PoWConfig confirms

-

fetch PoWConfig fetches

-

fetch PoWConfig solves

-

fetch PoWConfig confirms

-

Implementors§

\ No newline at end of file +

Required Methods§

ping DB

+

register a new user

+

delete a user

+

check if username exists

+

get user email

+

check if email exists

+

update a user’s email

+

get a user’s password

+

update user’s password

+

update username

+

get a user’s secret

+

get a user’s secret from a captcha key

+

update a user’s secret

+

create new captcha

+

Get captcha config

+

Get all captchas belonging to user

+

update captcha metadata; doesn’t change captcha key

+

update captcha key; doesn’t change metadata

+

Add levels to captcha

+

check if captcha exists

+

Delete all levels of a captcha

+

Delete captcha

+

Get captcha levels

+

Get captcha’s cooldown period

+

Add traffic configuration

+

Get traffic configuration

+

Delete traffic configuration

+

create new notification

+

get all unread notifications

+

mark a notification read

+

record PoWConfig fetches

+

record PoWConfig solves

+

record PoWConfig confirms

+

fetch PoWConfig fetches

+

fetch PoWConfig solves

+

fetch PoWConfig confirms

+

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/trait.Migrate.html b/db_sqlx_postgres/dev/dev/trait.Migrate.html index e5726ebc..9a4bfd9d 100644 --- a/db_sqlx_postgres/dev/dev/trait.Migrate.html +++ b/db_sqlx_postgres/dev/dev/trait.Migrate.html @@ -1,6 +1,6 @@ Migrate in db_sqlx_postgres::dev::dev - Rust
pub trait Migrate: MCDatabase {
-    fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

database migrations

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/type.BoxDynError.html b/db_sqlx_postgres/dev/dev/type.BoxDynError.html index c4c88ace..86fdfab0 100644 --- a/db_sqlx_postgres/dev/dev/type.BoxDynError.html +++ b/db_sqlx_postgres/dev/dev/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_postgres::dev::dev - Rust

Type Definition db_sqlx_postgres::dev::dev::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

-
\ No newline at end of file +BoxDynError in db_sqlx_postgres::dev::dev - Rust

Type Definition db_sqlx_postgres::dev::dev::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

+
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/type.DBResult.html b/db_sqlx_postgres/dev/dev/type.DBResult.html index 5d98b5d0..aaf834c6 100644 --- a/db_sqlx_postgres/dev/dev/type.DBResult.html +++ b/db_sqlx_postgres/dev/dev/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_postgres::dev::dev - Rust

Type Definition db_sqlx_postgres::dev::dev::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

-
\ No newline at end of file +DBResult in db_sqlx_postgres::dev::dev - Rust

Type Definition db_sqlx_postgres::dev::dev::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

+
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/enum.DBError.html b/db_sqlx_postgres/dev/enum.DBError.html index e0fb1b8c..48438f9f 100644 --- a/db_sqlx_postgres/dev/enum.DBError.html +++ b/db_sqlx_postgres/dev/enum.DBError.html @@ -1,5 +1,5 @@ DBError in db_sqlx_postgres::dev - Rust
pub enum DBError {
-    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
+    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
     UsernameTaken,
     EmailTaken,
     SecretTaken,
@@ -9,7 +9,7 @@
     TrafficPatternNotFound,
     NotificationNotFound,
 }
Expand description

Error data structure grouping various error subtypes

-

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

+

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

§

UsernameTaken

Username is taken

§

EmailTaken

Email is taken

§

SecretTaken

Secret is taken

@@ -18,13 +18,13 @@
§

CaptchaNotFound

Captcha not found

§

TrafficPatternNotFound

Traffic pattern not found

§

NotificationNotFound

Notification not found

-

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

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§

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

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

+Instrumented wrapper. Read more

Calls U::from(self).

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 +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 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/db_sqlx_postgres/dev/enum.Error.html b/db_sqlx_postgres/dev/enum.Error.html index c06de129..8c65c2b4 100644 --- a/db_sqlx_postgres/dev/enum.Error.html +++ b/db_sqlx_postgres/dev/enum.Error.html @@ -1,53 +1,53 @@ Error in db_sqlx_postgres::dev - Rust
#[non_exhaustive]
 pub enum Error {
-
Show 15 variants Configuration(Box<dyn Error + Sync + Send + 'static, Global>), - Database(Box<dyn DatabaseError + 'static, Global>), - Io(Error), - Tls(Box<dyn Error + Sync + Send + 'static, Global>), - Protocol(String), +
Show 15 variants Configuration(Box<dyn Error + Sync + Send + 'static, Global>), + Database(Box<dyn DatabaseError + 'static, Global>), + Io(Error), + Tls(Box<dyn Error + Sync + Send + 'static, Global>), + Protocol(String), RowNotFound, TypeNotFound { - type_name: String, + type_name: String, }, ColumnIndexOutOfBounds { - index: usize, - len: usize, + index: usize, + len: usize, }, - ColumnNotFound(String), + ColumnNotFound(String), ColumnDecode { - index: String, - source: Box<dyn Error + Sync + Send + 'static, Global>, + index: String, + source: Box<dyn Error + Sync + Send + 'static, Global>, }, - Decode(Box<dyn Error + Sync + Send + 'static, Global>), + Decode(Box<dyn Error + Sync + Send + 'static, Global>), PoolTimedOut, PoolClosed, WorkerCrashed, - Migrate(Box<MigrateError, Global>), + Migrate(Box<MigrateError, Global>),
}
Expand description

Represents all the ways a method can fail within SQLx.

-

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

Configuration(Box<dyn Error + Sync + Send + 'static, Global>)

Error occurred while parsing a connection string.

-
§

Database(Box<dyn DatabaseError + 'static, Global>)

Error returned from the database.

-
§

Io(Error)

Error communicating with the database backend.

-
§

Tls(Box<dyn Error + Sync + Send + 'static, Global>)

Error occurred while attempting to establish a TLS connection.

-
§

Protocol(String)

Unexpected or invalid data encountered while communicating with the database.

+

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

Configuration(Box<dyn Error + Sync + Send + 'static, Global>)

Error occurred while parsing a connection string.

+
§

Database(Box<dyn DatabaseError + 'static, Global>)

Error returned from the database.

+
§

Io(Error)

Error communicating with the database backend.

+
§

Tls(Box<dyn Error + Sync + Send + 'static, Global>)

Error occurred while attempting to establish a TLS connection.

+
§

Protocol(String)

Unexpected or invalid data encountered while communicating with the database.

This should indicate there is a programming error in a SQLx driver or there is something corrupted with the connection to the database itself.

§

RowNotFound

No rows returned by a query that expected to return at least one row.

-
§

TypeNotFound

Fields

§type_name: String

Type in query doesn’t exist. Likely due to typo or missing user type.

-
§

ColumnIndexOutOfBounds

Fields

§index: usize
§len: usize

Column index was out of bounds.

-
§

ColumnNotFound(String)

No column found for the given name.

-
§

ColumnDecode

Fields

§index: String
§source: Box<dyn Error + Sync + Send + 'static, Global>

Error occurred while decoding a value from a specific column.

-
§

Decode(Box<dyn Error + Sync + Send + 'static, Global>)

Error occurred while decoding a value.

+
§

TypeNotFound

Fields

§type_name: String

Type in query doesn’t exist. Likely due to typo or missing user type.

+
§

ColumnIndexOutOfBounds

Fields

§index: usize
§len: usize

Column index was out of bounds.

+
§

ColumnNotFound(String)

No column found for the given name.

+
§

ColumnDecode

Fields

§index: String
§source: Box<dyn Error + Sync + Send + 'static, Global>

Error occurred while decoding a value from a specific column.

+
§

Decode(Box<dyn Error + Sync + Send + 'static, Global>)

Error occurred while decoding a value.

§

PoolTimedOut

A Pool::acquire timed out due to connections not becoming available or because another task encountered too many errors while trying to open a new connection.

§

PoolClosed

Pool::close was called while we were waiting in Pool::acquire.

§

WorkerCrashed

A background worker has crashed.

-
§

Migrate(Box<MigrateError, Global>)

Implementations§

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.

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.

+
§

Migrate(Box<MigrateError, Global>)

Implementations§

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.

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

+Instrumented wrapper. Read more

Calls U::from(self).

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 +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 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/db_sqlx_postgres/dev/enum.Login.html b/db_sqlx_postgres/dev/enum.Login.html index e9bfaf1a..1a717a67 100644 --- a/db_sqlx_postgres/dev/enum.Login.html +++ b/db_sqlx_postgres/dev/enum.Login.html @@ -1,17 +1,17 @@ Login in db_sqlx_postgres::dev - Rust
pub enum Login<'a> {
-    Username(&'a str),
-    Email(&'a str),
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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.

+

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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/errors/enum.DBError.html b/db_sqlx_postgres/dev/errors/enum.DBError.html index e15ce60b..442ce0ab 100644 --- a/db_sqlx_postgres/dev/errors/enum.DBError.html +++ b/db_sqlx_postgres/dev/errors/enum.DBError.html @@ -1,5 +1,5 @@ DBError in db_sqlx_postgres::dev::errors - Rust
pub enum DBError {
-    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
+    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
     UsernameTaken,
     EmailTaken,
     SecretTaken,
@@ -9,7 +9,7 @@
     TrafficPatternNotFound,
     NotificationNotFound,
 }
Expand description

Error data structure grouping various error subtypes

-

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

+

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

§

UsernameTaken

Username is taken

§

EmailTaken

Email is taken

§

SecretTaken

Secret is taken

@@ -18,13 +18,13 @@
§

CaptchaNotFound

Captcha not found

§

TrafficPatternNotFound

Traffic pattern not found

§

NotificationNotFound

Notification not found

-

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

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§

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

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

+Instrumented wrapper. Read more

Calls U::from(self).

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 +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 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/db_sqlx_postgres/dev/errors/index.html b/db_sqlx_postgres/dev/errors/index.html index a79b9493..4edfad8d 100644 --- a/db_sqlx_postgres/dev/errors/index.html +++ b/db_sqlx_postgres/dev/errors/index.html @@ -1,2 +1,2 @@ db_sqlx_postgres::dev::errors - Rust
Expand description

represents all the ways a trait can fail using this crate

-

Enums

Error data structure grouping various error subtypes

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure
\ No newline at end of file +

Enums

Error data structure grouping various error subtypes

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/errors/type.BoxDynError.html b/db_sqlx_postgres/dev/errors/type.BoxDynError.html index 550e3b3b..6a21f2d9 100644 --- a/db_sqlx_postgres/dev/errors/type.BoxDynError.html +++ b/db_sqlx_postgres/dev/errors/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_postgres::dev::errors - Rust

Type Definition db_sqlx_postgres::dev::errors::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

-
\ No newline at end of file +BoxDynError in db_sqlx_postgres::dev::errors - Rust

Type Definition db_sqlx_postgres::dev::errors::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

+
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/errors/type.DBResult.html b/db_sqlx_postgres/dev/errors/type.DBResult.html index 7f08beeb..09ebca3f 100644 --- a/db_sqlx_postgres/dev/errors/type.DBResult.html +++ b/db_sqlx_postgres/dev/errors/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_postgres::dev::errors - Rust

Type Definition db_sqlx_postgres::dev::errors::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

-
\ No newline at end of file +DBResult in db_sqlx_postgres::dev::errors - Rust

Type Definition db_sqlx_postgres::dev::errors::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

+
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/index.html b/db_sqlx_postgres/dev/index.html index 8822474a..33419a4a 100644 --- a/db_sqlx_postgres/dev/index.html +++ b/db_sqlx_postgres/dev/index.html @@ -1,2 +1,2 @@ db_sqlx_postgres::dev - Rust

Module db_sqlx_postgres::dev

source ·

Re-exports

pub use super::Database;
pub use super::errors::*;

Modules

useful imports for supporting a new database
represents all the ways a trait can fail using this crate
meta operations like migration and connecting to a database
useful imports for users working with a supported database
Test utilities

Structs

Data required to add notification
Data representing a captcha
data required to create new captcha
Level struct that describes threshold-difficulty factor mapping
type encapsulating username and hashed password of a user
Represents notification
Data required to register a new user
datastructure representing a user’s secret
Captcha statistics with time recorded in UNIX epoch formats
User’s traffic pattern; used in generating a captcha configuration
data required to update them email of a user

Enums

Error data structure grouping various error subtypes
Represents all the ways a method can fail within SQLx.
types of credentials used as identifiers during login

Traits

Trait to clone MCDatabase
Create database connection
Database operations trait(migrations, pool creation and fetching connection from pool)
Get database connection
mCaptcha’s database requirements. To implement support for $Database, kindly implement this -trait.
database migrations

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure

Attribute Macros

\ No newline at end of file +trait.
database migrations

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure

Attribute Macros

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/ops/index.html b/db_sqlx_postgres/dev/ops/index.html index d4820cb3..59af36c2 100644 --- a/db_sqlx_postgres/dev/ops/index.html +++ b/db_sqlx_postgres/dev/ops/index.html @@ -1,2 +1,2 @@ db_sqlx_postgres::dev::ops - Rust

Module db_sqlx_postgres::dev::ops

Expand description

meta operations like migration and connecting to a database

-

Traits

Create database connection
Database operations trait(migrations, pool creation and fetching connection from pool)
Get database connection
database migrations
\ No newline at end of file +

Traits

Create database connection
Database operations trait(migrations, pool creation and fetching connection from pool)
Get database connection
database migrations
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/ops/trait.Connect.html b/db_sqlx_postgres/dev/ops/trait.Connect.html index 4441d95c..2cfcf24a 100644 --- a/db_sqlx_postgres/dev/ops/trait.Connect.html +++ b/db_sqlx_postgres/dev/ops/trait.Connect.html @@ -1,9 +1,9 @@ Connect in db_sqlx_postgres::dev::ops - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
-    fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; + fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; }
Expand description

Create database connection

Required Associated Types§

database specific pool-type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/ops/trait.DBOps.html b/db_sqlx_postgres/dev/ops/trait.DBOps.html index f665ec2e..dbd1b762 100644 --- a/db_sqlx_postgres/dev/ops/trait.DBOps.html +++ b/db_sqlx_postgres/dev/ops/trait.DBOps.html @@ -1,2 +1,2 @@ DBOps in db_sqlx_postgres::dev::ops - Rust
pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/ops/trait.GetConnection.html b/db_sqlx_postgres/dev/ops/trait.GetConnection.html index 7ee85e40..bcc438a4 100644 --- a/db_sqlx_postgres/dev/ops/trait.GetConnection.html +++ b/db_sqlx_postgres/dev/ops/trait.GetConnection.html @@ -1,9 +1,9 @@ GetConnection in db_sqlx_postgres::dev::ops - Rust
pub trait GetConnection {
     type Conn;
 
-    fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Get database connection

Required Associated Types§

database connection type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type get connection from connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/ops/trait.Migrate.html b/db_sqlx_postgres/dev/ops/trait.Migrate.html index 82c9c62b..bb20c80b 100644 --- a/db_sqlx_postgres/dev/ops/trait.Migrate.html +++ b/db_sqlx_postgres/dev/ops/trait.Migrate.html @@ -1,6 +1,6 @@ Migrate in db_sqlx_postgres::dev::ops - Rust
pub trait Migrate: MCDatabase {
-    fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

database migrations

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/attr.async_trait.html b/db_sqlx_postgres/dev/prelude/dev/attr.async_trait.html index 56cf07ef..902b4238 100644 --- a/db_sqlx_postgres/dev/prelude/dev/attr.async_trait.html +++ b/db_sqlx_postgres/dev/prelude/dev/attr.async_trait.html @@ -1 +1 @@ -async_trait in db_sqlx_postgres::dev::prelude::dev - Rust

Attribute Macro db_sqlx_postgres::dev::prelude::dev::async_trait

#[async_trait]
\ No newline at end of file +async_trait in db_sqlx_postgres::dev::prelude::dev - Rust

Attribute Macro db_sqlx_postgres::dev::prelude::dev::async_trait

#[async_trait]
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/enum.DBError.html b/db_sqlx_postgres/dev/prelude/dev/enum.DBError.html index 7398427f..aaaf7c9d 100644 --- a/db_sqlx_postgres/dev/prelude/dev/enum.DBError.html +++ b/db_sqlx_postgres/dev/prelude/dev/enum.DBError.html @@ -1,5 +1,5 @@ DBError in db_sqlx_postgres::dev::prelude::dev - Rust
pub enum DBError {
-    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
+    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
     UsernameTaken,
     EmailTaken,
     SecretTaken,
@@ -9,7 +9,7 @@
     TrafficPatternNotFound,
     NotificationNotFound,
 }
Expand description

Error data structure grouping various error subtypes

-

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

+

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

§

UsernameTaken

Username is taken

§

EmailTaken

Email is taken

§

SecretTaken

Secret is taken

@@ -18,13 +18,13 @@
§

CaptchaNotFound

Captcha not found

§

TrafficPatternNotFound

Traffic pattern not found

§

NotificationNotFound

Notification not found

-

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

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§

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

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

+Instrumented wrapper. Read more

Calls U::from(self).

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 +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 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/db_sqlx_postgres/dev/prelude/dev/enum.Login.html b/db_sqlx_postgres/dev/prelude/dev/enum.Login.html index d0f890f9..74e1f921 100644 --- a/db_sqlx_postgres/dev/prelude/dev/enum.Login.html +++ b/db_sqlx_postgres/dev/prelude/dev/enum.Login.html @@ -1,17 +1,17 @@ Login in db_sqlx_postgres::dev::prelude::dev - Rust
pub enum Login<'a> {
-    Username(&'a str),
-    Email(&'a str),
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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.

+

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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/index.html b/db_sqlx_postgres/dev/prelude/dev/index.html index c85e8e5d..bccf2315 100644 --- a/db_sqlx_postgres/dev/prelude/dev/index.html +++ b/db_sqlx_postgres/dev/prelude/dev/index.html @@ -1,3 +1,3 @@ db_sqlx_postgres::dev::prelude::dev - Rust
Expand description

useful imports for supporting a new database

Structs

Data required to add notification
Data representing a captcha
data required to create new captcha
Level struct that describes threshold-difficulty factor mapping
type encapsulating username and hashed password of a user
Represents notification
Data required to register a new user
datastructure representing a user’s secret
Captcha statistics with time recorded in UNIX epoch formats
User’s traffic pattern; used in generating a captcha configuration
data required to update them email of a user

Enums

Error data structure grouping various error subtypes
types of credentials used as identifiers during login

Traits

Trait to clone MCDatabase
Create database connection
Database operations trait(migrations, pool creation and fetching connection from pool)
Get database connection
mCaptcha’s database requirements. To implement support for $Database, kindly implement this -trait.
database migrations

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure

Attribute Macros

\ No newline at end of file +trait.
database migrations

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure

Attribute Macros

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/struct.AddNotification.html b/db_sqlx_postgres/dev/prelude/dev/struct.AddNotification.html index 4fa74ff0..f3e06b42 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.AddNotification.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.AddNotification.html @@ -1,21 +1,21 @@ AddNotification in db_sqlx_postgres::dev::prelude::dev - Rust
pub struct AddNotification<'a> {
-    pub to: &'a str,
-    pub from: &'a str,
-    pub heading: &'a str,
-    pub message: &'a str,
+    pub to: &'a str,
+    pub from: &'a str,
+    pub heading: &'a str,
+    pub message: &'a str,
 }
Expand description

Data required to add notification

-

Fields§

§to: &'a str

who is the notification addressed to?

-
§from: &'a str

notification sender

-
§heading: &'a str

heading of the notification

-
§message: &'a str

message of the notification

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§to: &'a str

who is the notification addressed to?

+
§from: &'a str

notification sender

+
§heading: &'a str

heading of the notification

+
§message: &'a str

message of the notification

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/struct.Captcha.html b/db_sqlx_postgres/dev/prelude/dev/struct.Captcha.html index ed7a52df..8fd848a9 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.Captcha.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.Captcha.html @@ -1,21 +1,21 @@ Captcha in db_sqlx_postgres::dev::prelude::dev - Rust
pub struct Captcha {
-    pub config_id: i32,
-    pub duration: i32,
-    pub description: String,
-    pub key: String,
+    pub config_id: i32,
+    pub duration: i32,
+    pub description: String,
+    pub key: String,
 }
Expand description

Data representing a captcha

-

Fields§

§config_id: i32

Database assigned ID

-
§duration: i32

cool down duration

-
§description: String

description of the captcha

-
§key: String

secret key of the captcha

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§config_id: i32

Database assigned ID

+
§duration: i32

cool down duration

+
§description: String

description of the captcha

+
§key: String

secret key of the captcha

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/struct.CreateCaptcha.html b/db_sqlx_postgres/dev/prelude/dev/struct.CreateCaptcha.html index c9ed376e..0fd52039 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.CreateCaptcha.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.CreateCaptcha.html @@ -1,19 +1,19 @@ CreateCaptcha in db_sqlx_postgres::dev::prelude::dev - Rust
pub struct CreateCaptcha<'a> {
-    pub duration: i32,
-    pub description: &'a str,
-    pub key: &'a str,
+    pub duration: i32,
+    pub description: &'a str,
+    pub key: &'a str,
 }
Expand description

data required to create new captcha

-

Fields§

§duration: i32

cool down duration

-
§description: &'a str

description of the captcha

-
§key: &'a str

secret key of the captcha

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§duration: i32

cool down duration

+
§description: &'a str

description of the captcha

+
§key: &'a str

secret key of the captcha

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/struct.Level.html b/db_sqlx_postgres/dev/prelude/dev/struct.Level.html index ec8fe6ef..974b1033 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.Level.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.Level.html @@ -1,15 +1,15 @@ Level in db_sqlx_postgres::dev::prelude::dev - Rust
pub struct Level {
-    pub visitor_threshold: u32,
-    pub difficulty_factor: u32,
+    pub visitor_threshold: u32,
+    pub difficulty_factor: u32,
 }
Expand description

Level struct that describes threshold-difficulty factor mapping

-

Fields§

§visitor_threshold: u32§difficulty_factor: u32

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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§visitor_threshold: u32§difficulty_factor: u32

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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/struct.NameHash.html b/db_sqlx_postgres/dev/prelude/dev/struct.NameHash.html index 42226bdb..01c92d49 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.NameHash.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.NameHash.html @@ -1,17 +1,17 @@ NameHash in db_sqlx_postgres::dev::prelude::dev - Rust
pub struct NameHash {
-    pub username: String,
-    pub hash: String,
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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

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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/struct.Notification.html b/db_sqlx_postgres/dev/prelude/dev/struct.Notification.html index 934e68f0..2f81a1c6 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.Notification.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.Notification.html @@ -1,23 +1,23 @@ Notification in db_sqlx_postgres::dev::prelude::dev - Rust
pub struct Notification {
-    pub name: Option<String>,
-    pub heading: Option<String>,
-    pub message: Option<String>,
-    pub received: Option<i64>,
-    pub id: Option<i32>,
+    pub name: Option<String>,
+    pub heading: Option<String>,
+    pub message: Option<String>,
+    pub received: Option<i64>,
+    pub id: Option<i32>,
 }
Expand description

Represents notification

-

Fields§

§name: Option<String>

receiver name of the notification

-
§heading: Option<String>

heading of the notification

-
§message: Option<String>

message of the notification

-
§received: Option<i64>

when notification was received

-
§id: Option<i32>

db assigned ID of the notification

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§name: Option<String>

receiver name of the notification

+
§heading: Option<String>

heading of the notification

+
§message: Option<String>

message of the notification

+
§received: Option<i64>

when notification was received

+
§id: Option<i32>

db assigned ID of the notification

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/struct.Register.html b/db_sqlx_postgres/dev/prelude/dev/struct.Register.html index 10195a75..a376d51f 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.Register.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.Register.html @@ -1,21 +1,21 @@ Register in db_sqlx_postgres::dev::prelude::dev - Rust
pub struct Register<'a> {
-    pub username: &'a str,
-    pub secret: &'a str,
-    pub hash: &'a str,
-    pub email: Option<&'a str>,
+    pub username: &'a str,
+    pub secret: &'a str,
+    pub hash: &'a str,
+    pub email: Option<&'a str>,
 }
Expand description

Data required to register a new user

-

Fields§

§username: &'a str

username of new user

-
§secret: &'a str

secret of new user

-
§hash: &'a str

hashed password of new use

-
§email: Option<&'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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: &'a str

username of new user

+
§secret: &'a str

secret of new user

+
§hash: &'a str

hashed password of new use

+
§email: Option<&'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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/struct.Secret.html b/db_sqlx_postgres/dev/prelude/dev/struct.Secret.html index 38bda5b6..ab7e3196 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.Secret.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.Secret.html @@ -1,15 +1,15 @@ Secret in db_sqlx_postgres::dev::prelude::dev - Rust
pub struct Secret {
-    pub secret: String,
+    pub secret: String,
 }
Expand description

datastructure representing a user’s secret

-

Fields§

§secret: String

user’s secret

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: String

user’s secret

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/struct.StatsUnixTimestamp.html b/db_sqlx_postgres/dev/prelude/dev/struct.StatsUnixTimestamp.html index a1672626..20a9ec19 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.StatsUnixTimestamp.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.StatsUnixTimestamp.html @@ -1,19 +1,19 @@ StatsUnixTimestamp in db_sqlx_postgres::dev::prelude::dev - Rust
pub struct StatsUnixTimestamp {
-    pub config_fetches: Vec<i64, Global>,
-    pub solves: Vec<i64, Global>,
-    pub confirms: Vec<i64, Global>,
+    pub config_fetches: Vec<i64, Global>,
+    pub solves: Vec<i64, Global>,
+    pub confirms: Vec<i64, Global>,
 }
Expand description

Captcha statistics with time recorded in UNIX epoch formats

-

Fields§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

-
§solves: Vec<i64, Global>

times at which the PoW was solved

-
§confirms: Vec<i64, Global>

times at which the PoW token was verified

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

+
§solves: Vec<i64, Global>

times at which the PoW was solved

+
§confirms: Vec<i64, Global>

times at which the PoW token was verified

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/struct.TrafficPattern.html b/db_sqlx_postgres/dev/prelude/dev/struct.TrafficPattern.html index b3003568..388796bf 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.TrafficPattern.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.TrafficPattern.html @@ -1,19 +1,19 @@ TrafficPattern in db_sqlx_postgres::dev::prelude::dev - Rust
pub struct TrafficPattern {
-    pub avg_traffic: u32,
-    pub peak_sustainable_traffic: u32,
-    pub broke_my_site_traffic: Option<u32>,
+    pub avg_traffic: u32,
+    pub peak_sustainable_traffic: u32,
+    pub broke_my_site_traffic: Option<u32>,
 }
Expand description

User’s traffic pattern; used in generating a captcha configuration

-

Fields§

§avg_traffic: u32

average traffic of user’s website

-
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

-
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§avg_traffic: u32

average traffic of user’s website

+
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

+
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/struct.UpdateEmail.html b/db_sqlx_postgres/dev/prelude/dev/struct.UpdateEmail.html index 16dbca28..fa0ee46e 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.UpdateEmail.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.UpdateEmail.html @@ -1,17 +1,17 @@ UpdateEmail in db_sqlx_postgres::dev::prelude::dev - Rust
pub struct UpdateEmail<'a> {
-    pub username: &'a str,
-    pub new_email: &'a str,
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: &'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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/trait.CloneSPDatabase.html b/db_sqlx_postgres/dev/prelude/dev/trait.CloneSPDatabase.html index f0f81505..7e8d4965 100644 --- a/db_sqlx_postgres/dev/prelude/dev/trait.CloneSPDatabase.html +++ b/db_sqlx_postgres/dev/prelude/dev/trait.CloneSPDatabase.html @@ -1,5 +1,5 @@ CloneSPDatabase in db_sqlx_postgres::dev::prelude::dev - Rust
pub trait CloneSPDatabase {
-    fn clone_db(&self) -> Box<dyn MCDatabase + 'static, Global>;
+    fn clone_db(&self) -> Box<dyn MCDatabase + 'static, Global>;
 }
Expand description

Trait to clone MCDatabase

-

Required Methods§

clone DB

-

Implementors§

\ No newline at end of file +

Required Methods§

clone DB

+

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/trait.Connect.html b/db_sqlx_postgres/dev/prelude/dev/trait.Connect.html index 0c8b56b3..dfee755f 100644 --- a/db_sqlx_postgres/dev/prelude/dev/trait.Connect.html +++ b/db_sqlx_postgres/dev/prelude/dev/trait.Connect.html @@ -1,9 +1,9 @@ Connect in db_sqlx_postgres::dev::prelude::dev - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
-    fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; + fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; }
Expand description

Create database connection

Required Associated Types§

database specific pool-type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/trait.DBOps.html b/db_sqlx_postgres/dev/prelude/dev/trait.DBOps.html index 3a8b7124..d2a8a498 100644 --- a/db_sqlx_postgres/dev/prelude/dev/trait.DBOps.html +++ b/db_sqlx_postgres/dev/prelude/dev/trait.DBOps.html @@ -1,2 +1,2 @@ DBOps in db_sqlx_postgres::dev::prelude::dev - Rust
pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/trait.GetConnection.html b/db_sqlx_postgres/dev/prelude/dev/trait.GetConnection.html index 7295f527..2f5d1a6e 100644 --- a/db_sqlx_postgres/dev/prelude/dev/trait.GetConnection.html +++ b/db_sqlx_postgres/dev/prelude/dev/trait.GetConnection.html @@ -1,9 +1,9 @@ GetConnection in db_sqlx_postgres::dev::prelude::dev - Rust
pub trait GetConnection {
     type Conn;
 
-    fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Get database connection

Required Associated Types§

database connection type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type get connection from connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/trait.MCDatabase.html b/db_sqlx_postgres/dev/prelude/dev/trait.MCDatabase.html index 94f618ba..c3cfb8ea 100644 --- a/db_sqlx_postgres/dev/prelude/dev/trait.MCDatabase.html +++ b/db_sqlx_postgres/dev/prelude/dev/trait.MCDatabase.html @@ -1,76 +1,76 @@ -MCDatabase in db_sqlx_postgres::dev::prelude::dev - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
-
Show 36 methods fn ping<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; - fn register<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 Register<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn delete_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn username_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn email_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        email: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 UpdateEmail<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        l: &'life1 Login<'_>
    ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 NameHash
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_username<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        current: &'life1 str,
        new: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_secret_from_captcha<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_secret<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        secret: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn create_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_all_user_captchas<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        old_key: &'life2 str,
        new_key: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        levels: &'life3 [Level]
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_cooldown<'life0, 'life1, 'async_trait>(
        &'life0 self,
        captcha_key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        pattern: &'life3 TrafficPattern
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn create_notification<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 AddNotification<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn mark_notification_read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        id: i32
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_solve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_confirm<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; +MCDatabase in db_sqlx_postgres::dev::prelude::dev - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
+
Show 36 methods fn ping<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn register<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 Register<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn delete_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn username_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn email_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        email: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 UpdateEmail<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        l: &'life1 Login<'_>
    ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 NameHash
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_username<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        current: &'life1 str,
        new: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_secret_from_captcha<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_secret<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        secret: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn create_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_all_user_captchas<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        old_key: &'life2 str,
        new_key: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        levels: &'life3 [Level]
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_cooldown<'life0, 'life1, 'async_trait>(
        &'life0 self,
        captcha_key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        pattern: &'life3 TrafficPattern
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn create_notification<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 AddNotification<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn mark_notification_read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        id: i32
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_solve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_confirm<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
}
Expand description

mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.

-

Required Methods§

ping DB

-

register a new user

-

delete a user

-

check if username exists

-

get user email

-

check if email exists

-

update a user’s email

-

get a user’s password

-

update user’s password

-

update username

-

get a user’s secret

-

get a user’s secret from a captcha key

-

update a user’s secret

-

create new captcha

-

Get captcha config

-

Get all captchas belonging to user

-

update captcha metadata; doesn’t change captcha key

-

update captcha key; doesn’t change metadata

-

Add levels to captcha

-

check if captcha exists

-

Delete all levels of a captcha

-

Delete captcha

-

Get captcha levels

-

Get captcha’s cooldown period

-

Add traffic configuration

-

Get traffic configuration

-

Delete traffic configuration

-

create new notification

-

get all unread notifications

-

mark a notification read

-

record PoWConfig fetches

-

record PoWConfig solves

-

record PoWConfig confirms

-

fetch PoWConfig fetches

-

fetch PoWConfig solves

-

fetch PoWConfig confirms

-

Implementors§

\ No newline at end of file +

Required Methods§

ping DB

+

register a new user

+

delete a user

+

check if username exists

+

get user email

+

check if email exists

+

update a user’s email

+

get a user’s password

+

update user’s password

+

update username

+

get a user’s secret

+

get a user’s secret from a captcha key

+

update a user’s secret

+

create new captcha

+

Get captcha config

+

Get all captchas belonging to user

+

update captcha metadata; doesn’t change captcha key

+

update captcha key; doesn’t change metadata

+

Add levels to captcha

+

check if captcha exists

+

Delete all levels of a captcha

+

Delete captcha

+

Get captcha levels

+

Get captcha’s cooldown period

+

Add traffic configuration

+

Get traffic configuration

+

Delete traffic configuration

+

create new notification

+

get all unread notifications

+

mark a notification read

+

record PoWConfig fetches

+

record PoWConfig solves

+

record PoWConfig confirms

+

fetch PoWConfig fetches

+

fetch PoWConfig solves

+

fetch PoWConfig confirms

+

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/trait.Migrate.html b/db_sqlx_postgres/dev/prelude/dev/trait.Migrate.html index 305a7c66..6c8bd51c 100644 --- a/db_sqlx_postgres/dev/prelude/dev/trait.Migrate.html +++ b/db_sqlx_postgres/dev/prelude/dev/trait.Migrate.html @@ -1,6 +1,6 @@ Migrate in db_sqlx_postgres::dev::prelude::dev - Rust
pub trait Migrate: MCDatabase {
-    fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

database migrations

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/type.BoxDynError.html b/db_sqlx_postgres/dev/prelude/dev/type.BoxDynError.html index c2c34697..5e58543f 100644 --- a/db_sqlx_postgres/dev/prelude/dev/type.BoxDynError.html +++ b/db_sqlx_postgres/dev/prelude/dev/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_postgres::dev::prelude::dev - Rust

Type Definition db_sqlx_postgres::dev::prelude::dev::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

-
\ No newline at end of file +BoxDynError in db_sqlx_postgres::dev::prelude::dev - Rust

Type Definition db_sqlx_postgres::dev::prelude::dev::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

+
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/type.DBResult.html b/db_sqlx_postgres/dev/prelude/dev/type.DBResult.html index 90b53e8a..2218755e 100644 --- a/db_sqlx_postgres/dev/prelude/dev/type.DBResult.html +++ b/db_sqlx_postgres/dev/prelude/dev/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_postgres::dev::prelude::dev - Rust

Type Definition db_sqlx_postgres::dev::prelude::dev::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

-
\ No newline at end of file +DBResult in db_sqlx_postgres::dev::prelude::dev - Rust

Type Definition db_sqlx_postgres::dev::prelude::dev::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

+
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/enum.DBError.html b/db_sqlx_postgres/dev/prelude/enum.DBError.html index 6f1c7f96..1881ffe5 100644 --- a/db_sqlx_postgres/dev/prelude/enum.DBError.html +++ b/db_sqlx_postgres/dev/prelude/enum.DBError.html @@ -1,5 +1,5 @@ DBError in db_sqlx_postgres::dev::prelude - Rust
pub enum DBError {
-    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
+    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
     UsernameTaken,
     EmailTaken,
     SecretTaken,
@@ -9,7 +9,7 @@
     TrafficPatternNotFound,
     NotificationNotFound,
 }
Expand description

Error data structure grouping various error subtypes

-

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

+

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

§

UsernameTaken

Username is taken

§

EmailTaken

Email is taken

§

SecretTaken

Secret is taken

@@ -18,13 +18,13 @@
§

CaptchaNotFound

Captcha not found

§

TrafficPatternNotFound

Traffic pattern not found

§

NotificationNotFound

Notification not found

-

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

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§

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

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

+Instrumented wrapper. Read more

Calls U::from(self).

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 +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 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/db_sqlx_postgres/dev/prelude/enum.Login.html b/db_sqlx_postgres/dev/prelude/enum.Login.html index 77134b38..6b2a1ffa 100644 --- a/db_sqlx_postgres/dev/prelude/enum.Login.html +++ b/db_sqlx_postgres/dev/prelude/enum.Login.html @@ -1,17 +1,17 @@ Login in db_sqlx_postgres::dev::prelude - Rust
pub enum Login<'a> {
-    Username(&'a str),
-    Email(&'a str),
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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.

+

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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/index.html b/db_sqlx_postgres/dev/prelude/index.html index 399ff40f..6e8b13c2 100644 --- a/db_sqlx_postgres/dev/prelude/index.html +++ b/db_sqlx_postgres/dev/prelude/index.html @@ -1,3 +1,3 @@ db_sqlx_postgres::dev::prelude - Rust
Expand description

useful imports for users working with a supported database

Modules

useful imports for supporting a new database

Structs

Data required to add notification
Data representing a captcha
data required to create new captcha
Level struct that describes threshold-difficulty factor mapping
type encapsulating username and hashed password of a user
Represents notification
Data required to register a new user
datastructure representing a user’s secret
Captcha statistics with time recorded in UNIX epoch formats
User’s traffic pattern; used in generating a captcha configuration
data required to update them email of a user

Enums

Error data structure grouping various error subtypes
types of credentials used as identifiers during login

Traits

Trait to clone MCDatabase
Create database connection
Database operations trait(migrations, pool creation and fetching connection from pool)
Get database connection
mCaptcha’s database requirements. To implement support for $Database, kindly implement this -trait.
database migrations

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure
\ No newline at end of file +trait.
database migrations

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/struct.AddNotification.html b/db_sqlx_postgres/dev/prelude/struct.AddNotification.html index c144c256..d2001c48 100644 --- a/db_sqlx_postgres/dev/prelude/struct.AddNotification.html +++ b/db_sqlx_postgres/dev/prelude/struct.AddNotification.html @@ -1,21 +1,21 @@ AddNotification in db_sqlx_postgres::dev::prelude - Rust
pub struct AddNotification<'a> {
-    pub to: &'a str,
-    pub from: &'a str,
-    pub heading: &'a str,
-    pub message: &'a str,
+    pub to: &'a str,
+    pub from: &'a str,
+    pub heading: &'a str,
+    pub message: &'a str,
 }
Expand description

Data required to add notification

-

Fields§

§to: &'a str

who is the notification addressed to?

-
§from: &'a str

notification sender

-
§heading: &'a str

heading of the notification

-
§message: &'a str

message of the notification

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§to: &'a str

who is the notification addressed to?

+
§from: &'a str

notification sender

+
§heading: &'a str

heading of the notification

+
§message: &'a str

message of the notification

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/struct.Captcha.html b/db_sqlx_postgres/dev/prelude/struct.Captcha.html index fc507f53..ec76e0a4 100644 --- a/db_sqlx_postgres/dev/prelude/struct.Captcha.html +++ b/db_sqlx_postgres/dev/prelude/struct.Captcha.html @@ -1,21 +1,21 @@ Captcha in db_sqlx_postgres::dev::prelude - Rust
pub struct Captcha {
-    pub config_id: i32,
-    pub duration: i32,
-    pub description: String,
-    pub key: String,
+    pub config_id: i32,
+    pub duration: i32,
+    pub description: String,
+    pub key: String,
 }
Expand description

Data representing a captcha

-

Fields§

§config_id: i32

Database assigned ID

-
§duration: i32

cool down duration

-
§description: String

description of the captcha

-
§key: String

secret key of the captcha

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§config_id: i32

Database assigned ID

+
§duration: i32

cool down duration

+
§description: String

description of the captcha

+
§key: String

secret key of the captcha

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/struct.CreateCaptcha.html b/db_sqlx_postgres/dev/prelude/struct.CreateCaptcha.html index 317b7303..b356a19e 100644 --- a/db_sqlx_postgres/dev/prelude/struct.CreateCaptcha.html +++ b/db_sqlx_postgres/dev/prelude/struct.CreateCaptcha.html @@ -1,19 +1,19 @@ CreateCaptcha in db_sqlx_postgres::dev::prelude - Rust
pub struct CreateCaptcha<'a> {
-    pub duration: i32,
-    pub description: &'a str,
-    pub key: &'a str,
+    pub duration: i32,
+    pub description: &'a str,
+    pub key: &'a str,
 }
Expand description

data required to create new captcha

-

Fields§

§duration: i32

cool down duration

-
§description: &'a str

description of the captcha

-
§key: &'a str

secret key of the captcha

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§duration: i32

cool down duration

+
§description: &'a str

description of the captcha

+
§key: &'a str

secret key of the captcha

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/struct.Level.html b/db_sqlx_postgres/dev/prelude/struct.Level.html index 7d549117..b1d599d3 100644 --- a/db_sqlx_postgres/dev/prelude/struct.Level.html +++ b/db_sqlx_postgres/dev/prelude/struct.Level.html @@ -1,15 +1,15 @@ Level in db_sqlx_postgres::dev::prelude - Rust
pub struct Level {
-    pub visitor_threshold: u32,
-    pub difficulty_factor: u32,
+    pub visitor_threshold: u32,
+    pub difficulty_factor: u32,
 }
Expand description

Level struct that describes threshold-difficulty factor mapping

-

Fields§

§visitor_threshold: u32§difficulty_factor: u32

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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§visitor_threshold: u32§difficulty_factor: u32

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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/struct.NameHash.html b/db_sqlx_postgres/dev/prelude/struct.NameHash.html index 501634e0..7bce8908 100644 --- a/db_sqlx_postgres/dev/prelude/struct.NameHash.html +++ b/db_sqlx_postgres/dev/prelude/struct.NameHash.html @@ -1,17 +1,17 @@ NameHash in db_sqlx_postgres::dev::prelude - Rust
pub struct NameHash {
-    pub username: String,
-    pub hash: String,
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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

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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/struct.Notification.html b/db_sqlx_postgres/dev/prelude/struct.Notification.html index 4708557f..81cef923 100644 --- a/db_sqlx_postgres/dev/prelude/struct.Notification.html +++ b/db_sqlx_postgres/dev/prelude/struct.Notification.html @@ -1,23 +1,23 @@ Notification in db_sqlx_postgres::dev::prelude - Rust
pub struct Notification {
-    pub name: Option<String>,
-    pub heading: Option<String>,
-    pub message: Option<String>,
-    pub received: Option<i64>,
-    pub id: Option<i32>,
+    pub name: Option<String>,
+    pub heading: Option<String>,
+    pub message: Option<String>,
+    pub received: Option<i64>,
+    pub id: Option<i32>,
 }
Expand description

Represents notification

-

Fields§

§name: Option<String>

receiver name of the notification

-
§heading: Option<String>

heading of the notification

-
§message: Option<String>

message of the notification

-
§received: Option<i64>

when notification was received

-
§id: Option<i32>

db assigned ID of the notification

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§name: Option<String>

receiver name of the notification

+
§heading: Option<String>

heading of the notification

+
§message: Option<String>

message of the notification

+
§received: Option<i64>

when notification was received

+
§id: Option<i32>

db assigned ID of the notification

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/struct.Register.html b/db_sqlx_postgres/dev/prelude/struct.Register.html index 4470d81e..66112600 100644 --- a/db_sqlx_postgres/dev/prelude/struct.Register.html +++ b/db_sqlx_postgres/dev/prelude/struct.Register.html @@ -1,21 +1,21 @@ Register in db_sqlx_postgres::dev::prelude - Rust
pub struct Register<'a> {
-    pub username: &'a str,
-    pub secret: &'a str,
-    pub hash: &'a str,
-    pub email: Option<&'a str>,
+    pub username: &'a str,
+    pub secret: &'a str,
+    pub hash: &'a str,
+    pub email: Option<&'a str>,
 }
Expand description

Data required to register a new user

-

Fields§

§username: &'a str

username of new user

-
§secret: &'a str

secret of new user

-
§hash: &'a str

hashed password of new use

-
§email: Option<&'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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: &'a str

username of new user

+
§secret: &'a str

secret of new user

+
§hash: &'a str

hashed password of new use

+
§email: Option<&'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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/struct.Secret.html b/db_sqlx_postgres/dev/prelude/struct.Secret.html index 31de2744..d249f451 100644 --- a/db_sqlx_postgres/dev/prelude/struct.Secret.html +++ b/db_sqlx_postgres/dev/prelude/struct.Secret.html @@ -1,15 +1,15 @@ Secret in db_sqlx_postgres::dev::prelude - Rust
pub struct Secret {
-    pub secret: String,
+    pub secret: String,
 }
Expand description

datastructure representing a user’s secret

-

Fields§

§secret: String

user’s secret

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: String

user’s secret

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/struct.StatsUnixTimestamp.html b/db_sqlx_postgres/dev/prelude/struct.StatsUnixTimestamp.html index 571a6480..f83c0172 100644 --- a/db_sqlx_postgres/dev/prelude/struct.StatsUnixTimestamp.html +++ b/db_sqlx_postgres/dev/prelude/struct.StatsUnixTimestamp.html @@ -1,19 +1,19 @@ StatsUnixTimestamp in db_sqlx_postgres::dev::prelude - Rust
pub struct StatsUnixTimestamp {
-    pub config_fetches: Vec<i64, Global>,
-    pub solves: Vec<i64, Global>,
-    pub confirms: Vec<i64, Global>,
+    pub config_fetches: Vec<i64, Global>,
+    pub solves: Vec<i64, Global>,
+    pub confirms: Vec<i64, Global>,
 }
Expand description

Captcha statistics with time recorded in UNIX epoch formats

-

Fields§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

-
§solves: Vec<i64, Global>

times at which the PoW was solved

-
§confirms: Vec<i64, Global>

times at which the PoW token was verified

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

+
§solves: Vec<i64, Global>

times at which the PoW was solved

+
§confirms: Vec<i64, Global>

times at which the PoW token was verified

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/struct.TrafficPattern.html b/db_sqlx_postgres/dev/prelude/struct.TrafficPattern.html index de21670a..ad57b129 100644 --- a/db_sqlx_postgres/dev/prelude/struct.TrafficPattern.html +++ b/db_sqlx_postgres/dev/prelude/struct.TrafficPattern.html @@ -1,19 +1,19 @@ TrafficPattern in db_sqlx_postgres::dev::prelude - Rust
pub struct TrafficPattern {
-    pub avg_traffic: u32,
-    pub peak_sustainable_traffic: u32,
-    pub broke_my_site_traffic: Option<u32>,
+    pub avg_traffic: u32,
+    pub peak_sustainable_traffic: u32,
+    pub broke_my_site_traffic: Option<u32>,
 }
Expand description

User’s traffic pattern; used in generating a captcha configuration

-

Fields§

§avg_traffic: u32

average traffic of user’s website

-
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

-
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§avg_traffic: u32

average traffic of user’s website

+
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

+
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/struct.UpdateEmail.html b/db_sqlx_postgres/dev/prelude/struct.UpdateEmail.html index 371f2d69..cff19711 100644 --- a/db_sqlx_postgres/dev/prelude/struct.UpdateEmail.html +++ b/db_sqlx_postgres/dev/prelude/struct.UpdateEmail.html @@ -1,17 +1,17 @@ UpdateEmail in db_sqlx_postgres::dev::prelude - Rust
pub struct UpdateEmail<'a> {
-    pub username: &'a str,
-    pub new_email: &'a str,
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: &'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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/trait.CloneSPDatabase.html b/db_sqlx_postgres/dev/prelude/trait.CloneSPDatabase.html index d2d34bbb..7b887513 100644 --- a/db_sqlx_postgres/dev/prelude/trait.CloneSPDatabase.html +++ b/db_sqlx_postgres/dev/prelude/trait.CloneSPDatabase.html @@ -1,5 +1,5 @@ CloneSPDatabase in db_sqlx_postgres::dev::prelude - Rust
pub trait CloneSPDatabase {
-    fn clone_db(&self) -> Box<dyn MCDatabase + 'static, Global>;
+    fn clone_db(&self) -> Box<dyn MCDatabase + 'static, Global>;
 }
Expand description

Trait to clone MCDatabase

-

Required Methods§

clone DB

-

Implementors§

\ No newline at end of file +

Required Methods§

clone DB

+

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/trait.Connect.html b/db_sqlx_postgres/dev/prelude/trait.Connect.html index c10f640b..9bdb5f73 100644 --- a/db_sqlx_postgres/dev/prelude/trait.Connect.html +++ b/db_sqlx_postgres/dev/prelude/trait.Connect.html @@ -1,9 +1,9 @@ Connect in db_sqlx_postgres::dev::prelude - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
-    fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; + fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; }
Expand description

Create database connection

Required Associated Types§

database specific pool-type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/trait.DBOps.html b/db_sqlx_postgres/dev/prelude/trait.DBOps.html index 95edd5a0..45a5f002 100644 --- a/db_sqlx_postgres/dev/prelude/trait.DBOps.html +++ b/db_sqlx_postgres/dev/prelude/trait.DBOps.html @@ -1,2 +1,2 @@ DBOps in db_sqlx_postgres::dev::prelude - Rust
pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/trait.GetConnection.html b/db_sqlx_postgres/dev/prelude/trait.GetConnection.html index 319e6305..abfc416e 100644 --- a/db_sqlx_postgres/dev/prelude/trait.GetConnection.html +++ b/db_sqlx_postgres/dev/prelude/trait.GetConnection.html @@ -1,9 +1,9 @@ GetConnection in db_sqlx_postgres::dev::prelude - Rust
pub trait GetConnection {
     type Conn;
 
-    fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Get database connection

Required Associated Types§

database connection type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type get connection from connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/trait.MCDatabase.html b/db_sqlx_postgres/dev/prelude/trait.MCDatabase.html index 23c2c56b..80988ea0 100644 --- a/db_sqlx_postgres/dev/prelude/trait.MCDatabase.html +++ b/db_sqlx_postgres/dev/prelude/trait.MCDatabase.html @@ -1,76 +1,76 @@ -MCDatabase in db_sqlx_postgres::dev::prelude - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
-
Show 36 methods fn ping<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; - fn register<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 Register<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn delete_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn username_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn email_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        email: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 UpdateEmail<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        l: &'life1 Login<'_>
    ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 NameHash
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_username<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        current: &'life1 str,
        new: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_secret_from_captcha<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_secret<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        secret: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn create_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_all_user_captchas<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        old_key: &'life2 str,
        new_key: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        levels: &'life3 [Level]
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_cooldown<'life0, 'life1, 'async_trait>(
        &'life0 self,
        captcha_key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        pattern: &'life3 TrafficPattern
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn create_notification<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 AddNotification<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn mark_notification_read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        id: i32
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_solve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_confirm<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; +MCDatabase in db_sqlx_postgres::dev::prelude - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
+
Show 36 methods fn ping<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn register<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 Register<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn delete_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn username_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn email_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        email: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 UpdateEmail<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        l: &'life1 Login<'_>
    ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 NameHash
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_username<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        current: &'life1 str,
        new: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_secret_from_captcha<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_secret<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        secret: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn create_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_all_user_captchas<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        old_key: &'life2 str,
        new_key: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        levels: &'life3 [Level]
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_cooldown<'life0, 'life1, 'async_trait>(
        &'life0 self,
        captcha_key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        pattern: &'life3 TrafficPattern
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn create_notification<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 AddNotification<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn mark_notification_read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        id: i32
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_solve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_confirm<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
}
Expand description

mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.

-

Required Methods§

ping DB

-

register a new user

-

delete a user

-

check if username exists

-

get user email

-

check if email exists

-

update a user’s email

-

get a user’s password

-

update user’s password

-

update username

-

get a user’s secret

-

get a user’s secret from a captcha key

-

update a user’s secret

-

create new captcha

-

Get captcha config

-

Get all captchas belonging to user

-

update captcha metadata; doesn’t change captcha key

-

update captcha key; doesn’t change metadata

-

Add levels to captcha

-

check if captcha exists

-

Delete all levels of a captcha

-

Delete captcha

-

Get captcha levels

-

Get captcha’s cooldown period

-

Add traffic configuration

-

Get traffic configuration

-

Delete traffic configuration

-

create new notification

-

get all unread notifications

-

mark a notification read

-

record PoWConfig fetches

-

record PoWConfig solves

-

record PoWConfig confirms

-

fetch PoWConfig fetches

-

fetch PoWConfig solves

-

fetch PoWConfig confirms

-

Implementors§

\ No newline at end of file +

Required Methods§

ping DB

+

register a new user

+

delete a user

+

check if username exists

+

get user email

+

check if email exists

+

update a user’s email

+

get a user’s password

+

update user’s password

+

update username

+

get a user’s secret

+

get a user’s secret from a captcha key

+

update a user’s secret

+

create new captcha

+

Get captcha config

+

Get all captchas belonging to user

+

update captcha metadata; doesn’t change captcha key

+

update captcha key; doesn’t change metadata

+

Add levels to captcha

+

check if captcha exists

+

Delete all levels of a captcha

+

Delete captcha

+

Get captcha levels

+

Get captcha’s cooldown period

+

Add traffic configuration

+

Get traffic configuration

+

Delete traffic configuration

+

create new notification

+

get all unread notifications

+

mark a notification read

+

record PoWConfig fetches

+

record PoWConfig solves

+

record PoWConfig confirms

+

fetch PoWConfig fetches

+

fetch PoWConfig solves

+

fetch PoWConfig confirms

+

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/trait.Migrate.html b/db_sqlx_postgres/dev/prelude/trait.Migrate.html index 054a1950..a0a93363 100644 --- a/db_sqlx_postgres/dev/prelude/trait.Migrate.html +++ b/db_sqlx_postgres/dev/prelude/trait.Migrate.html @@ -1,6 +1,6 @@ Migrate in db_sqlx_postgres::dev::prelude - Rust
pub trait Migrate: MCDatabase {
-    fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

database migrations

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/type.BoxDynError.html b/db_sqlx_postgres/dev/prelude/type.BoxDynError.html index ceabbfe5..861c04b2 100644 --- a/db_sqlx_postgres/dev/prelude/type.BoxDynError.html +++ b/db_sqlx_postgres/dev/prelude/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_postgres::dev::prelude - Rust

Type Definition db_sqlx_postgres::dev::prelude::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

-
\ No newline at end of file +BoxDynError in db_sqlx_postgres::dev::prelude - Rust

Type Definition db_sqlx_postgres::dev::prelude::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

+
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/type.DBResult.html b/db_sqlx_postgres/dev/prelude/type.DBResult.html index 81eb2fd3..8ce911d3 100644 --- a/db_sqlx_postgres/dev/prelude/type.DBResult.html +++ b/db_sqlx_postgres/dev/prelude/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_postgres::dev::prelude - Rust

Type Definition db_sqlx_postgres::dev::prelude::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

-
\ No newline at end of file +DBResult in db_sqlx_postgres::dev::prelude - Rust

Type Definition db_sqlx_postgres::dev::prelude::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

+
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/struct.AddNotification.html b/db_sqlx_postgres/dev/struct.AddNotification.html index 6aa6d63a..10cfcc9b 100644 --- a/db_sqlx_postgres/dev/struct.AddNotification.html +++ b/db_sqlx_postgres/dev/struct.AddNotification.html @@ -1,21 +1,21 @@ AddNotification in db_sqlx_postgres::dev - Rust
pub struct AddNotification<'a> {
-    pub to: &'a str,
-    pub from: &'a str,
-    pub heading: &'a str,
-    pub message: &'a str,
+    pub to: &'a str,
+    pub from: &'a str,
+    pub heading: &'a str,
+    pub message: &'a str,
 }
Expand description

Data required to add notification

-

Fields§

§to: &'a str

who is the notification addressed to?

-
§from: &'a str

notification sender

-
§heading: &'a str

heading of the notification

-
§message: &'a str

message of the notification

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§to: &'a str

who is the notification addressed to?

+
§from: &'a str

notification sender

+
§heading: &'a str

heading of the notification

+
§message: &'a str

message of the notification

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/struct.Captcha.html b/db_sqlx_postgres/dev/struct.Captcha.html index 27a7c889..d201de06 100644 --- a/db_sqlx_postgres/dev/struct.Captcha.html +++ b/db_sqlx_postgres/dev/struct.Captcha.html @@ -1,21 +1,21 @@ Captcha in db_sqlx_postgres::dev - Rust
pub struct Captcha {
-    pub config_id: i32,
-    pub duration: i32,
-    pub description: String,
-    pub key: String,
+    pub config_id: i32,
+    pub duration: i32,
+    pub description: String,
+    pub key: String,
 }
Expand description

Data representing a captcha

-

Fields§

§config_id: i32

Database assigned ID

-
§duration: i32

cool down duration

-
§description: String

description of the captcha

-
§key: String

secret key of the captcha

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§config_id: i32

Database assigned ID

+
§duration: i32

cool down duration

+
§description: String

description of the captcha

+
§key: String

secret key of the captcha

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/struct.CreateCaptcha.html b/db_sqlx_postgres/dev/struct.CreateCaptcha.html index 83b31319..5421fe29 100644 --- a/db_sqlx_postgres/dev/struct.CreateCaptcha.html +++ b/db_sqlx_postgres/dev/struct.CreateCaptcha.html @@ -1,19 +1,19 @@ CreateCaptcha in db_sqlx_postgres::dev - Rust
pub struct CreateCaptcha<'a> {
-    pub duration: i32,
-    pub description: &'a str,
-    pub key: &'a str,
+    pub duration: i32,
+    pub description: &'a str,
+    pub key: &'a str,
 }
Expand description

data required to create new captcha

-

Fields§

§duration: i32

cool down duration

-
§description: &'a str

description of the captcha

-
§key: &'a str

secret key of the captcha

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§duration: i32

cool down duration

+
§description: &'a str

description of the captcha

+
§key: &'a str

secret key of the captcha

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/struct.Level.html b/db_sqlx_postgres/dev/struct.Level.html index 8058a5f3..bf2d3c1a 100644 --- a/db_sqlx_postgres/dev/struct.Level.html +++ b/db_sqlx_postgres/dev/struct.Level.html @@ -1,15 +1,15 @@ Level in db_sqlx_postgres::dev - Rust

Struct db_sqlx_postgres::dev::Level

pub struct Level {
-    pub visitor_threshold: u32,
-    pub difficulty_factor: u32,
+    pub visitor_threshold: u32,
+    pub difficulty_factor: u32,
 }
Expand description

Level struct that describes threshold-difficulty factor mapping

-

Fields§

§visitor_threshold: u32§difficulty_factor: u32

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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§visitor_threshold: u32§difficulty_factor: u32

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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/struct.NameHash.html b/db_sqlx_postgres/dev/struct.NameHash.html index 12150cb7..5c763648 100644 --- a/db_sqlx_postgres/dev/struct.NameHash.html +++ b/db_sqlx_postgres/dev/struct.NameHash.html @@ -1,17 +1,17 @@ NameHash in db_sqlx_postgres::dev - Rust
pub struct NameHash {
-    pub username: String,
-    pub hash: String,
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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

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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/struct.Notification.html b/db_sqlx_postgres/dev/struct.Notification.html index 95155c1a..dc32279d 100644 --- a/db_sqlx_postgres/dev/struct.Notification.html +++ b/db_sqlx_postgres/dev/struct.Notification.html @@ -1,23 +1,23 @@ Notification in db_sqlx_postgres::dev - Rust
pub struct Notification {
-    pub name: Option<String>,
-    pub heading: Option<String>,
-    pub message: Option<String>,
-    pub received: Option<i64>,
-    pub id: Option<i32>,
+    pub name: Option<String>,
+    pub heading: Option<String>,
+    pub message: Option<String>,
+    pub received: Option<i64>,
+    pub id: Option<i32>,
 }
Expand description

Represents notification

-

Fields§

§name: Option<String>

receiver name of the notification

-
§heading: Option<String>

heading of the notification

-
§message: Option<String>

message of the notification

-
§received: Option<i64>

when notification was received

-
§id: Option<i32>

db assigned ID of the notification

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§name: Option<String>

receiver name of the notification

+
§heading: Option<String>

heading of the notification

+
§message: Option<String>

message of the notification

+
§received: Option<i64>

when notification was received

+
§id: Option<i32>

db assigned ID of the notification

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/struct.Register.html b/db_sqlx_postgres/dev/struct.Register.html index 093bf2dd..b5d8ea50 100644 --- a/db_sqlx_postgres/dev/struct.Register.html +++ b/db_sqlx_postgres/dev/struct.Register.html @@ -1,21 +1,21 @@ Register in db_sqlx_postgres::dev - Rust
pub struct Register<'a> {
-    pub username: &'a str,
-    pub secret: &'a str,
-    pub hash: &'a str,
-    pub email: Option<&'a str>,
+    pub username: &'a str,
+    pub secret: &'a str,
+    pub hash: &'a str,
+    pub email: Option<&'a str>,
 }
Expand description

Data required to register a new user

-

Fields§

§username: &'a str

username of new user

-
§secret: &'a str

secret of new user

-
§hash: &'a str

hashed password of new use

-
§email: Option<&'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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: &'a str

username of new user

+
§secret: &'a str

secret of new user

+
§hash: &'a str

hashed password of new use

+
§email: Option<&'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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/struct.Secret.html b/db_sqlx_postgres/dev/struct.Secret.html index 1cb15a18..6d90c1be 100644 --- a/db_sqlx_postgres/dev/struct.Secret.html +++ b/db_sqlx_postgres/dev/struct.Secret.html @@ -1,15 +1,15 @@ Secret in db_sqlx_postgres::dev - Rust
pub struct Secret {
-    pub secret: String,
+    pub secret: String,
 }
Expand description

datastructure representing a user’s secret

-

Fields§

§secret: String

user’s secret

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: String

user’s secret

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/struct.StatsUnixTimestamp.html b/db_sqlx_postgres/dev/struct.StatsUnixTimestamp.html index 65c6fecd..caccf5ec 100644 --- a/db_sqlx_postgres/dev/struct.StatsUnixTimestamp.html +++ b/db_sqlx_postgres/dev/struct.StatsUnixTimestamp.html @@ -1,19 +1,19 @@ StatsUnixTimestamp in db_sqlx_postgres::dev - Rust
pub struct StatsUnixTimestamp {
-    pub config_fetches: Vec<i64, Global>,
-    pub solves: Vec<i64, Global>,
-    pub confirms: Vec<i64, Global>,
+    pub config_fetches: Vec<i64, Global>,
+    pub solves: Vec<i64, Global>,
+    pub confirms: Vec<i64, Global>,
 }
Expand description

Captcha statistics with time recorded in UNIX epoch formats

-

Fields§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

-
§solves: Vec<i64, Global>

times at which the PoW was solved

-
§confirms: Vec<i64, Global>

times at which the PoW token was verified

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

+
§solves: Vec<i64, Global>

times at which the PoW was solved

+
§confirms: Vec<i64, Global>

times at which the PoW token was verified

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/struct.TrafficPattern.html b/db_sqlx_postgres/dev/struct.TrafficPattern.html index 7591d1bb..69bc113c 100644 --- a/db_sqlx_postgres/dev/struct.TrafficPattern.html +++ b/db_sqlx_postgres/dev/struct.TrafficPattern.html @@ -1,19 +1,19 @@ TrafficPattern in db_sqlx_postgres::dev - Rust
pub struct TrafficPattern {
-    pub avg_traffic: u32,
-    pub peak_sustainable_traffic: u32,
-    pub broke_my_site_traffic: Option<u32>,
+    pub avg_traffic: u32,
+    pub peak_sustainable_traffic: u32,
+    pub broke_my_site_traffic: Option<u32>,
 }
Expand description

User’s traffic pattern; used in generating a captcha configuration

-

Fields§

§avg_traffic: u32

average traffic of user’s website

-
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

-
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§avg_traffic: u32

average traffic of user’s website

+
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

+
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/struct.UpdateEmail.html b/db_sqlx_postgres/dev/struct.UpdateEmail.html index 365b9009..46bdfa64 100644 --- a/db_sqlx_postgres/dev/struct.UpdateEmail.html +++ b/db_sqlx_postgres/dev/struct.UpdateEmail.html @@ -1,17 +1,17 @@ UpdateEmail in db_sqlx_postgres::dev - Rust
pub struct UpdateEmail<'a> {
-    pub username: &'a str,
-    pub new_email: &'a str,
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: &'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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/tests/fn.database_works.html b/db_sqlx_postgres/dev/tests/fn.database_works.html index 8ffa287e..d1af2bba 100644 --- a/db_sqlx_postgres/dev/tests/fn.database_works.html +++ b/db_sqlx_postgres/dev/tests/fn.database_works.html @@ -1,2 +1,2 @@ -database_works in db_sqlx_postgres::dev::tests - Rust
pub async fn database_works<T, 'a>(
    db: &T,
    p: &Register<'a>,
    c: &CreateCaptcha<'a>,
    l: &[Level],
    tp: &TrafficPattern,
    an: &AddNotification<'a>
) -> impl Future<Output = ()>where
    T: MCDatabase,
Expand description

test all database functions

-
\ No newline at end of file +database_works in db_sqlx_postgres::dev::tests - Rust
pub async fn database_works<T, 'a>(
    db: &T,
    p: &Register<'a>,
    c: &CreateCaptcha<'a>,
    l: &[Level],
    tp: &TrafficPattern,
    an: &AddNotification<'a>
) -> impl Future<Output = ()>where
    T: MCDatabase,
Expand description

test all database functions

+
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/tests/index.html b/db_sqlx_postgres/dev/tests/index.html index 92683914..251a2181 100644 --- a/db_sqlx_postgres/dev/tests/index.html +++ b/db_sqlx_postgres/dev/tests/index.html @@ -1,2 +1,2 @@ db_sqlx_postgres::dev::tests - Rust

Module db_sqlx_postgres::dev::tests

Expand description

Test utilities

-

Functions

test all database functions
\ No newline at end of file +

Functions

test all database functions
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/trait.CloneSPDatabase.html b/db_sqlx_postgres/dev/trait.CloneSPDatabase.html index 4175a9ed..06bbeabe 100644 --- a/db_sqlx_postgres/dev/trait.CloneSPDatabase.html +++ b/db_sqlx_postgres/dev/trait.CloneSPDatabase.html @@ -1,5 +1,5 @@ CloneSPDatabase in db_sqlx_postgres::dev - Rust
pub trait CloneSPDatabase {
-    fn clone_db(&self) -> Box<dyn MCDatabase + 'static, Global>;
+    fn clone_db(&self) -> Box<dyn MCDatabase + 'static, Global>;
 }
Expand description

Trait to clone MCDatabase

-

Required Methods§

clone DB

-

Implementors§

\ No newline at end of file +

Required Methods§

clone DB

+

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/trait.Connect.html b/db_sqlx_postgres/dev/trait.Connect.html index 5eca9cd3..8765dcc8 100644 --- a/db_sqlx_postgres/dev/trait.Connect.html +++ b/db_sqlx_postgres/dev/trait.Connect.html @@ -1,9 +1,9 @@ Connect in db_sqlx_postgres::dev - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
-    fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; + fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; }
Expand description

Create database connection

Required Associated Types§

database specific pool-type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/trait.DBOps.html b/db_sqlx_postgres/dev/trait.DBOps.html index 3343fc72..ccfac50d 100644 --- a/db_sqlx_postgres/dev/trait.DBOps.html +++ b/db_sqlx_postgres/dev/trait.DBOps.html @@ -1,2 +1,2 @@ DBOps in db_sqlx_postgres::dev - Rust
pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/trait.GetConnection.html b/db_sqlx_postgres/dev/trait.GetConnection.html index 75fcec95..d943b91b 100644 --- a/db_sqlx_postgres/dev/trait.GetConnection.html +++ b/db_sqlx_postgres/dev/trait.GetConnection.html @@ -1,9 +1,9 @@ GetConnection in db_sqlx_postgres::dev - Rust
pub trait GetConnection {
     type Conn;
 
-    fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Get database connection

Required Associated Types§

database connection type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type get connection from connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/trait.MCDatabase.html b/db_sqlx_postgres/dev/trait.MCDatabase.html index 296ab419..ee44ced9 100644 --- a/db_sqlx_postgres/dev/trait.MCDatabase.html +++ b/db_sqlx_postgres/dev/trait.MCDatabase.html @@ -1,76 +1,76 @@ -MCDatabase in db_sqlx_postgres::dev - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
-
Show 36 methods fn ping<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; - fn register<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 Register<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn delete_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn username_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn email_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        email: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 UpdateEmail<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        l: &'life1 Login<'_>
    ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 NameHash
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_username<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        current: &'life1 str,
        new: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_secret_from_captcha<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_secret<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        secret: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn create_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_all_user_captchas<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        old_key: &'life2 str,
        new_key: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        levels: &'life3 [Level]
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_cooldown<'life0, 'life1, 'async_trait>(
        &'life0 self,
        captcha_key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        pattern: &'life3 TrafficPattern
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn create_notification<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 AddNotification<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn mark_notification_read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        id: i32
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_solve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_confirm<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; +MCDatabase in db_sqlx_postgres::dev - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
+
Show 36 methods fn ping<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn register<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 Register<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn delete_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn username_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn email_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        email: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 UpdateEmail<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        l: &'life1 Login<'_>
    ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 NameHash
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_username<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        current: &'life1 str,
        new: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_secret_from_captcha<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_secret<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        secret: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn create_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_all_user_captchas<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        old_key: &'life2 str,
        new_key: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        levels: &'life3 [Level]
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_cooldown<'life0, 'life1, 'async_trait>(
        &'life0 self,
        captcha_key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        pattern: &'life3 TrafficPattern
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn create_notification<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 AddNotification<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn mark_notification_read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        id: i32
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_solve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_confirm<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
}
Expand description

mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.

-

Required Methods§

ping DB

-

register a new user

-

delete a user

-

check if username exists

-

get user email

-

check if email exists

-

update a user’s email

-

get a user’s password

-

update user’s password

-

update username

-

get a user’s secret

-

get a user’s secret from a captcha key

-

update a user’s secret

-

create new captcha

-

Get captcha config

-

Get all captchas belonging to user

-

update captcha metadata; doesn’t change captcha key

-

update captcha key; doesn’t change metadata

-

Add levels to captcha

-

check if captcha exists

-

Delete all levels of a captcha

-

Delete captcha

-

Get captcha levels

-

Get captcha’s cooldown period

-

Add traffic configuration

-

Get traffic configuration

-

Delete traffic configuration

-

create new notification

-

get all unread notifications

-

mark a notification read

-

record PoWConfig fetches

-

record PoWConfig solves

-

record PoWConfig confirms

-

fetch PoWConfig fetches

-

fetch PoWConfig solves

-

fetch PoWConfig confirms

-

Implementors§

\ No newline at end of file +

Required Methods§

ping DB

+

register a new user

+

delete a user

+

check if username exists

+

get user email

+

check if email exists

+

update a user’s email

+

get a user’s password

+

update user’s password

+

update username

+

get a user’s secret

+

get a user’s secret from a captcha key

+

update a user’s secret

+

create new captcha

+

Get captcha config

+

Get all captchas belonging to user

+

update captcha metadata; doesn’t change captcha key

+

update captcha key; doesn’t change metadata

+

Add levels to captcha

+

check if captcha exists

+

Delete all levels of a captcha

+

Delete captcha

+

Get captcha levels

+

Get captcha’s cooldown period

+

Add traffic configuration

+

Get traffic configuration

+

Delete traffic configuration

+

create new notification

+

get all unread notifications

+

mark a notification read

+

record PoWConfig fetches

+

record PoWConfig solves

+

record PoWConfig confirms

+

fetch PoWConfig fetches

+

fetch PoWConfig solves

+

fetch PoWConfig confirms

+

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/trait.Migrate.html b/db_sqlx_postgres/dev/trait.Migrate.html index 5b520980..9623c349 100644 --- a/db_sqlx_postgres/dev/trait.Migrate.html +++ b/db_sqlx_postgres/dev/trait.Migrate.html @@ -1,6 +1,6 @@ Migrate in db_sqlx_postgres::dev - Rust
pub trait Migrate: MCDatabase {
-    fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

database migrations

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/type.BoxDynError.html b/db_sqlx_postgres/dev/type.BoxDynError.html index 54e31f63..54070f04 100644 --- a/db_sqlx_postgres/dev/type.BoxDynError.html +++ b/db_sqlx_postgres/dev/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_postgres::dev - Rust

Type Definition db_sqlx_postgres::dev::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

-
\ No newline at end of file +BoxDynError in db_sqlx_postgres::dev - Rust

Type Definition db_sqlx_postgres::dev::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

+
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/type.DBResult.html b/db_sqlx_postgres/dev/type.DBResult.html index 7d253e2f..555bf3ab 100644 --- a/db_sqlx_postgres/dev/type.DBResult.html +++ b/db_sqlx_postgres/dev/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_postgres::dev - Rust

Type Definition db_sqlx_postgres::dev::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

-
\ No newline at end of file +DBResult in db_sqlx_postgres::dev - Rust

Type Definition db_sqlx_postgres::dev::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

+
\ No newline at end of file diff --git a/db_sqlx_postgres/enum.ConnectionOptions.html b/db_sqlx_postgres/enum.ConnectionOptions.html index 61f3de95..2b65903b 100644 --- a/db_sqlx_postgres/enum.ConnectionOptions.html +++ b/db_sqlx_postgres/enum.ConnectionOptions.html @@ -4,13 +4,13 @@ }
Expand description

Connect to database

Variants§

§

Fresh(Fresh)

fresh connection

§

Existing(Conn)

existing connection

-

Trait Implementations§

database specific pool-type
database specific error-type -create connection pool

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§

database specific pool-type
database specific error-type +create connection pool

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/errors/fn.map_register_err.html b/db_sqlx_postgres/errors/fn.map_register_err.html index 562c72e0..6f79fa3a 100644 --- a/db_sqlx_postgres/errors/fn.map_register_err.html +++ b/db_sqlx_postgres/errors/fn.map_register_err.html @@ -1,2 +1,2 @@ map_register_err in db_sqlx_postgres::errors - Rust
pub fn map_register_err(e: Error) -> DBError
Expand description

map postgres errors to DBError types

-
\ No newline at end of file +
\ No newline at end of file diff --git a/db_sqlx_postgres/errors/fn.map_row_not_found_err.html b/db_sqlx_postgres/errors/fn.map_row_not_found_err.html index 39b1e8c7..fb967e0b 100644 --- a/db_sqlx_postgres/errors/fn.map_row_not_found_err.html +++ b/db_sqlx_postgres/errors/fn.map_row_not_found_err.html @@ -1,2 +1,2 @@ map_row_not_found_err in db_sqlx_postgres::errors - Rust
pub fn map_row_not_found_err(e: Error, row_not_found: DBError) -> DBError
Expand description

map custom row not found error to DB error

-
\ No newline at end of file +
\ No newline at end of file diff --git a/db_sqlx_postgres/errors/index.html b/db_sqlx_postgres/errors/index.html index 27ad0884..d9a8d0cd 100644 --- a/db_sqlx_postgres/errors/index.html +++ b/db_sqlx_postgres/errors/index.html @@ -1,2 +1,2 @@ db_sqlx_postgres::errors - Rust
Expand description

Error-handling utilities

-

Functions

map postgres errors to DBError types
map custom row not found error to DB error
\ No newline at end of file +

Functions

map postgres errors to DBError types
map custom row not found error to DB error
\ No newline at end of file diff --git a/db_sqlx_postgres/index.html b/db_sqlx_postgres/index.html index 627f3bf0..7dfa10d1 100644 --- a/db_sqlx_postgres/index.html +++ b/db_sqlx_postgres/index.html @@ -1 +1 @@ -db_sqlx_postgres - Rust

Crate db_sqlx_postgres

source ·

Modules

Error-handling utilities

Structs

Use an existing database pool
Represents notification

Enums

Connect to database
\ No newline at end of file +db_sqlx_postgres - Rust

Crate db_sqlx_postgres

source ·

Modules

Error-handling utilities

Structs

Use an existing database pool
Represents notification

Enums

Connect to database
\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/enum.DBError.html b/db_sqlx_postgres/prelude/enum.DBError.html index c44034e6..67fa7e62 100644 --- a/db_sqlx_postgres/prelude/enum.DBError.html +++ b/db_sqlx_postgres/prelude/enum.DBError.html @@ -1,5 +1,5 @@ DBError in db_sqlx_postgres::prelude - Rust
pub enum DBError {
-    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
+    DBError(Box<dyn Error + Sync + Send + 'static, Global>),
     UsernameTaken,
     EmailTaken,
     SecretTaken,
@@ -9,7 +9,7 @@
     TrafficPatternNotFound,
     NotificationNotFound,
 }
Expand description

Error data structure grouping various error subtypes

-

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

+

Variants§

§

DBError(Box<dyn Error + Sync + Send + 'static, Global>)

errors that are specific to a database implementation

§

UsernameTaken

Username is taken

§

EmailTaken

Email is taken

§

SecretTaken

Secret is taken

@@ -18,13 +18,13 @@
§

CaptchaNotFound

Captcha not found

§

TrafficPatternNotFound

Traffic pattern not found

§

NotificationNotFound

Notification not found

-

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

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§

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

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

+Instrumented wrapper. Read more

Calls U::from(self).

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 +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 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/db_sqlx_postgres/prelude/enum.Login.html b/db_sqlx_postgres/prelude/enum.Login.html index f41e8a4b..7551c5c2 100644 --- a/db_sqlx_postgres/prelude/enum.Login.html +++ b/db_sqlx_postgres/prelude/enum.Login.html @@ -1,17 +1,17 @@ Login in db_sqlx_postgres::prelude - Rust
pub enum Login<'a> {
-    Username(&'a str),
-    Email(&'a str),
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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.

+

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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/index.html b/db_sqlx_postgres/prelude/index.html index 49b5bb49..84d03638 100644 --- a/db_sqlx_postgres/prelude/index.html +++ b/db_sqlx_postgres/prelude/index.html @@ -1,2 +1,2 @@ db_sqlx_postgres::prelude - Rust

Re-exports

pub use super::*;

Modules

meta operations like migration and connecting to a database
Test utilities

Structs

Data required to add notification
Data representing a captcha
data required to create new captcha
Level struct that describes threshold-difficulty factor mapping
type encapsulating username and hashed password of a user
Represents notification
Data required to register a new user
datastructure representing a user’s secret
Captcha statistics with time recorded in UNIX epoch formats
User’s traffic pattern; used in generating a captcha configuration
data required to update them email of a user

Enums

Error data structure grouping various error subtypes
types of credentials used as identifiers during login

Traits

Trait to clone MCDatabase
Create database connection
Database operations trait(migrations, pool creation and fetching connection from pool)
Get database connection
mCaptcha’s database requirements. To implement support for $Database, kindly implement this -trait.
database migrations

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure
\ No newline at end of file +trait.
database migrations

Type Definitions

Convenience type alias for grouping driver-specific errors
Generic result data structure
\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/ops/index.html b/db_sqlx_postgres/prelude/ops/index.html index 50a7940b..2dde62f6 100644 --- a/db_sqlx_postgres/prelude/ops/index.html +++ b/db_sqlx_postgres/prelude/ops/index.html @@ -1,2 +1,2 @@ db_sqlx_postgres::prelude::ops - Rust
Expand description

meta operations like migration and connecting to a database

-

Traits

Create database connection
Database operations trait(migrations, pool creation and fetching connection from pool)
Get database connection
database migrations
\ No newline at end of file +

Traits

Create database connection
Database operations trait(migrations, pool creation and fetching connection from pool)
Get database connection
database migrations
\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/ops/trait.Connect.html b/db_sqlx_postgres/prelude/ops/trait.Connect.html index 14a24015..51549dc0 100644 --- a/db_sqlx_postgres/prelude/ops/trait.Connect.html +++ b/db_sqlx_postgres/prelude/ops/trait.Connect.html @@ -1,9 +1,9 @@ Connect in db_sqlx_postgres::prelude::ops - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
-    fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; + fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; }
Expand description

Create database connection

Required Associated Types§

database specific pool-type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/ops/trait.DBOps.html b/db_sqlx_postgres/prelude/ops/trait.DBOps.html index 9cab7461..527133a7 100644 --- a/db_sqlx_postgres/prelude/ops/trait.DBOps.html +++ b/db_sqlx_postgres/prelude/ops/trait.DBOps.html @@ -1,2 +1,2 @@ DBOps in db_sqlx_postgres::prelude::ops - Rust
pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/ops/trait.GetConnection.html b/db_sqlx_postgres/prelude/ops/trait.GetConnection.html index 91365e84..58ab270b 100644 --- a/db_sqlx_postgres/prelude/ops/trait.GetConnection.html +++ b/db_sqlx_postgres/prelude/ops/trait.GetConnection.html @@ -1,9 +1,9 @@ GetConnection in db_sqlx_postgres::prelude::ops - Rust
pub trait GetConnection {
     type Conn;
 
-    fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Get database connection

Required Associated Types§

database connection type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type get connection from connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/ops/trait.Migrate.html b/db_sqlx_postgres/prelude/ops/trait.Migrate.html index 53802b16..b9985367 100644 --- a/db_sqlx_postgres/prelude/ops/trait.Migrate.html +++ b/db_sqlx_postgres/prelude/ops/trait.Migrate.html @@ -1,6 +1,6 @@ Migrate in db_sqlx_postgres::prelude::ops - Rust
pub trait Migrate: MCDatabase {
-    fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

database migrations

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/struct.AddNotification.html b/db_sqlx_postgres/prelude/struct.AddNotification.html index 3f0454dd..32aa1e5c 100644 --- a/db_sqlx_postgres/prelude/struct.AddNotification.html +++ b/db_sqlx_postgres/prelude/struct.AddNotification.html @@ -1,21 +1,21 @@ AddNotification in db_sqlx_postgres::prelude - Rust
pub struct AddNotification<'a> {
-    pub to: &'a str,
-    pub from: &'a str,
-    pub heading: &'a str,
-    pub message: &'a str,
+    pub to: &'a str,
+    pub from: &'a str,
+    pub heading: &'a str,
+    pub message: &'a str,
 }
Expand description

Data required to add notification

-

Fields§

§to: &'a str

who is the notification addressed to?

-
§from: &'a str

notification sender

-
§heading: &'a str

heading of the notification

-
§message: &'a str

message of the notification

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§to: &'a str

who is the notification addressed to?

+
§from: &'a str

notification sender

+
§heading: &'a str

heading of the notification

+
§message: &'a str

message of the notification

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/struct.Captcha.html b/db_sqlx_postgres/prelude/struct.Captcha.html index 709ed981..ff90924c 100644 --- a/db_sqlx_postgres/prelude/struct.Captcha.html +++ b/db_sqlx_postgres/prelude/struct.Captcha.html @@ -1,21 +1,21 @@ Captcha in db_sqlx_postgres::prelude - Rust
pub struct Captcha {
-    pub config_id: i32,
-    pub duration: i32,
-    pub description: String,
-    pub key: String,
+    pub config_id: i32,
+    pub duration: i32,
+    pub description: String,
+    pub key: String,
 }
Expand description

Data representing a captcha

-

Fields§

§config_id: i32

Database assigned ID

-
§duration: i32

cool down duration

-
§description: String

description of the captcha

-
§key: String

secret key of the captcha

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§config_id: i32

Database assigned ID

+
§duration: i32

cool down duration

+
§description: String

description of the captcha

+
§key: String

secret key of the captcha

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/struct.CreateCaptcha.html b/db_sqlx_postgres/prelude/struct.CreateCaptcha.html index 84492986..32747dd9 100644 --- a/db_sqlx_postgres/prelude/struct.CreateCaptcha.html +++ b/db_sqlx_postgres/prelude/struct.CreateCaptcha.html @@ -1,19 +1,19 @@ CreateCaptcha in db_sqlx_postgres::prelude - Rust
pub struct CreateCaptcha<'a> {
-    pub duration: i32,
-    pub description: &'a str,
-    pub key: &'a str,
+    pub duration: i32,
+    pub description: &'a str,
+    pub key: &'a str,
 }
Expand description

data required to create new captcha

-

Fields§

§duration: i32

cool down duration

-
§description: &'a str

description of the captcha

-
§key: &'a str

secret key of the captcha

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§duration: i32

cool down duration

+
§description: &'a str

description of the captcha

+
§key: &'a str

secret key of the captcha

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/struct.Level.html b/db_sqlx_postgres/prelude/struct.Level.html index 919597e4..acad714f 100644 --- a/db_sqlx_postgres/prelude/struct.Level.html +++ b/db_sqlx_postgres/prelude/struct.Level.html @@ -1,15 +1,15 @@ Level in db_sqlx_postgres::prelude - Rust
pub struct Level {
-    pub visitor_threshold: u32,
-    pub difficulty_factor: u32,
+    pub visitor_threshold: u32,
+    pub difficulty_factor: u32,
 }
Expand description

Level struct that describes threshold-difficulty factor mapping

-

Fields§

§visitor_threshold: u32§difficulty_factor: u32

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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§visitor_threshold: u32§difficulty_factor: u32

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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/struct.NameHash.html b/db_sqlx_postgres/prelude/struct.NameHash.html index fad3e33c..3f0902a3 100644 --- a/db_sqlx_postgres/prelude/struct.NameHash.html +++ b/db_sqlx_postgres/prelude/struct.NameHash.html @@ -1,17 +1,17 @@ NameHash in db_sqlx_postgres::prelude - Rust
pub struct NameHash {
-    pub username: String,
-    pub hash: String,
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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

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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/struct.Notification.html b/db_sqlx_postgres/prelude/struct.Notification.html index 1bbcd968..43c3b7ec 100644 --- a/db_sqlx_postgres/prelude/struct.Notification.html +++ b/db_sqlx_postgres/prelude/struct.Notification.html @@ -1,23 +1,23 @@ Notification in db_sqlx_postgres::prelude - Rust
pub struct Notification {
-    pub name: Option<String>,
-    pub heading: Option<String>,
-    pub message: Option<String>,
-    pub received: Option<i64>,
-    pub id: Option<i32>,
+    pub name: Option<String>,
+    pub heading: Option<String>,
+    pub message: Option<String>,
+    pub received: Option<i64>,
+    pub id: Option<i32>,
 }
Expand description

Represents notification

-

Fields§

§name: Option<String>

receiver name of the notification

-
§heading: Option<String>

heading of the notification

-
§message: Option<String>

message of the notification

-
§received: Option<i64>

when notification was received

-
§id: Option<i32>

db assigned ID of the notification

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§name: Option<String>

receiver name of the notification

+
§heading: Option<String>

heading of the notification

+
§message: Option<String>

message of the notification

+
§received: Option<i64>

when notification was received

+
§id: Option<i32>

db assigned ID of the notification

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/struct.Register.html b/db_sqlx_postgres/prelude/struct.Register.html index 39110426..dd3eabec 100644 --- a/db_sqlx_postgres/prelude/struct.Register.html +++ b/db_sqlx_postgres/prelude/struct.Register.html @@ -1,21 +1,21 @@ Register in db_sqlx_postgres::prelude - Rust
pub struct Register<'a> {
-    pub username: &'a str,
-    pub secret: &'a str,
-    pub hash: &'a str,
-    pub email: Option<&'a str>,
+    pub username: &'a str,
+    pub secret: &'a str,
+    pub hash: &'a str,
+    pub email: Option<&'a str>,
 }
Expand description

Data required to register a new user

-

Fields§

§username: &'a str

username of new user

-
§secret: &'a str

secret of new user

-
§hash: &'a str

hashed password of new use

-
§email: Option<&'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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: &'a str

username of new user

+
§secret: &'a str

secret of new user

+
§hash: &'a str

hashed password of new use

+
§email: Option<&'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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/struct.Secret.html b/db_sqlx_postgres/prelude/struct.Secret.html index b922176b..b738e34d 100644 --- a/db_sqlx_postgres/prelude/struct.Secret.html +++ b/db_sqlx_postgres/prelude/struct.Secret.html @@ -1,15 +1,15 @@ Secret in db_sqlx_postgres::prelude - Rust
pub struct Secret {
-    pub secret: String,
+    pub secret: String,
 }
Expand description

datastructure representing a user’s secret

-

Fields§

§secret: String

user’s secret

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: String

user’s secret

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/struct.StatsUnixTimestamp.html b/db_sqlx_postgres/prelude/struct.StatsUnixTimestamp.html index 86770dfb..82f2b87c 100644 --- a/db_sqlx_postgres/prelude/struct.StatsUnixTimestamp.html +++ b/db_sqlx_postgres/prelude/struct.StatsUnixTimestamp.html @@ -1,19 +1,19 @@ StatsUnixTimestamp in db_sqlx_postgres::prelude - Rust
pub struct StatsUnixTimestamp {
-    pub config_fetches: Vec<i64, Global>,
-    pub solves: Vec<i64, Global>,
-    pub confirms: Vec<i64, Global>,
+    pub config_fetches: Vec<i64, Global>,
+    pub solves: Vec<i64, Global>,
+    pub confirms: Vec<i64, Global>,
 }
Expand description

Captcha statistics with time recorded in UNIX epoch formats

-

Fields§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

-
§solves: Vec<i64, Global>

times at which the PoW was solved

-
§confirms: Vec<i64, Global>

times at which the PoW token was verified

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

+
§solves: Vec<i64, Global>

times at which the PoW was solved

+
§confirms: Vec<i64, Global>

times at which the PoW token was verified

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/struct.TrafficPattern.html b/db_sqlx_postgres/prelude/struct.TrafficPattern.html index 4cd94c8a..3a4539ee 100644 --- a/db_sqlx_postgres/prelude/struct.TrafficPattern.html +++ b/db_sqlx_postgres/prelude/struct.TrafficPattern.html @@ -1,19 +1,19 @@ TrafficPattern in db_sqlx_postgres::prelude - Rust
pub struct TrafficPattern {
-    pub avg_traffic: u32,
-    pub peak_sustainable_traffic: u32,
-    pub broke_my_site_traffic: Option<u32>,
+    pub avg_traffic: u32,
+    pub peak_sustainable_traffic: u32,
+    pub broke_my_site_traffic: Option<u32>,
 }
Expand description

User’s traffic pattern; used in generating a captcha configuration

-

Fields§

§avg_traffic: u32

average traffic of user’s website

-
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

-
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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§

§avg_traffic: u32

average traffic of user’s website

+
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

+
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/struct.UpdateEmail.html b/db_sqlx_postgres/prelude/struct.UpdateEmail.html index 502ee248..179cd5ae 100644 --- a/db_sqlx_postgres/prelude/struct.UpdateEmail.html +++ b/db_sqlx_postgres/prelude/struct.UpdateEmail.html @@ -1,17 +1,17 @@ UpdateEmail in db_sqlx_postgres::prelude - Rust
pub struct UpdateEmail<'a> {
-    pub username: &'a str,
-    pub new_email: &'a str,
+    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 -by ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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: &'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 +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/tests/fn.database_works.html b/db_sqlx_postgres/prelude/tests/fn.database_works.html index 2a97261d..a11d1a72 100644 --- a/db_sqlx_postgres/prelude/tests/fn.database_works.html +++ b/db_sqlx_postgres/prelude/tests/fn.database_works.html @@ -1,2 +1,2 @@ -database_works in db_sqlx_postgres::prelude::tests - Rust
pub async fn database_works<T, 'a>(
    db: &T,
    p: &Register<'a>,
    c: &CreateCaptcha<'a>,
    l: &[Level],
    tp: &TrafficPattern,
    an: &AddNotification<'a>
) -> impl Future<Output = ()>where
    T: MCDatabase,
Expand description

test all database functions

-
\ No newline at end of file +database_works in db_sqlx_postgres::prelude::tests - Rust
pub async fn database_works<T, 'a>(
    db: &T,
    p: &Register<'a>,
    c: &CreateCaptcha<'a>,
    l: &[Level],
    tp: &TrafficPattern,
    an: &AddNotification<'a>
) -> impl Future<Output = ()>where
    T: MCDatabase,
Expand description

test all database functions

+
\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/tests/index.html b/db_sqlx_postgres/prelude/tests/index.html index aaa8e413..0aed622f 100644 --- a/db_sqlx_postgres/prelude/tests/index.html +++ b/db_sqlx_postgres/prelude/tests/index.html @@ -1,2 +1,2 @@ db_sqlx_postgres::prelude::tests - Rust
Expand description

Test utilities

-

Functions

test all database functions
\ No newline at end of file +

Functions

test all database functions
\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/trait.CloneSPDatabase.html b/db_sqlx_postgres/prelude/trait.CloneSPDatabase.html index aeec87fd..f7b66663 100644 --- a/db_sqlx_postgres/prelude/trait.CloneSPDatabase.html +++ b/db_sqlx_postgres/prelude/trait.CloneSPDatabase.html @@ -1,5 +1,5 @@ CloneSPDatabase in db_sqlx_postgres::prelude - Rust
pub trait CloneSPDatabase {
-    fn clone_db(&self) -> Box<dyn MCDatabase + 'static, Global>;
+    fn clone_db(&self) -> Box<dyn MCDatabase + 'static, Global>;
 }
Expand description

Trait to clone MCDatabase

-

Required Methods§

clone DB

-

Implementors§

\ No newline at end of file +

Required Methods§

clone DB

+

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/trait.Connect.html b/db_sqlx_postgres/prelude/trait.Connect.html index a152f352..7092affc 100644 --- a/db_sqlx_postgres/prelude/trait.Connect.html +++ b/db_sqlx_postgres/prelude/trait.Connect.html @@ -1,9 +1,9 @@ Connect in db_sqlx_postgres::prelude - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
-    fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; + fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    where
        Self: 'async_trait
; }
Expand description

Create database connection

Required Associated Types§

database specific pool-type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/trait.DBOps.html b/db_sqlx_postgres/prelude/trait.DBOps.html index 1ce094fb..2d47daf1 100644 --- a/db_sqlx_postgres/prelude/trait.DBOps.html +++ b/db_sqlx_postgres/prelude/trait.DBOps.html @@ -1,2 +1,2 @@ DBOps in db_sqlx_postgres::prelude - Rust
pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/trait.GetConnection.html b/db_sqlx_postgres/prelude/trait.GetConnection.html index bd49c7c5..2550ac14 100644 --- a/db_sqlx_postgres/prelude/trait.GetConnection.html +++ b/db_sqlx_postgres/prelude/trait.GetConnection.html @@ -1,9 +1,9 @@ GetConnection in db_sqlx_postgres::prelude - Rust
pub trait GetConnection {
     type Conn;
 
-    fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Get database connection

Required Associated Types§

database connection type

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type get connection from connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/trait.MCDatabase.html b/db_sqlx_postgres/prelude/trait.MCDatabase.html index 91b8deae..6e19ce91 100644 --- a/db_sqlx_postgres/prelude/trait.MCDatabase.html +++ b/db_sqlx_postgres/prelude/trait.MCDatabase.html @@ -1,76 +1,76 @@ -MCDatabase in db_sqlx_postgres::prelude - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
-
Show 36 methods fn ping<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; - fn register<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 Register<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn delete_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn username_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn email_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        email: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 UpdateEmail<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        l: &'life1 Login<'_>
    ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 NameHash
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_username<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        current: &'life1 str,
        new: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_secret_from_captcha<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_secret<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        secret: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn create_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_all_user_captchas<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        old_key: &'life2 str,
        new_key: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        levels: &'life3 [Level]
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn get_captcha_cooldown<'life0, 'life1, 'async_trait>(
        &'life0 self,
        captcha_key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        pattern: &'life3 TrafficPattern
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; - fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn create_notification<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 AddNotification<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn mark_notification_read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        id: i32
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_solve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn record_confirm<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; - fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; - fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; +MCDatabase in db_sqlx_postgres::prelude - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
+
Show 36 methods fn ping<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn register<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 Register<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn delete_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn username_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn email_exists<'life0, 'life1, 'async_trait>(
        &'life0 self,
        email: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_email<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 UpdateEmail<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        l: &'life1 Login<'_>
    ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_password<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 NameHash
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_username<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        current: &'life1 str,
        new: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_secret_from_captcha<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_secret<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        secret: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn create_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_all_user_captchas<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        p: &'life2 CreateCaptcha<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        old_key: &'life2 str,
        new_key: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        levels: &'life3 [Level]
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: Option<&'life1 str>,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn get_captcha_cooldown<'life0, 'life1, 'async_trait>(
        &'life0 self,
        captcha_key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str,
        pattern: &'life3 TrafficPattern
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; + fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        captcha_key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn create_notification<'life0, 'life1, 'async_trait>(
        &'life0 self,
        p: &'life1 AddNotification<'_>
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn mark_notification_read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        username: &'life1 str,
        id: i32
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_solve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn record_confirm<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; + fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; + fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        key: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
}
Expand description

mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.

-

Required Methods§

ping DB

-

register a new user

-

delete a user

-

check if username exists

-

get user email

-

check if email exists

-

update a user’s email

-

get a user’s password

-

update user’s password

-

update username

-

get a user’s secret

-

get a user’s secret from a captcha key

-

update a user’s secret

-

create new captcha

-

Get captcha config

-

Get all captchas belonging to user

-

update captcha metadata; doesn’t change captcha key

-

update captcha key; doesn’t change metadata

-

Add levels to captcha

-

check if captcha exists

-

Delete all levels of a captcha

-

Delete captcha

-

Get captcha levels

-

Get captcha’s cooldown period

-

Add traffic configuration

-

Get traffic configuration

-

Delete traffic configuration

-

create new notification

-

get all unread notifications

-

mark a notification read

-

record PoWConfig fetches

-

record PoWConfig solves

-

record PoWConfig confirms

-

fetch PoWConfig fetches

-

fetch PoWConfig solves

-

fetch PoWConfig confirms

-

Implementors§

\ No newline at end of file +

Required Methods§

ping DB

+

register a new user

+

delete a user

+

check if username exists

+

get user email

+

check if email exists

+

update a user’s email

+

get a user’s password

+

update user’s password

+

update username

+

get a user’s secret

+

get a user’s secret from a captcha key

+

update a user’s secret

+

create new captcha

+

Get captcha config

+

Get all captchas belonging to user

+

update captcha metadata; doesn’t change captcha key

+

update captcha key; doesn’t change metadata

+

Add levels to captcha

+

check if captcha exists

+

Delete all levels of a captcha

+

Delete captcha

+

Get captcha levels

+

Get captcha’s cooldown period

+

Add traffic configuration

+

Get traffic configuration

+

Delete traffic configuration

+

create new notification

+

get all unread notifications

+

mark a notification read

+

record PoWConfig fetches

+

record PoWConfig solves

+

record PoWConfig confirms

+

fetch PoWConfig fetches

+

fetch PoWConfig solves

+

fetch PoWConfig confirms

+

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/trait.Migrate.html b/db_sqlx_postgres/prelude/trait.Migrate.html index d74c2a3f..d1008b31 100644 --- a/db_sqlx_postgres/prelude/trait.Migrate.html +++ b/db_sqlx_postgres/prelude/trait.Migrate.html @@ -1,6 +1,6 @@ Migrate in db_sqlx_postgres::prelude - Rust
pub trait Migrate: MCDatabase {
-    fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; + fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

database migrations

-

Required Methods§

database specific error-type +

Required Methods§

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/type.BoxDynError.html b/db_sqlx_postgres/prelude/type.BoxDynError.html index 2757ef00..e1c7b90f 100644 --- a/db_sqlx_postgres/prelude/type.BoxDynError.html +++ b/db_sqlx_postgres/prelude/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_postgres::prelude - Rust

Type Definition db_sqlx_postgres::prelude::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

-
\ No newline at end of file +BoxDynError in db_sqlx_postgres::prelude - Rust

Type Definition db_sqlx_postgres::prelude::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send + 'static, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

+
\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/type.DBResult.html b/db_sqlx_postgres/prelude/type.DBResult.html index c90a1a34..fffa2e64 100644 --- a/db_sqlx_postgres/prelude/type.DBResult.html +++ b/db_sqlx_postgres/prelude/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_postgres::prelude - Rust

Type Definition db_sqlx_postgres::prelude::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

-
\ No newline at end of file +DBResult in db_sqlx_postgres::prelude - Rust

Type Definition db_sqlx_postgres::prelude::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

+
\ No newline at end of file diff --git a/db_sqlx_postgres/struct.Conn.html b/db_sqlx_postgres/struct.Conn.html index 1731fc14..f69f35c8 100644 --- a/db_sqlx_postgres/struct.Conn.html +++ b/db_sqlx_postgres/struct.Conn.html @@ -1,10 +1,10 @@ Conn in db_sqlx_postgres - Rust

Struct db_sqlx_postgres::Conn

source ·
pub struct Conn(pub PgPool);
Expand description

Use an existing database pool

-

Tuple Fields§

§0: PgPool

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.

+

Tuple Fields§

§0: PgPool

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/struct.Database.html b/db_sqlx_postgres/struct.Database.html index 6e78b920..d93bcd90 100644 --- a/db_sqlx_postgres/struct.Database.html +++ b/db_sqlx_postgres/struct.Database.html @@ -1,48 +1,48 @@ Database in db_sqlx_postgres - Rust
pub struct Database {
     pub pool: PgPool,
-}

Fields§

§pool: PgPool

Trait Implementations§

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

ping DB

-

register a new user

-

delete a user

-

check if username exists

-

get user email

-

check if email exists

-

update a user’s email

-

get a user’s password

-

update user’s password

-

update username

-

get a user’s secret

-

get a user’s secret from a captcha key

-

update a user’s secret

-

create new captcha

-

Get captcha config

-

Get all captchas belonging to user

-

update captcha metadata; doesn’t change captcha key

-

update captcha key; doesn’t change metadata

-

Add levels to captcha

-

check if captcha exists

-

Delete all levels of a captcha

-

Delete captcha

-

Get captcha levels

-

Get captcha’s cooldown period

-

Add traffic configuration

-

Get traffic configuration

-

Delete traffic configuration

-

create new notification

-

get all unread notifications

-

mark a notification read

-

record PoWConfig fetches

-

record PoWConfig solves

-

record PoWConfig confirms

-

fetch PoWConfig fetches

-

fetch PoWConfig solves

-

fetch PoWConfig confirms

-
database specific error-type -run migrations

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
clone DB

Returns the argument unchanged.

+}

Fields§

§pool: PgPool

Trait Implementations§

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

ping DB

+

register a new user

+

delete a user

+

check if username exists

+

get user email

+

check if email exists

+

update a user’s email

+

get a user’s password

+

update user’s password

+

update username

+

get a user’s secret

+

get a user’s secret from a captcha key

+

update a user’s secret

+

create new captcha

+

Get captcha config

+

Get all captchas belonging to user

+

update captcha metadata; doesn’t change captcha key

+

update captcha key; doesn’t change metadata

+

Add levels to captcha

+

check if captcha exists

+

Delete all levels of a captcha

+

Delete captcha

+

Get captcha levels

+

Get captcha’s cooldown period

+

Add traffic configuration

+

Get traffic configuration

+

Delete traffic configuration

+

create new notification

+

get all unread notifications

+

mark a notification read

+

record PoWConfig fetches

+

record PoWConfig solves

+

record PoWConfig confirms

+

fetch PoWConfig fetches

+

fetch PoWConfig solves

+

fetch PoWConfig confirms

+
database specific error-type +run migrations

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
clone DB

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/struct.Fresh.html b/db_sqlx_postgres/struct.Fresh.html index 86262011..926ecb36 100644 --- a/db_sqlx_postgres/struct.Fresh.html +++ b/db_sqlx_postgres/struct.Fresh.html @@ -1,13 +1,13 @@ Fresh in db_sqlx_postgres - Rust

Struct db_sqlx_postgres::Fresh

source ·
pub struct Fresh {
     pub pool_options: PgPoolOptions,
-    pub disable_logging: bool,
-    pub url: String,
-}

Fields§

§pool_options: PgPoolOptions§disable_logging: bool§url: String

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 disable_logging: bool, + pub url: String, +}

Fields§

§pool_options: PgPoolOptions§disable_logging: bool§url: String

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_postgres/struct.InnerNotification.html b/db_sqlx_postgres/struct.InnerNotification.html index 28f2e5c6..e0b7c9c2 100644 --- a/db_sqlx_postgres/struct.InnerNotification.html +++ b/db_sqlx_postgres/struct.InnerNotification.html @@ -1,23 +1,23 @@ InnerNotification in db_sqlx_postgres - Rust
pub struct InnerNotification {
-    pub name: Option<String>,
-    pub heading: Option<String>,
-    pub message: Option<String>,
-    pub received: Option<OffsetDateTime>,
-    pub id: Option<i32>,
+    pub name: Option<String>,
+    pub heading: Option<String>,
+    pub message: Option<String>,
+    pub received: Option<OffsetDateTime>,
+    pub id: Option<i32>,
 }
Expand description

Represents notification

-

Fields§

§name: Option<String>

receiver name of the notification

-
§heading: Option<String>

heading of the notification

-
§message: Option<String>

message of the notification

-
§received: Option<OffsetDateTime>

when notification was received

-
§id: Option<i32>

db assigned ID of the notification

-

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.

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§

§name: Option<String>

receiver name of the notification

+
§heading: Option<String>

heading of the notification

+
§message: Option<String>

message of the notification

+
§received: Option<OffsetDateTime>

when notification was received

+
§id: Option<i32>

db assigned ID of the notification

+

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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/help.html b/help.html index 128aba04..1f5620a2 100644 --- a/help.html +++ b/help.html @@ -1 +1 @@ -Rustdoc help

Rustdoc help

Back
\ No newline at end of file +Rustdoc help

Rustdoc help

Back
\ No newline at end of file diff --git a/implementors/core/clone/trait.Clone.js b/implementors/core/clone/trait.Clone.js index b2efbd67..e63bf024 100644 --- a/implementors/core/clone/trait.Clone.js +++ b/implementors/core/clone/trait.Clone.js @@ -1,6 +1,6 @@ (function() {var implementors = { -"db_core":[["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 StatsUnixTimestamp"],["impl Clone for Notification"],["impl<'a> Clone for AddNotification<'a>"],["impl Clone for TrafficPattern"],["impl<'a> Clone for CreateCaptcha<'a>"],["impl Clone for Captcha"],["impl Clone for Secret"],["impl Clone for Box<dyn MCDatabase>"]], -"db_sqlx_maria":[["impl Clone for Database"],["impl Clone for InnerNotification"]], -"db_sqlx_postgres":[["impl Clone for Database"],["impl Clone for InnerNotification"]], -"mcaptcha":[["impl Clone for Email"],["impl Clone for ChangePasswordReqest"],["impl Clone for Username"],["impl Clone for AccountCheckPayload"],["impl Clone for AccountCheckResp"],["impl Clone for Register"],["impl Clone for Login"],["impl Clone for Password"],["impl Clone for MCaptchaDetails"],["impl Clone for DeleteCaptcha"],["impl Clone for TrafficPatternRequest"],["impl Clone for UpdateTrafficPattern"],["impl Clone for Levels"],["impl Clone for I32Levels"],["impl Clone for StatsPayload"],["impl Clone for BuildDetails"],["impl Clone for BuildDetailsBuilder"],["impl Clone for Health"],["impl Clone for HealthBuilder"],["impl Clone for AddNotificationRequest"],["impl Clone for NotificationResp"],["impl Clone for GetConfigPayload"],["impl Clone for ValidationToken"],["impl Clone for CaptchaValidateResp"],["impl Clone for VerifyCaptchaResultPayload"],["impl Clone for Date"],["impl<'a> Clone for IndexPage<'a>"],["impl Clone for IndexPage"],["impl Clone for IndexPage"],["impl<'a, K, V> Clone for SudoPage<'a, K, V>where
    K: Display + Render + Clone,
    V: Display + Render + Clone,
"],["impl<'a> Clone for ErrorPage<'a>"],["impl<'a> Clone for IndexPage<'a>"],["impl<'a> Clone for AdvanceIndexPage<'a>"],["impl<'a> Clone for EasyIndexPage<'a>"],["impl Clone for AdvanceEditPage"],["impl<'a> Clone for EasyEditPage<'a>"],["impl Clone for IndexPage"],["impl Clone for IndexPage"],["impl Clone for IndexPage"],["impl Clone for IndexPage"],["impl Clone for Server"],["impl Clone for Captcha"],["impl Clone for DefaultDifficultyStrategy"],["impl Clone for Smtp"],["impl Clone for DBType"],["impl Clone for Database"],["impl Clone for Redis"],["impl Clone for Settings"],["impl Clone for CaptchaStats"],["impl Clone for Real"],["impl Clone for Dummy"],["impl Clone for IndexPage"]] +"db_core":[["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 StatsUnixTimestamp"],["impl Clone for Notification"],["impl<'a> Clone for AddNotification<'a>"],["impl Clone for TrafficPattern"],["impl<'a> Clone for CreateCaptcha<'a>"],["impl Clone for Captcha"],["impl Clone for Secret"],["impl Clone for Box<dyn MCDatabase>"]], +"db_sqlx_maria":[["impl Clone for Database"],["impl Clone for InnerNotification"]], +"db_sqlx_postgres":[["impl Clone for Database"],["impl Clone for InnerNotification"]], +"mcaptcha":[["impl Clone for Email"],["impl Clone for ChangePasswordReqest"],["impl Clone for Username"],["impl Clone for AccountCheckPayload"],["impl Clone for AccountCheckResp"],["impl Clone for Register"],["impl Clone for Login"],["impl Clone for Password"],["impl Clone for MCaptchaDetails"],["impl Clone for DeleteCaptcha"],["impl Clone for TrafficPatternRequest"],["impl Clone for UpdateTrafficPattern"],["impl Clone for Levels"],["impl Clone for I32Levels"],["impl Clone for StatsPayload"],["impl Clone for BuildDetails"],["impl Clone for BuildDetailsBuilder"],["impl Clone for Health"],["impl Clone for HealthBuilder"],["impl Clone for AddNotificationRequest"],["impl Clone for NotificationResp"],["impl Clone for GetConfigPayload"],["impl Clone for ValidationToken"],["impl Clone for CaptchaValidateResp"],["impl Clone for VerifyCaptchaResultPayload"],["impl Clone for Date"],["impl<'a> Clone for IndexPage<'a>"],["impl Clone for IndexPage"],["impl Clone for IndexPage"],["impl<'a, K, V> Clone for SudoPage<'a, K, V>where
    K: Display + Render + Clone,
    V: Display + Render + Clone,
"],["impl<'a> Clone for ErrorPage<'a>"],["impl<'a> Clone for IndexPage<'a>"],["impl<'a> Clone for AdvanceIndexPage<'a>"],["impl<'a> Clone for EasyIndexPage<'a>"],["impl Clone for AdvanceEditPage"],["impl<'a> Clone for EasyEditPage<'a>"],["impl Clone for IndexPage"],["impl Clone for IndexPage"],["impl Clone for IndexPage"],["impl Clone for IndexPage"],["impl Clone for Server"],["impl Clone for Captcha"],["impl Clone for DefaultDifficultyStrategy"],["impl Clone for Smtp"],["impl Clone for DBType"],["impl Clone for Database"],["impl Clone for Redis"],["impl Clone for Settings"],["impl Clone for CaptchaStats"],["impl Clone for Real"],["impl Clone for Dummy"],["impl Clone for IndexPage"]] };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 327f7c71..839d8a25 100644 --- a/implementors/core/cmp/trait.PartialEq.js +++ b/implementors/core/cmp/trait.PartialEq.js @@ -1,6 +1,6 @@ (function() {var implementors = { -"db_core":[["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<StatsUnixTimestamp> for StatsUnixTimestamp"],["impl PartialEq<Notification> for Notification"],["impl<'a> PartialEq<AddNotification<'a>> for AddNotification<'a>"],["impl PartialEq<TrafficPattern> for TrafficPattern"],["impl<'a> PartialEq<CreateCaptcha<'a>> for CreateCaptcha<'a>"],["impl PartialEq<Captcha> for Captcha"],["impl PartialEq<Secret> for Secret"]], -"db_sqlx_maria":[["impl PartialEq<InnerNotification> for InnerNotification"]], -"db_sqlx_postgres":[["impl PartialEq<InnerNotification> for InnerNotification"]], -"mcaptcha":[["impl PartialEq<AddNotificationRequest> for AddNotificationRequest"],["impl PartialEq<NotificationResp> for NotificationResp"],["impl PartialEq<DBErrorWrapper> for DBErrorWrapper"],["impl PartialEq<SmtpErrorWrapper> for SmtpErrorWrapper"],["impl PartialEq<ServiceError> for ServiceError"],["impl PartialEq<PageError> for PageError"],["impl PartialEq<DBType> for DBType"],["impl PartialEq<CaptchaStats> for CaptchaStats"],["impl PartialEq<Real> for Real"],["impl PartialEq<Dummy> for Dummy"]] +"db_core":[["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<StatsUnixTimestamp> for StatsUnixTimestamp"],["impl PartialEq<Notification> for Notification"],["impl<'a> PartialEq<AddNotification<'a>> for AddNotification<'a>"],["impl PartialEq<TrafficPattern> for TrafficPattern"],["impl<'a> PartialEq<CreateCaptcha<'a>> for CreateCaptcha<'a>"],["impl PartialEq<Captcha> for Captcha"],["impl PartialEq<Secret> for Secret"]], +"db_sqlx_maria":[["impl PartialEq<InnerNotification> for InnerNotification"]], +"db_sqlx_postgres":[["impl PartialEq<InnerNotification> for InnerNotification"]], +"mcaptcha":[["impl PartialEq<AddNotificationRequest> for AddNotificationRequest"],["impl PartialEq<NotificationResp> for NotificationResp"],["impl PartialEq<DBErrorWrapper> for DBErrorWrapper"],["impl PartialEq<SmtpErrorWrapper> for SmtpErrorWrapper"],["impl PartialEq<ServiceError> for ServiceError"],["impl PartialEq<PageError> for PageError"],["impl PartialEq<DBType> for DBType"],["impl PartialEq<CaptchaStats> for CaptchaStats"],["impl PartialEq<Real> for Real"],["impl PartialEq<Dummy> for Dummy"]] };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 0bb91a92..2f1a0e9d 100644 --- a/implementors/core/convert/trait.From.js +++ b/implementors/core/convert/trait.From.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"db_sqlx_maria":[["impl From<InnerNotification> for Notification"]], -"db_sqlx_postgres":[["impl From<InnerNotification> for Notification"]], -"mcaptcha":[["impl From<ChangePasswordReqest> for UpdatePassword"],["impl From<&TrafficPatternRequest> for TrafficPattern"],["impl From<UninitializedFieldError> for BuildDetailsBuilderError"],["impl From<String> for BuildDetailsBuilderError"],["impl From<UninitializedFieldError> for HealthBuilderError"],["impl From<String> for HealthBuilderError"],["impl From<Notification> for NotificationResp"],["impl From<VerifyCaptchaResultPayload> for VerifyCaptchaResult"],["impl From<CredsError> for ServiceError"],["impl From<DBError> for ServiceError"],["impl From<ValidationErrors> for ServiceError"],["impl From<ParseError> for ServiceError"],["impl From<CaptchaError> for ServiceError"],["impl From<Error> for ServiceError"],["impl From<RecvError> for ServiceError"],["impl From<MailboxError> for ServiceError"],["impl From<ServiceError> for PageError"],["impl From<DBError> for PageError"],["impl From<Notification> for Notification"]] +"db_sqlx_maria":[["impl From<InnerNotification> for Notification"]], +"db_sqlx_postgres":[["impl From<InnerNotification> for Notification"]], +"mcaptcha":[["impl From<ChangePasswordReqest> for UpdatePassword"],["impl From<&TrafficPatternRequest> for TrafficPattern"],["impl From<UninitializedFieldError> for BuildDetailsBuilderError"],["impl From<String> for BuildDetailsBuilderError"],["impl From<UninitializedFieldError> for HealthBuilderError"],["impl From<String> for HealthBuilderError"],["impl From<Notification> for NotificationResp"],["impl From<VerifyCaptchaResultPayload> for VerifyCaptchaResult"],["impl From<CredsError> for ServiceError"],["impl From<DBError> for ServiceError"],["impl From<ValidationErrors> for ServiceError"],["impl From<ParseError> for ServiceError"],["impl From<CaptchaError> for ServiceError"],["impl From<Error> for ServiceError"],["impl From<RecvError> for ServiceError"],["impl From<MailboxError> for ServiceError"],["impl From<ServiceError> for PageError"],["impl From<DBError> for PageError"],["impl From<Notification> for Notification"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/default/trait.Default.js b/implementors/core/default/trait.Default.js index ece90ac5..75dff833 100644 --- a/implementors/core/default/trait.Default.js +++ b/implementors/core/default/trait.Default.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"db_core":[["impl Default for StatsUnixTimestamp"],["impl Default for Notification"],["impl<'a> Default for AddNotification<'a>"],["impl Default for TrafficPattern"],["impl<'a> Default for CreateCaptcha<'a>"],["impl Default for Captcha"],["impl Default for Secret"]], -"db_sqlx_postgres":[["impl Default for InnerNotification"]], -"mcaptcha":[["impl Default for TrafficPatternRequest"],["impl Default for BuildDetailsBuilder"],["impl Default for HealthBuilder"],["impl Default for AddNotificationRequest"],["impl Default for NotificationResp"],["impl Default for IndexPage"],["impl Default for IndexPage"],["impl<'a> Default for AdvanceIndexPage<'a>"],["impl<'a> Default for EasyIndexPage<'a>"],["impl Default for IndexPage"],["impl Default for CaptchaStats"],["impl Default for Real"],["impl Default for Dummy"]] +"db_core":[["impl Default for StatsUnixTimestamp"],["impl Default for Notification"],["impl<'a> Default for AddNotification<'a>"],["impl Default for TrafficPattern"],["impl<'a> Default for CreateCaptcha<'a>"],["impl Default for Captcha"],["impl Default for Secret"]], +"db_sqlx_postgres":[["impl Default for InnerNotification"]], +"mcaptcha":[["impl Default for TrafficPatternRequest"],["impl Default for BuildDetailsBuilder"],["impl Default for HealthBuilder"],["impl Default for AddNotificationRequest"],["impl Default for NotificationResp"],["impl Default for IndexPage"],["impl Default for IndexPage"],["impl<'a> Default for AdvanceIndexPage<'a>"],["impl<'a> Default for EasyIndexPage<'a>"],["impl Default for IndexPage"],["impl Default for CaptchaStats"],["impl Default for Real"],["impl Default for Dummy"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/error/trait.Error.js b/implementors/core/error/trait.Error.js index 857d7670..d94d804c 100644 --- a/implementors/core/error/trait.Error.js +++ b/implementors/core/error/trait.Error.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"db_core":[["impl Error for DBError"]], -"mcaptcha":[["impl Error for BuildDetailsBuilderError"],["impl Error for HealthBuilderError"],["impl Error for SmtpErrorWrapper"],["impl Error for DBErrorWrapper"],["impl Error for ServiceError"],["impl Error for PageError"]] +"db_core":[["impl Error for DBError"]], +"mcaptcha":[["impl Error for BuildDetailsBuilderError"],["impl Error for HealthBuilderError"],["impl Error for SmtpErrorWrapper"],["impl Error for DBErrorWrapper"],["impl Error for ServiceError"],["impl Error for PageError"]] };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 8d1efd46..397afc7f 100644 --- a/implementors/core/fmt/trait.Debug.js +++ b/implementors/core/fmt/trait.Debug.js @@ -1,6 +1,6 @@ (function() {var implementors = { -"db_core":[["impl Debug for DBError"],["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 StatsUnixTimestamp"],["impl Debug for Notification"],["impl<'a> Debug for AddNotification<'a>"],["impl Debug for TrafficPattern"],["impl<'a> Debug for CreateCaptcha<'a>"],["impl Debug for Captcha"],["impl Debug for Secret"]], -"db_sqlx_maria":[["impl Debug for InnerNotification"]], -"db_sqlx_postgres":[["impl Debug for InnerNotification"]], -"mcaptcha":[["impl Debug for Email"],["impl Debug for ChangePasswordReqest"],["impl Debug for Username"],["impl Debug for AccountCheckPayload"],["impl Debug for AccountCheckResp"],["impl Debug for Register"],["impl Debug for Login"],["impl Debug for Password"],["impl Debug for MCaptchaDetails"],["impl Debug for DeleteCaptcha"],["impl Debug for TrafficPatternRequest"],["impl Debug for UpdateTrafficPattern"],["impl Debug for Levels"],["impl Debug for I32Levels"],["impl Debug for StatsPayload"],["impl Debug for BuildDetails"],["impl Debug for BuildDetailsBuilderError"],["impl Debug for Health"],["impl Debug for HealthBuilderError"],["impl Debug for AddNotificationRequest"],["impl Debug for GetConfigPayload"],["impl Debug for ValidationToken"],["impl Debug for CaptchaValidateResp"],["impl Debug for VerifyCaptchaResultPayload"],["impl Debug for Date"],["impl Debug for SmtpErrorWrapper"],["impl Debug for DBErrorWrapper"],["impl Debug for ServiceError"],["impl Debug for PageError"],["impl Debug for Server"],["impl Debug for Captcha"],["impl Debug for DefaultDifficultyStrategy"],["impl Debug for Smtp"],["impl Debug for DBType"],["impl Debug for Database"],["impl Debug for Redis"],["impl Debug for Settings"],["impl Debug for CaptchaStats"],["impl Debug for Real"],["impl Debug for Dummy"]] +"db_core":[["impl Debug for DBError"],["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 StatsUnixTimestamp"],["impl Debug for Notification"],["impl<'a> Debug for AddNotification<'a>"],["impl Debug for TrafficPattern"],["impl<'a> Debug for CreateCaptcha<'a>"],["impl Debug for Captcha"],["impl Debug for Secret"]], +"db_sqlx_maria":[["impl Debug for InnerNotification"]], +"db_sqlx_postgres":[["impl Debug for InnerNotification"]], +"mcaptcha":[["impl Debug for Email"],["impl Debug for ChangePasswordReqest"],["impl Debug for Username"],["impl Debug for AccountCheckPayload"],["impl Debug for AccountCheckResp"],["impl Debug for Register"],["impl Debug for Login"],["impl Debug for Password"],["impl Debug for MCaptchaDetails"],["impl Debug for DeleteCaptcha"],["impl Debug for TrafficPatternRequest"],["impl Debug for UpdateTrafficPattern"],["impl Debug for Levels"],["impl Debug for I32Levels"],["impl Debug for StatsPayload"],["impl Debug for BuildDetails"],["impl Debug for BuildDetailsBuilderError"],["impl Debug for Health"],["impl Debug for HealthBuilderError"],["impl Debug for AddNotificationRequest"],["impl Debug for GetConfigPayload"],["impl Debug for ValidationToken"],["impl Debug for CaptchaValidateResp"],["impl Debug for VerifyCaptchaResultPayload"],["impl Debug for Date"],["impl Debug for SmtpErrorWrapper"],["impl Debug for DBErrorWrapper"],["impl Debug for ServiceError"],["impl Debug for PageError"],["impl Debug for Server"],["impl Debug for Captcha"],["impl Debug for DefaultDifficultyStrategy"],["impl Debug for Smtp"],["impl Debug for DBType"],["impl Debug for Database"],["impl Debug for Redis"],["impl Debug for Settings"],["impl Debug for CaptchaStats"],["impl Debug for Real"],["impl Debug for Dummy"]] };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.Display.js b/implementors/core/fmt/trait.Display.js index f3f39434..b6947cc7 100644 --- a/implementors/core/fmt/trait.Display.js +++ b/implementors/core/fmt/trait.Display.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"db_core":[["impl Display for DBError"]], -"mcaptcha":[["impl Display for BuildDetailsBuilderError"],["impl Display for HealthBuilderError"],["impl Display for SmtpErrorWrapper"],["impl Display for DBErrorWrapper"],["impl Display for ServiceError"],["impl Display for PageError"],["impl Display for DBType"]] +"db_core":[["impl Display for DBError"]], +"mcaptcha":[["impl Display for BuildDetailsBuilderError"],["impl Display for HealthBuilderError"],["impl Display for SmtpErrorWrapper"],["impl Display for DBErrorWrapper"],["impl Display for ServiceError"],["impl Display for PageError"],["impl Display 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.Freeze.js b/implementors/core/marker/trait.Freeze.js index f8a5f124..e11b65ca 100644 --- a/implementors/core/marker/trait.Freeze.js +++ b/implementors/core/marker/trait.Freeze.js @@ -2,5 +2,5 @@ "db_core":[["impl Freeze for DBError",1,["db_core::errors::DBError"]],["impl<'a> Freeze for Register<'a>",1,["db_core::Register"]],["impl<'a> Freeze for UpdateEmail<'a>",1,["db_core::UpdateEmail"]],["impl<'a> Freeze for Login<'a>",1,["db_core::Login"]],["impl Freeze for NameHash",1,["db_core::NameHash"]],["impl Freeze for StatsUnixTimestamp",1,["db_core::StatsUnixTimestamp"]],["impl Freeze for Notification",1,["db_core::Notification"]],["impl<'a> Freeze for AddNotification<'a>",1,["db_core::AddNotification"]],["impl Freeze for TrafficPattern",1,["db_core::TrafficPattern"]],["impl<'a> Freeze for CreateCaptcha<'a>",1,["db_core::CreateCaptcha"]],["impl Freeze for Captcha",1,["db_core::Captcha"]],["impl Freeze for Secret",1,["db_core::Secret"]]], "db_sqlx_maria":[["impl Freeze for Database",1,["db_sqlx_maria::Database"]],["impl Freeze for Conn",1,["db_sqlx_maria::Conn"]],["impl Freeze for ConnectionOptions",1,["db_sqlx_maria::ConnectionOptions"]],["impl Freeze for Fresh",1,["db_sqlx_maria::Fresh"]],["impl Freeze for InnerNotification",1,["db_sqlx_maria::InnerNotification"]]], "db_sqlx_postgres":[["impl Freeze for Database",1,["db_sqlx_postgres::Database"]],["impl Freeze for Conn",1,["db_sqlx_postgres::Conn"]],["impl Freeze for ConnectionOptions",1,["db_sqlx_postgres::ConnectionOptions"]],["impl Freeze for Fresh",1,["db_sqlx_postgres::Fresh"]],["impl Freeze for InnerNotification",1,["db_sqlx_postgres::InnerNotification"]]], -"mcaptcha":[["impl Freeze for delete_account",1,["mcaptcha::api::v1::account::delete::delete_account"]],["impl Freeze for Email",1,["mcaptcha::api::v1::account::email::Email"]],["impl Freeze for email_exists",1,["mcaptcha::api::v1::account::email::email_exists"]],["impl Freeze for set_email",1,["mcaptcha::api::v1::account::email::set_email"]],["impl Freeze for ChangePasswordReqest",1,["mcaptcha::api::v1::account::password::ChangePasswordReqest"]],["impl Freeze for UpdatePassword",1,["mcaptcha::api::v1::account::password::UpdatePassword"]],["impl Freeze for update_user_password",1,["mcaptcha::api::v1::account::password::update_user_password"]],["impl Freeze for get_secret",1,["mcaptcha::api::v1::account::secret::get_secret"]],["impl Freeze for update_user_secret",1,["mcaptcha::api::v1::account::secret::update_user_secret"]],["impl Freeze for username_exists",1,["mcaptcha::api::v1::account::username::username_exists"]],["impl Freeze for Username",1,["mcaptcha::api::v1::account::username::Username"]],["impl Freeze for set_username",1,["mcaptcha::api::v1::account::username::set_username"]],["impl Freeze for Account",1,["mcaptcha::api::v1::account::routes::Account"]],["impl Freeze for AccountCheckPayload",1,["mcaptcha::api::v1::account::AccountCheckPayload"]],["impl Freeze for AccountCheckResp",1,["mcaptcha::api::v1::account::AccountCheckResp"]],["impl Freeze for Auth",1,["mcaptcha::api::v1::auth::routes::Auth"]],["impl Freeze for Register",1,["mcaptcha::api::v1::auth::runners::Register"]],["impl Freeze for Login",1,["mcaptcha::api::v1::auth::runners::Login"]],["impl Freeze for Password",1,["mcaptcha::api::v1::auth::runners::Password"]],["impl Freeze for register",1,["mcaptcha::api::v1::auth::register"]],["impl Freeze for login",1,["mcaptcha::api::v1::auth::login"]],["impl Freeze for signout",1,["mcaptcha::api::v1::auth::signout"]],["impl Freeze for CreateCaptcha",1,["mcaptcha::api::v1::mcaptcha::create::CreateCaptcha"]],["impl Freeze for MCaptchaDetails",1,["mcaptcha::api::v1::mcaptcha::create::MCaptchaDetails"]],["impl Freeze for create",1,["mcaptcha::api::v1::mcaptcha::create::create"]],["impl Freeze for DeleteCaptcha",1,["mcaptcha::api::v1::mcaptcha::delete::DeleteCaptcha"]],["impl Freeze for delete",1,["mcaptcha::api::v1::mcaptcha::delete::delete"]],["impl Freeze for Easy",1,["mcaptcha::api::v1::mcaptcha::easy::routes::Easy"]],["impl Freeze for TrafficPatternRequest",1,["mcaptcha::api::v1::mcaptcha::easy::TrafficPatternRequest"]],["impl Freeze for create",1,["mcaptcha::api::v1::mcaptcha::easy::create"]],["impl Freeze for UpdateTrafficPattern",1,["mcaptcha::api::v1::mcaptcha::easy::UpdateTrafficPattern"]],["impl Freeze for update",1,["mcaptcha::api::v1::mcaptcha::easy::update"]],["impl Freeze for get_captcha",1,["mcaptcha::api::v1::mcaptcha::get::get_captcha"]],["impl Freeze for Levels",1,["mcaptcha::api::v1::mcaptcha::get::Levels"]],["impl Freeze for I32Levels",1,["mcaptcha::api::v1::mcaptcha::get::I32Levels"]],["impl Freeze for Stats",1,["mcaptcha::api::v1::mcaptcha::stats::routes::Stats"]],["impl Freeze for StatsPayload",1,["mcaptcha::api::v1::mcaptcha::stats::StatsPayload"]],["impl Freeze for get",1,["mcaptcha::api::v1::mcaptcha::stats::get"]],["impl Freeze for update_key",1,["mcaptcha::api::v1::mcaptcha::update::update_key"]],["impl Freeze for UpdateCaptcha",1,["mcaptcha::api::v1::mcaptcha::update::UpdateCaptcha"]],["impl Freeze for update_captcha",1,["mcaptcha::api::v1::mcaptcha::update::update_captcha"]],["impl Freeze for Captcha",1,["mcaptcha::api::v1::mcaptcha::routes::Captcha"]],["impl Freeze for Meta",1,["mcaptcha::api::v1::meta::routes::Meta"]],["impl Freeze for BuildDetails",1,["mcaptcha::api::v1::meta::BuildDetails"]],["impl Freeze for BuildDetailsBuilder",1,["mcaptcha::api::v1::meta::BuildDetailsBuilder"]],["impl Freeze for BuildDetailsBuilderError",1,["mcaptcha::api::v1::meta::BuildDetailsBuilderError"]],["impl Freeze for build_details",1,["mcaptcha::api::v1::meta::build_details"]],["impl Freeze for Health",1,["mcaptcha::api::v1::meta::Health"]],["impl Freeze for HealthBuilder",1,["mcaptcha::api::v1::meta::HealthBuilder"]],["impl Freeze for HealthBuilderError",1,["mcaptcha::api::v1::meta::HealthBuilderError"]],["impl Freeze for health",1,["mcaptcha::api::v1::meta::health"]],["impl Freeze for AddNotificationRequest",1,["mcaptcha::api::v1::notifications::add::AddNotificationRequest"]],["impl Freeze for add_notification",1,["mcaptcha::api::v1::notifications::add::add_notification"]],["impl Freeze for NotificationResp",1,["mcaptcha::api::v1::notifications::get::NotificationResp"]],["impl Freeze for get_notification",1,["mcaptcha::api::v1::notifications::get::get_notification"]],["impl Freeze for MarkReadReq",1,["mcaptcha::api::v1::notifications::mark_read::MarkReadReq"]],["impl Freeze for mark_read",1,["mcaptcha::api::v1::notifications::mark_read::mark_read"]],["impl Freeze for Notifications",1,["mcaptcha::api::v1::notifications::routes::Notifications"]],["impl Freeze for GetConfigPayload",1,["mcaptcha::api::v1::pow::get_config::GetConfigPayload"]],["impl Freeze for get_config",1,["mcaptcha::api::v1::pow::get_config::get_config"]],["impl Freeze for ValidationToken",1,["mcaptcha::api::v1::pow::verify_pow::ValidationToken"]],["impl Freeze for verify_pow",1,["mcaptcha::api::v1::pow::verify_pow::verify_pow"]],["impl Freeze for CaptchaValidateResp",1,["mcaptcha::api::v1::pow::verify_token::CaptchaValidateResp"]],["impl Freeze for VerifyCaptchaResultPayload",1,["mcaptcha::api::v1::pow::verify_token::VerifyCaptchaResultPayload"]],["impl Freeze for validate_captcha_token",1,["mcaptcha::api::v1::pow::verify_token::validate_captcha_token"]],["impl Freeze for PoW",1,["mcaptcha::api::v1::pow::routes::PoW"]],["impl Freeze for Routes",1,["mcaptcha::api::v1::routes::Routes"]],["impl Freeze for RedirectQuery",1,["mcaptcha::api::v1::RedirectQuery"]],["impl Freeze for SystemGroup",1,["mcaptcha::data::SystemGroup"]],["impl Freeze for Data",1,["mcaptcha::data::Data"]],["impl Freeze for Date",1,["mcaptcha::date::Date"]],["impl Freeze for DemoUser",1,["mcaptcha::demo::DemoUser"]],["impl Freeze for Docs",1,["mcaptcha::docs::routes::Docs"]],["impl Freeze for Asset",1,["mcaptcha::docs::Asset"]],["impl Freeze for dist",1,["mcaptcha::docs::dist"]],["impl Freeze for spec",1,["mcaptcha::docs::spec"]],["impl Freeze for index",1,["mcaptcha::docs::index"]],["impl<'a> Freeze for IndexPage<'a>",1,["mcaptcha::email::verification::IndexPage"]],["impl Freeze for SmtpErrorWrapper",1,["mcaptcha::errors::SmtpErrorWrapper"]],["impl Freeze for DBErrorWrapper",1,["mcaptcha::errors::DBErrorWrapper"]],["impl Freeze for ServiceError",1,["mcaptcha::errors::ServiceError"]],["impl Freeze for ErrorToResponse",1,["mcaptcha::errors::ErrorToResponse"]],["impl Freeze for PageError",1,["mcaptcha::errors::PageError"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::auth::login::IndexPage"]],["impl Freeze for INDEX",1,["mcaptcha::pages::auth::login::INDEX"]],["impl Freeze for login",1,["mcaptcha::pages::auth::login::login"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::auth::register::IndexPage"]],["impl Freeze for INDEX",1,["mcaptcha::pages::auth::register::INDEX"]],["impl Freeze for join",1,["mcaptcha::pages::auth::register::join"]],["impl<'a, K, V> Freeze for SudoPage<'a, K, V>",1,["mcaptcha::pages::auth::sudo::SudoPage"]],["impl Freeze for Auth",1,["mcaptcha::pages::auth::routes::Auth"]],["impl Freeze for Errors",1,["mcaptcha::pages::errors::routes::Errors"]],["impl<'a> Freeze for ErrorPage<'a>",1,["mcaptcha::pages::errors::ErrorPage"]],["impl Freeze for INTERNAL_SERVER_ERROR_BODY",1,["mcaptcha::pages::errors::INTERNAL_SERVER_ERROR_BODY"]],["impl Freeze for UNKNOWN_ERROR_BODY",1,["mcaptcha::pages::errors::UNKNOWN_ERROR_BODY"]],["impl Freeze for error",1,["mcaptcha::pages::errors::error"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::panel::notifications::IndexPage"]],["impl Freeze for Notification",1,["mcaptcha::pages::panel::notifications::Notification"]],["impl Freeze for notifications",1,["mcaptcha::pages::panel::notifications::notifications"]],["impl Freeze for Settings",1,["mcaptcha::pages::panel::settings::routes::Settings"]],["impl<'a> Freeze for IndexPage<'a>",1,["mcaptcha::pages::panel::settings::IndexPage"]],["impl Freeze for settings",1,["mcaptcha::pages::panel::settings::settings"]],["impl Freeze for delete_account",1,["mcaptcha::pages::panel::settings::delete_account"]],["impl Freeze for update_secret",1,["mcaptcha::pages::panel::settings::update_secret"]],["impl Freeze for ADVANCE_INDEX",1,["mcaptcha::pages::panel::sitekey::add::ADVANCE_INDEX"]],["impl Freeze for EASY_INDEX",1,["mcaptcha::pages::panel::sitekey::add::EASY_INDEX"]],["impl<'a> Freeze for AdvanceIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::AdvanceIndexPage"]],["impl Freeze for advance",1,["mcaptcha::pages::panel::sitekey::add::advance"]],["impl<'a> Freeze for EasyIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::EasyIndexPage"]],["impl Freeze for easy",1,["mcaptcha::pages::panel::sitekey::add::easy"]],["impl Freeze for delete_sitekey",1,["mcaptcha::pages::panel::sitekey::delete::delete_sitekey"]],["impl Freeze for AdvanceEditPage",1,["mcaptcha::pages::panel::sitekey::edit::AdvanceEditPage"]],["impl Freeze for advance",1,["mcaptcha::pages::panel::sitekey::edit::advance"]],["impl<'a> Freeze for EasyEditPage<'a>",1,["mcaptcha::pages::panel::sitekey::edit::EasyEditPage"]],["impl Freeze for easy",1,["mcaptcha::pages::panel::sitekey::edit::easy"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::panel::sitekey::list::IndexPage"]],["impl Freeze for list_sitekeys",1,["mcaptcha::pages::panel::sitekey::list::list_sitekeys"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::panel::sitekey::view::IndexPage"]],["impl Freeze for view_sitekey",1,["mcaptcha::pages::panel::sitekey::view::view_sitekey"]],["impl Freeze for Sitekey",1,["mcaptcha::pages::panel::sitekey::routes::Sitekey"]],["impl Freeze for Panel",1,["mcaptcha::pages::panel::routes::Panel"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::panel::IndexPage"]],["impl Freeze for panel",1,["mcaptcha::pages::panel::panel"]],["impl Freeze for Routes",1,["mcaptcha::pages::routes::Routes"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::sitemap::IndexPage"]],["impl Freeze for INDEX",1,["mcaptcha::pages::sitemap::INDEX"]],["impl Freeze for sitemap",1,["mcaptcha::pages::sitemap::sitemap"]],["impl Freeze for Server",1,["mcaptcha::settings::Server"]],["impl Freeze for Captcha",1,["mcaptcha::settings::Captcha"]],["impl Freeze for DefaultDifficultyStrategy",1,["mcaptcha::settings::DefaultDifficultyStrategy"]],["impl Freeze for Smtp",1,["mcaptcha::settings::Smtp"]],["impl Freeze for DBType",1,["mcaptcha::settings::DBType"]],["impl Freeze for Database",1,["mcaptcha::settings::Database"]],["impl Freeze for Redis",1,["mcaptcha::settings::Redis"]],["impl Freeze for Settings",1,["mcaptcha::settings::Settings"]],["impl Freeze for FileMap",1,["mcaptcha::static_assets::filemap::FileMap"]],["impl Freeze for KEY",1,["mcaptcha::static_assets::static_files::assets::KEY"]],["impl Freeze for GITHUB",1,["mcaptcha::static_assets::static_files::assets::GITHUB"]],["impl Freeze for HOME",1,["mcaptcha::static_assets::static_files::assets::HOME"]],["impl Freeze for SETTINGS_ICON",1,["mcaptcha::static_assets::static_files::assets::SETTINGS_ICON"]],["impl Freeze for CREDIT_CARD",1,["mcaptcha::static_assets::static_files::assets::CREDIT_CARD"]],["impl Freeze for HELP_CIRCLE",1,["mcaptcha::static_assets::static_files::assets::HELP_CIRCLE"]],["impl Freeze for MESSAGE",1,["mcaptcha::static_assets::static_files::assets::MESSAGE"]],["impl Freeze for DOCS_ICON",1,["mcaptcha::static_assets::static_files::assets::DOCS_ICON"]],["impl Freeze for MCAPTCHA_TRANS_ICON",1,["mcaptcha::static_assets::static_files::assets::MCAPTCHA_TRANS_ICON"]],["impl Freeze for BAR_CHART",1,["mcaptcha::static_assets::static_files::assets::BAR_CHART"]],["impl Freeze for Asset",1,["mcaptcha::static_assets::static_files::Asset"]],["impl Freeze for static_files",1,["mcaptcha::static_assets::static_files::static_files"]],["impl Freeze for Favicons",1,["mcaptcha::static_assets::static_files::Favicons"]],["impl Freeze for favicons",1,["mcaptcha::static_assets::static_files::favicons"]],["impl Freeze for CaptchaStats",1,["mcaptcha::stats::CaptchaStats"]],["impl Freeze for Real",1,["mcaptcha::stats::Real"]],["impl Freeze for Dummy",1,["mcaptcha::stats::Dummy"]],["impl Freeze for Widget",1,["mcaptcha::widget::routes::Widget"]],["impl Freeze for IndexPage",1,["mcaptcha::widget::IndexPage"]],["impl Freeze for INDEX_PAGE",1,["mcaptcha::widget::INDEX_PAGE"]],["impl Freeze for show_widget",1,["mcaptcha::widget::show_widget"]],["impl Freeze for SETTINGS",1,["mcaptcha::SETTINGS"]],["impl Freeze for FILES",1,["mcaptcha::FILES"]],["impl Freeze for JS",1,["mcaptcha::JS"]],["impl Freeze for CSS",1,["mcaptcha::CSS"]],["impl Freeze for MOBILE_CSS",1,["mcaptcha::MOBILE_CSS"]],["impl Freeze for VERIFICATIN_WIDGET_JS",1,["mcaptcha::VERIFICATIN_WIDGET_JS"]],["impl Freeze for VERIFICATIN_WIDGET_CSS",1,["mcaptcha::VERIFICATIN_WIDGET_CSS"]],["impl Freeze for SOURCE_FILES_OF_INSTANCE",1,["mcaptcha::SOURCE_FILES_OF_INSTANCE"]]] +"mcaptcha":[["impl Freeze for delete_account",1,["mcaptcha::api::v1::account::delete::delete_account"]],["impl Freeze for Email",1,["mcaptcha::api::v1::account::email::Email"]],["impl Freeze for email_exists",1,["mcaptcha::api::v1::account::email::email_exists"]],["impl Freeze for set_email",1,["mcaptcha::api::v1::account::email::set_email"]],["impl Freeze for ChangePasswordReqest",1,["mcaptcha::api::v1::account::password::ChangePasswordReqest"]],["impl Freeze for UpdatePassword",1,["mcaptcha::api::v1::account::password::UpdatePassword"]],["impl Freeze for update_user_password",1,["mcaptcha::api::v1::account::password::update_user_password"]],["impl Freeze for get_secret",1,["mcaptcha::api::v1::account::secret::get_secret"]],["impl Freeze for update_user_secret",1,["mcaptcha::api::v1::account::secret::update_user_secret"]],["impl Freeze for username_exists",1,["mcaptcha::api::v1::account::username::username_exists"]],["impl Freeze for Username",1,["mcaptcha::api::v1::account::username::Username"]],["impl Freeze for set_username",1,["mcaptcha::api::v1::account::username::set_username"]],["impl Freeze for Account",1,["mcaptcha::api::v1::account::routes::Account"]],["impl Freeze for AccountCheckPayload",1,["mcaptcha::api::v1::account::AccountCheckPayload"]],["impl Freeze for AccountCheckResp",1,["mcaptcha::api::v1::account::AccountCheckResp"]],["impl Freeze for Auth",1,["mcaptcha::api::v1::auth::routes::Auth"]],["impl Freeze for Register",1,["mcaptcha::api::v1::auth::runners::Register"]],["impl Freeze for Login",1,["mcaptcha::api::v1::auth::runners::Login"]],["impl Freeze for Password",1,["mcaptcha::api::v1::auth::runners::Password"]],["impl Freeze for register",1,["mcaptcha::api::v1::auth::register"]],["impl Freeze for login",1,["mcaptcha::api::v1::auth::login"]],["impl Freeze for signout",1,["mcaptcha::api::v1::auth::signout"]],["impl Freeze for CreateCaptcha",1,["mcaptcha::api::v1::mcaptcha::create::CreateCaptcha"]],["impl Freeze for MCaptchaDetails",1,["mcaptcha::api::v1::mcaptcha::create::MCaptchaDetails"]],["impl Freeze for create",1,["mcaptcha::api::v1::mcaptcha::create::create"]],["impl Freeze for DeleteCaptcha",1,["mcaptcha::api::v1::mcaptcha::delete::DeleteCaptcha"]],["impl Freeze for delete",1,["mcaptcha::api::v1::mcaptcha::delete::delete"]],["impl Freeze for Easy",1,["mcaptcha::api::v1::mcaptcha::easy::routes::Easy"]],["impl Freeze for TrafficPatternRequest",1,["mcaptcha::api::v1::mcaptcha::easy::TrafficPatternRequest"]],["impl Freeze for create",1,["mcaptcha::api::v1::mcaptcha::easy::create"]],["impl Freeze for UpdateTrafficPattern",1,["mcaptcha::api::v1::mcaptcha::easy::UpdateTrafficPattern"]],["impl Freeze for update",1,["mcaptcha::api::v1::mcaptcha::easy::update"]],["impl Freeze for get_captcha",1,["mcaptcha::api::v1::mcaptcha::get::get_captcha"]],["impl Freeze for Levels",1,["mcaptcha::api::v1::mcaptcha::get::Levels"]],["impl Freeze for I32Levels",1,["mcaptcha::api::v1::mcaptcha::get::I32Levels"]],["impl Freeze for Stats",1,["mcaptcha::api::v1::mcaptcha::stats::routes::Stats"]],["impl Freeze for StatsPayload",1,["mcaptcha::api::v1::mcaptcha::stats::StatsPayload"]],["impl Freeze for get",1,["mcaptcha::api::v1::mcaptcha::stats::get"]],["impl Freeze for update_key",1,["mcaptcha::api::v1::mcaptcha::update::update_key"]],["impl Freeze for UpdateCaptcha",1,["mcaptcha::api::v1::mcaptcha::update::UpdateCaptcha"]],["impl Freeze for update_captcha",1,["mcaptcha::api::v1::mcaptcha::update::update_captcha"]],["impl Freeze for Captcha",1,["mcaptcha::api::v1::mcaptcha::routes::Captcha"]],["impl Freeze for Meta",1,["mcaptcha::api::v1::meta::routes::Meta"]],["impl Freeze for BuildDetails",1,["mcaptcha::api::v1::meta::BuildDetails"]],["impl Freeze for BuildDetailsBuilder",1,["mcaptcha::api::v1::meta::BuildDetailsBuilder"]],["impl Freeze for BuildDetailsBuilderError",1,["mcaptcha::api::v1::meta::BuildDetailsBuilderError"]],["impl Freeze for build_details",1,["mcaptcha::api::v1::meta::build_details"]],["impl Freeze for Health",1,["mcaptcha::api::v1::meta::Health"]],["impl Freeze for HealthBuilder",1,["mcaptcha::api::v1::meta::HealthBuilder"]],["impl Freeze for HealthBuilderError",1,["mcaptcha::api::v1::meta::HealthBuilderError"]],["impl Freeze for health",1,["mcaptcha::api::v1::meta::health"]],["impl Freeze for AddNotificationRequest",1,["mcaptcha::api::v1::notifications::add::AddNotificationRequest"]],["impl Freeze for add_notification",1,["mcaptcha::api::v1::notifications::add::add_notification"]],["impl Freeze for NotificationResp",1,["mcaptcha::api::v1::notifications::get::NotificationResp"]],["impl Freeze for get_notification",1,["mcaptcha::api::v1::notifications::get::get_notification"]],["impl Freeze for MarkReadReq",1,["mcaptcha::api::v1::notifications::mark_read::MarkReadReq"]],["impl Freeze for mark_read",1,["mcaptcha::api::v1::notifications::mark_read::mark_read"]],["impl Freeze for Notifications",1,["mcaptcha::api::v1::notifications::routes::Notifications"]],["impl Freeze for GetConfigPayload",1,["mcaptcha::api::v1::pow::get_config::GetConfigPayload"]],["impl Freeze for get_config",1,["mcaptcha::api::v1::pow::get_config::get_config"]],["impl Freeze for ValidationToken",1,["mcaptcha::api::v1::pow::verify_pow::ValidationToken"]],["impl Freeze for verify_pow",1,["mcaptcha::api::v1::pow::verify_pow::verify_pow"]],["impl Freeze for CaptchaValidateResp",1,["mcaptcha::api::v1::pow::verify_token::CaptchaValidateResp"]],["impl Freeze for VerifyCaptchaResultPayload",1,["mcaptcha::api::v1::pow::verify_token::VerifyCaptchaResultPayload"]],["impl Freeze for validate_captcha_token",1,["mcaptcha::api::v1::pow::verify_token::validate_captcha_token"]],["impl Freeze for PoW",1,["mcaptcha::api::v1::pow::routes::PoW"]],["impl Freeze for Routes",1,["mcaptcha::api::v1::routes::Routes"]],["impl Freeze for RedirectQuery",1,["mcaptcha::api::v1::RedirectQuery"]],["impl Freeze for SystemGroup",1,["mcaptcha::data::SystemGroup"]],["impl Freeze for Data",1,["mcaptcha::data::Data"]],["impl Freeze for Date",1,["mcaptcha::date::Date"]],["impl Freeze for DemoUser",1,["mcaptcha::demo::DemoUser"]],["impl Freeze for Docs",1,["mcaptcha::docs::routes::Docs"]],["impl Freeze for Asset",1,["mcaptcha::docs::Asset"]],["impl Freeze for dist",1,["mcaptcha::docs::dist"]],["impl Freeze for spec",1,["mcaptcha::docs::spec"]],["impl Freeze for index",1,["mcaptcha::docs::index"]],["impl<'a> Freeze for IndexPage<'a>",1,["mcaptcha::email::verification::IndexPage"]],["impl Freeze for SmtpErrorWrapper",1,["mcaptcha::errors::SmtpErrorWrapper"]],["impl Freeze for DBErrorWrapper",1,["mcaptcha::errors::DBErrorWrapper"]],["impl Freeze for ServiceError",1,["mcaptcha::errors::ServiceError"]],["impl Freeze for ErrorToResponse",1,["mcaptcha::errors::ErrorToResponse"]],["impl Freeze for PageError",1,["mcaptcha::errors::PageError"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::auth::login::IndexPage"]],["impl Freeze for INDEX",1,["mcaptcha::pages::auth::login::INDEX"]],["impl Freeze for login",1,["mcaptcha::pages::auth::login::login"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::auth::register::IndexPage"]],["impl Freeze for INDEX",1,["mcaptcha::pages::auth::register::INDEX"]],["impl Freeze for join",1,["mcaptcha::pages::auth::register::join"]],["impl<'a, K, V> Freeze for SudoPage<'a, K, V>",1,["mcaptcha::pages::auth::sudo::SudoPage"]],["impl Freeze for Auth",1,["mcaptcha::pages::auth::routes::Auth"]],["impl Freeze for Errors",1,["mcaptcha::pages::errors::routes::Errors"]],["impl<'a> Freeze for ErrorPage<'a>",1,["mcaptcha::pages::errors::ErrorPage"]],["impl Freeze for INTERNAL_SERVER_ERROR_BODY",1,["mcaptcha::pages::errors::INTERNAL_SERVER_ERROR_BODY"]],["impl Freeze for UNKNOWN_ERROR_BODY",1,["mcaptcha::pages::errors::UNKNOWN_ERROR_BODY"]],["impl Freeze for error",1,["mcaptcha::pages::errors::error"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::panel::notifications::IndexPage"]],["impl Freeze for Notification",1,["mcaptcha::pages::panel::notifications::Notification"]],["impl Freeze for notifications",1,["mcaptcha::pages::panel::notifications::notifications"]],["impl Freeze for Settings",1,["mcaptcha::pages::panel::settings::routes::Settings"]],["impl<'a> Freeze for IndexPage<'a>",1,["mcaptcha::pages::panel::settings::IndexPage"]],["impl Freeze for settings",1,["mcaptcha::pages::panel::settings::settings"]],["impl Freeze for delete_account",1,["mcaptcha::pages::panel::settings::delete_account"]],["impl Freeze for update_secret",1,["mcaptcha::pages::panel::settings::update_secret"]],["impl Freeze for ADVANCE_INDEX",1,["mcaptcha::pages::panel::sitekey::add::ADVANCE_INDEX"]],["impl Freeze for EASY_INDEX",1,["mcaptcha::pages::panel::sitekey::add::EASY_INDEX"]],["impl<'a> Freeze for AdvanceIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::AdvanceIndexPage"]],["impl Freeze for advance",1,["mcaptcha::pages::panel::sitekey::add::advance"]],["impl<'a> Freeze for EasyIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::EasyIndexPage"]],["impl Freeze for easy",1,["mcaptcha::pages::panel::sitekey::add::easy"]],["impl Freeze for delete_sitekey",1,["mcaptcha::pages::panel::sitekey::delete::delete_sitekey"]],["impl Freeze for AdvanceEditPage",1,["mcaptcha::pages::panel::sitekey::edit::AdvanceEditPage"]],["impl Freeze for advance",1,["mcaptcha::pages::panel::sitekey::edit::advance"]],["impl<'a> Freeze for EasyEditPage<'a>",1,["mcaptcha::pages::panel::sitekey::edit::EasyEditPage"]],["impl Freeze for easy",1,["mcaptcha::pages::panel::sitekey::edit::easy"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::panel::sitekey::list::IndexPage"]],["impl Freeze for list_sitekeys",1,["mcaptcha::pages::panel::sitekey::list::list_sitekeys"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::panel::sitekey::view::IndexPage"]],["impl Freeze for view_sitekey",1,["mcaptcha::pages::panel::sitekey::view::view_sitekey"]],["impl Freeze for Sitekey",1,["mcaptcha::pages::panel::sitekey::routes::Sitekey"]],["impl Freeze for Panel",1,["mcaptcha::pages::panel::routes::Panel"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::panel::IndexPage"]],["impl Freeze for panel",1,["mcaptcha::pages::panel::panel"]],["impl Freeze for Routes",1,["mcaptcha::pages::routes::Routes"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::sitemap::IndexPage"]],["impl Freeze for INDEX",1,["mcaptcha::pages::sitemap::INDEX"]],["impl Freeze for sitemap",1,["mcaptcha::pages::sitemap::sitemap"]],["impl Freeze for Server",1,["mcaptcha::settings::Server"]],["impl Freeze for Captcha",1,["mcaptcha::settings::Captcha"]],["impl Freeze for DefaultDifficultyStrategy",1,["mcaptcha::settings::DefaultDifficultyStrategy"]],["impl Freeze for Smtp",1,["mcaptcha::settings::Smtp"]],["impl Freeze for DBType",1,["mcaptcha::settings::DBType"]],["impl Freeze for Database",1,["mcaptcha::settings::Database"]],["impl Freeze for Redis",1,["mcaptcha::settings::Redis"]],["impl Freeze for Settings",1,["mcaptcha::settings::Settings"]],["impl Freeze for FileMap",1,["mcaptcha::static_assets::filemap::FileMap"]],["impl Freeze for KEY",1,["mcaptcha::static_assets::static_files::assets::KEY"]],["impl Freeze for GITHUB",1,["mcaptcha::static_assets::static_files::assets::GITHUB"]],["impl Freeze for HOME",1,["mcaptcha::static_assets::static_files::assets::HOME"]],["impl Freeze for SETTINGS_ICON",1,["mcaptcha::static_assets::static_files::assets::SETTINGS_ICON"]],["impl Freeze for CREDIT_CARD",1,["mcaptcha::static_assets::static_files::assets::CREDIT_CARD"]],["impl Freeze for HELP_CIRCLE",1,["mcaptcha::static_assets::static_files::assets::HELP_CIRCLE"]],["impl Freeze for MESSAGE",1,["mcaptcha::static_assets::static_files::assets::MESSAGE"]],["impl Freeze for DOCS_ICON",1,["mcaptcha::static_assets::static_files::assets::DOCS_ICON"]],["impl Freeze for MCAPTCHA_TRANS_ICON",1,["mcaptcha::static_assets::static_files::assets::MCAPTCHA_TRANS_ICON"]],["impl Freeze for BAR_CHART",1,["mcaptcha::static_assets::static_files::assets::BAR_CHART"]],["impl Freeze for Asset",1,["mcaptcha::static_assets::static_files::Asset"]],["impl Freeze for static_files",1,["mcaptcha::static_assets::static_files::static_files"]],["impl Freeze for Favicons",1,["mcaptcha::static_assets::static_files::Favicons"]],["impl Freeze for favicons",1,["mcaptcha::static_assets::static_files::favicons"]],["impl Freeze for CaptchaStats",1,["mcaptcha::stats::CaptchaStats"]],["impl Freeze for Real",1,["mcaptcha::stats::Real"]],["impl Freeze for Dummy",1,["mcaptcha::stats::Dummy"]],["impl Freeze for Widget",1,["mcaptcha::widget::routes::Widget"]],["impl Freeze for IndexPage",1,["mcaptcha::widget::IndexPage"]],["impl Freeze for INDEX_PAGE",1,["mcaptcha::widget::INDEX_PAGE"]],["impl Freeze for show_widget",1,["mcaptcha::widget::show_widget"]],["impl Freeze for SETTINGS",1,["mcaptcha::SETTINGS"]],["impl Freeze for FILES",1,["mcaptcha::FILES"]],["impl Freeze for JS",1,["mcaptcha::JS"]],["impl Freeze for CSS",1,["mcaptcha::CSS"]],["impl Freeze for MOBILE_CSS",1,["mcaptcha::MOBILE_CSS"]],["impl Freeze for VERIFICATIN_WIDGET_JS",1,["mcaptcha::VERIFICATIN_WIDGET_JS"]],["impl Freeze for VERIFICATIN_WIDGET_CSS",1,["mcaptcha::VERIFICATIN_WIDGET_CSS"]],["impl Freeze for SOURCE_FILES_OF_INSTANCE",1,["mcaptcha::SOURCE_FILES_OF_INSTANCE"]]] };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 258fcb87..02b7d30c 100644 --- a/implementors/core/marker/trait.Send.js +++ b/implementors/core/marker/trait.Send.js @@ -1,6 +1,6 @@ (function() {var implementors = { -"db_core":[["impl Send for DBError",1,["db_core::errors::DBError"]],["impl<'a> Send for Register<'a>",1,["db_core::Register"]],["impl<'a> Send for UpdateEmail<'a>",1,["db_core::UpdateEmail"]],["impl<'a> Send for Login<'a>",1,["db_core::Login"]],["impl Send for NameHash",1,["db_core::NameHash"]],["impl Send for StatsUnixTimestamp",1,["db_core::StatsUnixTimestamp"]],["impl Send for Notification",1,["db_core::Notification"]],["impl<'a> Send for AddNotification<'a>",1,["db_core::AddNotification"]],["impl Send for TrafficPattern",1,["db_core::TrafficPattern"]],["impl<'a> Send for CreateCaptcha<'a>",1,["db_core::CreateCaptcha"]],["impl Send for Captcha",1,["db_core::Captcha"]],["impl Send for Secret",1,["db_core::Secret"]]], -"db_sqlx_maria":[["impl Send for Database",1,["db_sqlx_maria::Database"]],["impl Send for Conn",1,["db_sqlx_maria::Conn"]],["impl Send for ConnectionOptions",1,["db_sqlx_maria::ConnectionOptions"]],["impl Send for Fresh",1,["db_sqlx_maria::Fresh"]],["impl Send for InnerNotification",1,["db_sqlx_maria::InnerNotification"]]], -"db_sqlx_postgres":[["impl Send for Database",1,["db_sqlx_postgres::Database"]],["impl Send for Conn",1,["db_sqlx_postgres::Conn"]],["impl Send for ConnectionOptions",1,["db_sqlx_postgres::ConnectionOptions"]],["impl Send for Fresh",1,["db_sqlx_postgres::Fresh"]],["impl Send for InnerNotification",1,["db_sqlx_postgres::InnerNotification"]]], -"mcaptcha":[["impl Send for delete_account",1,["mcaptcha::api::v1::account::delete::delete_account"]],["impl Send for Email",1,["mcaptcha::api::v1::account::email::Email"]],["impl Send for email_exists",1,["mcaptcha::api::v1::account::email::email_exists"]],["impl Send for set_email",1,["mcaptcha::api::v1::account::email::set_email"]],["impl Send for ChangePasswordReqest",1,["mcaptcha::api::v1::account::password::ChangePasswordReqest"]],["impl Send for UpdatePassword",1,["mcaptcha::api::v1::account::password::UpdatePassword"]],["impl Send for update_user_password",1,["mcaptcha::api::v1::account::password::update_user_password"]],["impl Send for get_secret",1,["mcaptcha::api::v1::account::secret::get_secret"]],["impl Send for update_user_secret",1,["mcaptcha::api::v1::account::secret::update_user_secret"]],["impl Send for username_exists",1,["mcaptcha::api::v1::account::username::username_exists"]],["impl Send for Username",1,["mcaptcha::api::v1::account::username::Username"]],["impl Send for set_username",1,["mcaptcha::api::v1::account::username::set_username"]],["impl Send for Account",1,["mcaptcha::api::v1::account::routes::Account"]],["impl Send for AccountCheckPayload",1,["mcaptcha::api::v1::account::AccountCheckPayload"]],["impl Send for AccountCheckResp",1,["mcaptcha::api::v1::account::AccountCheckResp"]],["impl Send for Auth",1,["mcaptcha::api::v1::auth::routes::Auth"]],["impl Send for Register",1,["mcaptcha::api::v1::auth::runners::Register"]],["impl Send for Login",1,["mcaptcha::api::v1::auth::runners::Login"]],["impl Send for Password",1,["mcaptcha::api::v1::auth::runners::Password"]],["impl Send for register",1,["mcaptcha::api::v1::auth::register"]],["impl Send for login",1,["mcaptcha::api::v1::auth::login"]],["impl Send for signout",1,["mcaptcha::api::v1::auth::signout"]],["impl Send for CreateCaptcha",1,["mcaptcha::api::v1::mcaptcha::create::CreateCaptcha"]],["impl Send for MCaptchaDetails",1,["mcaptcha::api::v1::mcaptcha::create::MCaptchaDetails"]],["impl Send for create",1,["mcaptcha::api::v1::mcaptcha::create::create"]],["impl Send for DeleteCaptcha",1,["mcaptcha::api::v1::mcaptcha::delete::DeleteCaptcha"]],["impl Send for delete",1,["mcaptcha::api::v1::mcaptcha::delete::delete"]],["impl Send for Easy",1,["mcaptcha::api::v1::mcaptcha::easy::routes::Easy"]],["impl Send for TrafficPatternRequest",1,["mcaptcha::api::v1::mcaptcha::easy::TrafficPatternRequest"]],["impl Send for create",1,["mcaptcha::api::v1::mcaptcha::easy::create"]],["impl Send for UpdateTrafficPattern",1,["mcaptcha::api::v1::mcaptcha::easy::UpdateTrafficPattern"]],["impl Send for update",1,["mcaptcha::api::v1::mcaptcha::easy::update"]],["impl Send for get_captcha",1,["mcaptcha::api::v1::mcaptcha::get::get_captcha"]],["impl Send for Levels",1,["mcaptcha::api::v1::mcaptcha::get::Levels"]],["impl Send for I32Levels",1,["mcaptcha::api::v1::mcaptcha::get::I32Levels"]],["impl Send for Stats",1,["mcaptcha::api::v1::mcaptcha::stats::routes::Stats"]],["impl Send for StatsPayload",1,["mcaptcha::api::v1::mcaptcha::stats::StatsPayload"]],["impl Send for get",1,["mcaptcha::api::v1::mcaptcha::stats::get"]],["impl Send for update_key",1,["mcaptcha::api::v1::mcaptcha::update::update_key"]],["impl Send for UpdateCaptcha",1,["mcaptcha::api::v1::mcaptcha::update::UpdateCaptcha"]],["impl Send for update_captcha",1,["mcaptcha::api::v1::mcaptcha::update::update_captcha"]],["impl Send for Captcha",1,["mcaptcha::api::v1::mcaptcha::routes::Captcha"]],["impl Send for Meta",1,["mcaptcha::api::v1::meta::routes::Meta"]],["impl Send for BuildDetails",1,["mcaptcha::api::v1::meta::BuildDetails"]],["impl Send for BuildDetailsBuilder",1,["mcaptcha::api::v1::meta::BuildDetailsBuilder"]],["impl Send for BuildDetailsBuilderError",1,["mcaptcha::api::v1::meta::BuildDetailsBuilderError"]],["impl Send for build_details",1,["mcaptcha::api::v1::meta::build_details"]],["impl Send for Health",1,["mcaptcha::api::v1::meta::Health"]],["impl Send for HealthBuilder",1,["mcaptcha::api::v1::meta::HealthBuilder"]],["impl Send for HealthBuilderError",1,["mcaptcha::api::v1::meta::HealthBuilderError"]],["impl Send for health",1,["mcaptcha::api::v1::meta::health"]],["impl Send for AddNotificationRequest",1,["mcaptcha::api::v1::notifications::add::AddNotificationRequest"]],["impl Send for add_notification",1,["mcaptcha::api::v1::notifications::add::add_notification"]],["impl Send for NotificationResp",1,["mcaptcha::api::v1::notifications::get::NotificationResp"]],["impl Send for get_notification",1,["mcaptcha::api::v1::notifications::get::get_notification"]],["impl Send for MarkReadReq",1,["mcaptcha::api::v1::notifications::mark_read::MarkReadReq"]],["impl Send for mark_read",1,["mcaptcha::api::v1::notifications::mark_read::mark_read"]],["impl Send for Notifications",1,["mcaptcha::api::v1::notifications::routes::Notifications"]],["impl Send for GetConfigPayload",1,["mcaptcha::api::v1::pow::get_config::GetConfigPayload"]],["impl Send for get_config",1,["mcaptcha::api::v1::pow::get_config::get_config"]],["impl Send for ValidationToken",1,["mcaptcha::api::v1::pow::verify_pow::ValidationToken"]],["impl Send for verify_pow",1,["mcaptcha::api::v1::pow::verify_pow::verify_pow"]],["impl Send for CaptchaValidateResp",1,["mcaptcha::api::v1::pow::verify_token::CaptchaValidateResp"]],["impl Send for VerifyCaptchaResultPayload",1,["mcaptcha::api::v1::pow::verify_token::VerifyCaptchaResultPayload"]],["impl Send for validate_captcha_token",1,["mcaptcha::api::v1::pow::verify_token::validate_captcha_token"]],["impl Send for PoW",1,["mcaptcha::api::v1::pow::routes::PoW"]],["impl Send for Routes",1,["mcaptcha::api::v1::routes::Routes"]],["impl Send for RedirectQuery",1,["mcaptcha::api::v1::RedirectQuery"]],["impl Send for SystemGroup",1,["mcaptcha::data::SystemGroup"]],["impl Send for Data",1,["mcaptcha::data::Data"]],["impl Send for Date",1,["mcaptcha::date::Date"]],["impl Send for DemoUser",1,["mcaptcha::demo::DemoUser"]],["impl Send for Docs",1,["mcaptcha::docs::routes::Docs"]],["impl Send for Asset",1,["mcaptcha::docs::Asset"]],["impl Send for dist",1,["mcaptcha::docs::dist"]],["impl Send for spec",1,["mcaptcha::docs::spec"]],["impl Send for index",1,["mcaptcha::docs::index"]],["impl<'a> Send for IndexPage<'a>",1,["mcaptcha::email::verification::IndexPage"]],["impl Send for SmtpErrorWrapper",1,["mcaptcha::errors::SmtpErrorWrapper"]],["impl Send for DBErrorWrapper",1,["mcaptcha::errors::DBErrorWrapper"]],["impl Send for ServiceError",1,["mcaptcha::errors::ServiceError"]],["impl Send for ErrorToResponse",1,["mcaptcha::errors::ErrorToResponse"]],["impl Send for PageError",1,["mcaptcha::errors::PageError"]],["impl Send for IndexPage",1,["mcaptcha::pages::auth::login::IndexPage"]],["impl Send for INDEX",1,["mcaptcha::pages::auth::login::INDEX"]],["impl Send for login",1,["mcaptcha::pages::auth::login::login"]],["impl Send for IndexPage",1,["mcaptcha::pages::auth::register::IndexPage"]],["impl Send for INDEX",1,["mcaptcha::pages::auth::register::INDEX"]],["impl Send for join",1,["mcaptcha::pages::auth::register::join"]],["impl<'a, K, V> Send for SudoPage<'a, K, V>where
    K: Send,
    V: Send,
",1,["mcaptcha::pages::auth::sudo::SudoPage"]],["impl Send for Auth",1,["mcaptcha::pages::auth::routes::Auth"]],["impl Send for Errors",1,["mcaptcha::pages::errors::routes::Errors"]],["impl<'a> Send for ErrorPage<'a>",1,["mcaptcha::pages::errors::ErrorPage"]],["impl Send for INTERNAL_SERVER_ERROR_BODY",1,["mcaptcha::pages::errors::INTERNAL_SERVER_ERROR_BODY"]],["impl Send for UNKNOWN_ERROR_BODY",1,["mcaptcha::pages::errors::UNKNOWN_ERROR_BODY"]],["impl Send for error",1,["mcaptcha::pages::errors::error"]],["impl Send for IndexPage",1,["mcaptcha::pages::panel::notifications::IndexPage"]],["impl Send for Notification",1,["mcaptcha::pages::panel::notifications::Notification"]],["impl Send for notifications",1,["mcaptcha::pages::panel::notifications::notifications"]],["impl Send for Settings",1,["mcaptcha::pages::panel::settings::routes::Settings"]],["impl<'a> Send for IndexPage<'a>",1,["mcaptcha::pages::panel::settings::IndexPage"]],["impl Send for settings",1,["mcaptcha::pages::panel::settings::settings"]],["impl Send for delete_account",1,["mcaptcha::pages::panel::settings::delete_account"]],["impl Send for update_secret",1,["mcaptcha::pages::panel::settings::update_secret"]],["impl Send for ADVANCE_INDEX",1,["mcaptcha::pages::panel::sitekey::add::ADVANCE_INDEX"]],["impl Send for EASY_INDEX",1,["mcaptcha::pages::panel::sitekey::add::EASY_INDEX"]],["impl<'a> Send for AdvanceIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::AdvanceIndexPage"]],["impl Send for advance",1,["mcaptcha::pages::panel::sitekey::add::advance"]],["impl<'a> Send for EasyIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::EasyIndexPage"]],["impl Send for easy",1,["mcaptcha::pages::panel::sitekey::add::easy"]],["impl Send for delete_sitekey",1,["mcaptcha::pages::panel::sitekey::delete::delete_sitekey"]],["impl Send for AdvanceEditPage",1,["mcaptcha::pages::panel::sitekey::edit::AdvanceEditPage"]],["impl Send for advance",1,["mcaptcha::pages::panel::sitekey::edit::advance"]],["impl<'a> Send for EasyEditPage<'a>",1,["mcaptcha::pages::panel::sitekey::edit::EasyEditPage"]],["impl Send for easy",1,["mcaptcha::pages::panel::sitekey::edit::easy"]],["impl Send for IndexPage",1,["mcaptcha::pages::panel::sitekey::list::IndexPage"]],["impl Send for list_sitekeys",1,["mcaptcha::pages::panel::sitekey::list::list_sitekeys"]],["impl Send for IndexPage",1,["mcaptcha::pages::panel::sitekey::view::IndexPage"]],["impl Send for view_sitekey",1,["mcaptcha::pages::panel::sitekey::view::view_sitekey"]],["impl Send for Sitekey",1,["mcaptcha::pages::panel::sitekey::routes::Sitekey"]],["impl Send for Panel",1,["mcaptcha::pages::panel::routes::Panel"]],["impl Send for IndexPage",1,["mcaptcha::pages::panel::IndexPage"]],["impl Send for panel",1,["mcaptcha::pages::panel::panel"]],["impl Send for Routes",1,["mcaptcha::pages::routes::Routes"]],["impl Send for IndexPage",1,["mcaptcha::pages::sitemap::IndexPage"]],["impl Send for INDEX",1,["mcaptcha::pages::sitemap::INDEX"]],["impl Send for sitemap",1,["mcaptcha::pages::sitemap::sitemap"]],["impl Send for Server",1,["mcaptcha::settings::Server"]],["impl Send for Captcha",1,["mcaptcha::settings::Captcha"]],["impl Send for DefaultDifficultyStrategy",1,["mcaptcha::settings::DefaultDifficultyStrategy"]],["impl Send for Smtp",1,["mcaptcha::settings::Smtp"]],["impl Send for DBType",1,["mcaptcha::settings::DBType"]],["impl Send for Database",1,["mcaptcha::settings::Database"]],["impl Send for Redis",1,["mcaptcha::settings::Redis"]],["impl Send for Settings",1,["mcaptcha::settings::Settings"]],["impl Send for FileMap",1,["mcaptcha::static_assets::filemap::FileMap"]],["impl Send for KEY",1,["mcaptcha::static_assets::static_files::assets::KEY"]],["impl Send for GITHUB",1,["mcaptcha::static_assets::static_files::assets::GITHUB"]],["impl Send for HOME",1,["mcaptcha::static_assets::static_files::assets::HOME"]],["impl Send for SETTINGS_ICON",1,["mcaptcha::static_assets::static_files::assets::SETTINGS_ICON"]],["impl Send for CREDIT_CARD",1,["mcaptcha::static_assets::static_files::assets::CREDIT_CARD"]],["impl Send for HELP_CIRCLE",1,["mcaptcha::static_assets::static_files::assets::HELP_CIRCLE"]],["impl Send for MESSAGE",1,["mcaptcha::static_assets::static_files::assets::MESSAGE"]],["impl Send for DOCS_ICON",1,["mcaptcha::static_assets::static_files::assets::DOCS_ICON"]],["impl Send for MCAPTCHA_TRANS_ICON",1,["mcaptcha::static_assets::static_files::assets::MCAPTCHA_TRANS_ICON"]],["impl Send for BAR_CHART",1,["mcaptcha::static_assets::static_files::assets::BAR_CHART"]],["impl Send for Asset",1,["mcaptcha::static_assets::static_files::Asset"]],["impl Send for static_files",1,["mcaptcha::static_assets::static_files::static_files"]],["impl Send for Favicons",1,["mcaptcha::static_assets::static_files::Favicons"]],["impl Send for favicons",1,["mcaptcha::static_assets::static_files::favicons"]],["impl Send for CaptchaStats",1,["mcaptcha::stats::CaptchaStats"]],["impl Send for Real",1,["mcaptcha::stats::Real"]],["impl Send for Dummy",1,["mcaptcha::stats::Dummy"]],["impl Send for Widget",1,["mcaptcha::widget::routes::Widget"]],["impl Send for IndexPage",1,["mcaptcha::widget::IndexPage"]],["impl Send for INDEX_PAGE",1,["mcaptcha::widget::INDEX_PAGE"]],["impl Send for show_widget",1,["mcaptcha::widget::show_widget"]],["impl Send for SETTINGS",1,["mcaptcha::SETTINGS"]],["impl Send for FILES",1,["mcaptcha::FILES"]],["impl Send for JS",1,["mcaptcha::JS"]],["impl Send for CSS",1,["mcaptcha::CSS"]],["impl Send for MOBILE_CSS",1,["mcaptcha::MOBILE_CSS"]],["impl Send for VERIFICATIN_WIDGET_JS",1,["mcaptcha::VERIFICATIN_WIDGET_JS"]],["impl Send for VERIFICATIN_WIDGET_CSS",1,["mcaptcha::VERIFICATIN_WIDGET_CSS"]],["impl Send for SOURCE_FILES_OF_INSTANCE",1,["mcaptcha::SOURCE_FILES_OF_INSTANCE"]]] +"db_core":[["impl Send for DBError",1,["db_core::errors::DBError"]],["impl<'a> Send for Register<'a>",1,["db_core::Register"]],["impl<'a> Send for UpdateEmail<'a>",1,["db_core::UpdateEmail"]],["impl<'a> Send for Login<'a>",1,["db_core::Login"]],["impl Send for NameHash",1,["db_core::NameHash"]],["impl Send for StatsUnixTimestamp",1,["db_core::StatsUnixTimestamp"]],["impl Send for Notification",1,["db_core::Notification"]],["impl<'a> Send for AddNotification<'a>",1,["db_core::AddNotification"]],["impl Send for TrafficPattern",1,["db_core::TrafficPattern"]],["impl<'a> Send for CreateCaptcha<'a>",1,["db_core::CreateCaptcha"]],["impl Send for Captcha",1,["db_core::Captcha"]],["impl Send for Secret",1,["db_core::Secret"]]], +"db_sqlx_maria":[["impl Send for Database",1,["db_sqlx_maria::Database"]],["impl Send for Conn",1,["db_sqlx_maria::Conn"]],["impl Send for ConnectionOptions",1,["db_sqlx_maria::ConnectionOptions"]],["impl Send for Fresh",1,["db_sqlx_maria::Fresh"]],["impl Send for InnerNotification",1,["db_sqlx_maria::InnerNotification"]]], +"db_sqlx_postgres":[["impl Send for Database",1,["db_sqlx_postgres::Database"]],["impl Send for Conn",1,["db_sqlx_postgres::Conn"]],["impl Send for ConnectionOptions",1,["db_sqlx_postgres::ConnectionOptions"]],["impl Send for Fresh",1,["db_sqlx_postgres::Fresh"]],["impl Send for InnerNotification",1,["db_sqlx_postgres::InnerNotification"]]], +"mcaptcha":[["impl Send for delete_account",1,["mcaptcha::api::v1::account::delete::delete_account"]],["impl Send for Email",1,["mcaptcha::api::v1::account::email::Email"]],["impl Send for email_exists",1,["mcaptcha::api::v1::account::email::email_exists"]],["impl Send for set_email",1,["mcaptcha::api::v1::account::email::set_email"]],["impl Send for ChangePasswordReqest",1,["mcaptcha::api::v1::account::password::ChangePasswordReqest"]],["impl Send for UpdatePassword",1,["mcaptcha::api::v1::account::password::UpdatePassword"]],["impl Send for update_user_password",1,["mcaptcha::api::v1::account::password::update_user_password"]],["impl Send for get_secret",1,["mcaptcha::api::v1::account::secret::get_secret"]],["impl Send for update_user_secret",1,["mcaptcha::api::v1::account::secret::update_user_secret"]],["impl Send for username_exists",1,["mcaptcha::api::v1::account::username::username_exists"]],["impl Send for Username",1,["mcaptcha::api::v1::account::username::Username"]],["impl Send for set_username",1,["mcaptcha::api::v1::account::username::set_username"]],["impl Send for Account",1,["mcaptcha::api::v1::account::routes::Account"]],["impl Send for AccountCheckPayload",1,["mcaptcha::api::v1::account::AccountCheckPayload"]],["impl Send for AccountCheckResp",1,["mcaptcha::api::v1::account::AccountCheckResp"]],["impl Send for Auth",1,["mcaptcha::api::v1::auth::routes::Auth"]],["impl Send for Register",1,["mcaptcha::api::v1::auth::runners::Register"]],["impl Send for Login",1,["mcaptcha::api::v1::auth::runners::Login"]],["impl Send for Password",1,["mcaptcha::api::v1::auth::runners::Password"]],["impl Send for register",1,["mcaptcha::api::v1::auth::register"]],["impl Send for login",1,["mcaptcha::api::v1::auth::login"]],["impl Send for signout",1,["mcaptcha::api::v1::auth::signout"]],["impl Send for CreateCaptcha",1,["mcaptcha::api::v1::mcaptcha::create::CreateCaptcha"]],["impl Send for MCaptchaDetails",1,["mcaptcha::api::v1::mcaptcha::create::MCaptchaDetails"]],["impl Send for create",1,["mcaptcha::api::v1::mcaptcha::create::create"]],["impl Send for DeleteCaptcha",1,["mcaptcha::api::v1::mcaptcha::delete::DeleteCaptcha"]],["impl Send for delete",1,["mcaptcha::api::v1::mcaptcha::delete::delete"]],["impl Send for Easy",1,["mcaptcha::api::v1::mcaptcha::easy::routes::Easy"]],["impl Send for TrafficPatternRequest",1,["mcaptcha::api::v1::mcaptcha::easy::TrafficPatternRequest"]],["impl Send for create",1,["mcaptcha::api::v1::mcaptcha::easy::create"]],["impl Send for UpdateTrafficPattern",1,["mcaptcha::api::v1::mcaptcha::easy::UpdateTrafficPattern"]],["impl Send for update",1,["mcaptcha::api::v1::mcaptcha::easy::update"]],["impl Send for get_captcha",1,["mcaptcha::api::v1::mcaptcha::get::get_captcha"]],["impl Send for Levels",1,["mcaptcha::api::v1::mcaptcha::get::Levels"]],["impl Send for I32Levels",1,["mcaptcha::api::v1::mcaptcha::get::I32Levels"]],["impl Send for Stats",1,["mcaptcha::api::v1::mcaptcha::stats::routes::Stats"]],["impl Send for StatsPayload",1,["mcaptcha::api::v1::mcaptcha::stats::StatsPayload"]],["impl Send for get",1,["mcaptcha::api::v1::mcaptcha::stats::get"]],["impl Send for update_key",1,["mcaptcha::api::v1::mcaptcha::update::update_key"]],["impl Send for UpdateCaptcha",1,["mcaptcha::api::v1::mcaptcha::update::UpdateCaptcha"]],["impl Send for update_captcha",1,["mcaptcha::api::v1::mcaptcha::update::update_captcha"]],["impl Send for Captcha",1,["mcaptcha::api::v1::mcaptcha::routes::Captcha"]],["impl Send for Meta",1,["mcaptcha::api::v1::meta::routes::Meta"]],["impl Send for BuildDetails",1,["mcaptcha::api::v1::meta::BuildDetails"]],["impl Send for BuildDetailsBuilder",1,["mcaptcha::api::v1::meta::BuildDetailsBuilder"]],["impl Send for BuildDetailsBuilderError",1,["mcaptcha::api::v1::meta::BuildDetailsBuilderError"]],["impl Send for build_details",1,["mcaptcha::api::v1::meta::build_details"]],["impl Send for Health",1,["mcaptcha::api::v1::meta::Health"]],["impl Send for HealthBuilder",1,["mcaptcha::api::v1::meta::HealthBuilder"]],["impl Send for HealthBuilderError",1,["mcaptcha::api::v1::meta::HealthBuilderError"]],["impl Send for health",1,["mcaptcha::api::v1::meta::health"]],["impl Send for AddNotificationRequest",1,["mcaptcha::api::v1::notifications::add::AddNotificationRequest"]],["impl Send for add_notification",1,["mcaptcha::api::v1::notifications::add::add_notification"]],["impl Send for NotificationResp",1,["mcaptcha::api::v1::notifications::get::NotificationResp"]],["impl Send for get_notification",1,["mcaptcha::api::v1::notifications::get::get_notification"]],["impl Send for MarkReadReq",1,["mcaptcha::api::v1::notifications::mark_read::MarkReadReq"]],["impl Send for mark_read",1,["mcaptcha::api::v1::notifications::mark_read::mark_read"]],["impl Send for Notifications",1,["mcaptcha::api::v1::notifications::routes::Notifications"]],["impl Send for GetConfigPayload",1,["mcaptcha::api::v1::pow::get_config::GetConfigPayload"]],["impl Send for get_config",1,["mcaptcha::api::v1::pow::get_config::get_config"]],["impl Send for ValidationToken",1,["mcaptcha::api::v1::pow::verify_pow::ValidationToken"]],["impl Send for verify_pow",1,["mcaptcha::api::v1::pow::verify_pow::verify_pow"]],["impl Send for CaptchaValidateResp",1,["mcaptcha::api::v1::pow::verify_token::CaptchaValidateResp"]],["impl Send for VerifyCaptchaResultPayload",1,["mcaptcha::api::v1::pow::verify_token::VerifyCaptchaResultPayload"]],["impl Send for validate_captcha_token",1,["mcaptcha::api::v1::pow::verify_token::validate_captcha_token"]],["impl Send for PoW",1,["mcaptcha::api::v1::pow::routes::PoW"]],["impl Send for Routes",1,["mcaptcha::api::v1::routes::Routes"]],["impl Send for RedirectQuery",1,["mcaptcha::api::v1::RedirectQuery"]],["impl Send for SystemGroup",1,["mcaptcha::data::SystemGroup"]],["impl Send for Data",1,["mcaptcha::data::Data"]],["impl Send for Date",1,["mcaptcha::date::Date"]],["impl Send for DemoUser",1,["mcaptcha::demo::DemoUser"]],["impl Send for Docs",1,["mcaptcha::docs::routes::Docs"]],["impl Send for Asset",1,["mcaptcha::docs::Asset"]],["impl Send for dist",1,["mcaptcha::docs::dist"]],["impl Send for spec",1,["mcaptcha::docs::spec"]],["impl Send for index",1,["mcaptcha::docs::index"]],["impl<'a> Send for IndexPage<'a>",1,["mcaptcha::email::verification::IndexPage"]],["impl Send for SmtpErrorWrapper",1,["mcaptcha::errors::SmtpErrorWrapper"]],["impl Send for DBErrorWrapper",1,["mcaptcha::errors::DBErrorWrapper"]],["impl Send for ServiceError",1,["mcaptcha::errors::ServiceError"]],["impl Send for ErrorToResponse",1,["mcaptcha::errors::ErrorToResponse"]],["impl Send for PageError",1,["mcaptcha::errors::PageError"]],["impl Send for IndexPage",1,["mcaptcha::pages::auth::login::IndexPage"]],["impl Send for INDEX",1,["mcaptcha::pages::auth::login::INDEX"]],["impl Send for login",1,["mcaptcha::pages::auth::login::login"]],["impl Send for IndexPage",1,["mcaptcha::pages::auth::register::IndexPage"]],["impl Send for INDEX",1,["mcaptcha::pages::auth::register::INDEX"]],["impl Send for join",1,["mcaptcha::pages::auth::register::join"]],["impl<'a, K, V> Send for SudoPage<'a, K, V>where
    K: Send,
    V: Send,
",1,["mcaptcha::pages::auth::sudo::SudoPage"]],["impl Send for Auth",1,["mcaptcha::pages::auth::routes::Auth"]],["impl Send for Errors",1,["mcaptcha::pages::errors::routes::Errors"]],["impl<'a> Send for ErrorPage<'a>",1,["mcaptcha::pages::errors::ErrorPage"]],["impl Send for INTERNAL_SERVER_ERROR_BODY",1,["mcaptcha::pages::errors::INTERNAL_SERVER_ERROR_BODY"]],["impl Send for UNKNOWN_ERROR_BODY",1,["mcaptcha::pages::errors::UNKNOWN_ERROR_BODY"]],["impl Send for error",1,["mcaptcha::pages::errors::error"]],["impl Send for IndexPage",1,["mcaptcha::pages::panel::notifications::IndexPage"]],["impl Send for Notification",1,["mcaptcha::pages::panel::notifications::Notification"]],["impl Send for notifications",1,["mcaptcha::pages::panel::notifications::notifications"]],["impl Send for Settings",1,["mcaptcha::pages::panel::settings::routes::Settings"]],["impl<'a> Send for IndexPage<'a>",1,["mcaptcha::pages::panel::settings::IndexPage"]],["impl Send for settings",1,["mcaptcha::pages::panel::settings::settings"]],["impl Send for delete_account",1,["mcaptcha::pages::panel::settings::delete_account"]],["impl Send for update_secret",1,["mcaptcha::pages::panel::settings::update_secret"]],["impl Send for ADVANCE_INDEX",1,["mcaptcha::pages::panel::sitekey::add::ADVANCE_INDEX"]],["impl Send for EASY_INDEX",1,["mcaptcha::pages::panel::sitekey::add::EASY_INDEX"]],["impl<'a> Send for AdvanceIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::AdvanceIndexPage"]],["impl Send for advance",1,["mcaptcha::pages::panel::sitekey::add::advance"]],["impl<'a> Send for EasyIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::EasyIndexPage"]],["impl Send for easy",1,["mcaptcha::pages::panel::sitekey::add::easy"]],["impl Send for delete_sitekey",1,["mcaptcha::pages::panel::sitekey::delete::delete_sitekey"]],["impl Send for AdvanceEditPage",1,["mcaptcha::pages::panel::sitekey::edit::AdvanceEditPage"]],["impl Send for advance",1,["mcaptcha::pages::panel::sitekey::edit::advance"]],["impl<'a> Send for EasyEditPage<'a>",1,["mcaptcha::pages::panel::sitekey::edit::EasyEditPage"]],["impl Send for easy",1,["mcaptcha::pages::panel::sitekey::edit::easy"]],["impl Send for IndexPage",1,["mcaptcha::pages::panel::sitekey::list::IndexPage"]],["impl Send for list_sitekeys",1,["mcaptcha::pages::panel::sitekey::list::list_sitekeys"]],["impl Send for IndexPage",1,["mcaptcha::pages::panel::sitekey::view::IndexPage"]],["impl Send for view_sitekey",1,["mcaptcha::pages::panel::sitekey::view::view_sitekey"]],["impl Send for Sitekey",1,["mcaptcha::pages::panel::sitekey::routes::Sitekey"]],["impl Send for Panel",1,["mcaptcha::pages::panel::routes::Panel"]],["impl Send for IndexPage",1,["mcaptcha::pages::panel::IndexPage"]],["impl Send for panel",1,["mcaptcha::pages::panel::panel"]],["impl Send for Routes",1,["mcaptcha::pages::routes::Routes"]],["impl Send for IndexPage",1,["mcaptcha::pages::sitemap::IndexPage"]],["impl Send for INDEX",1,["mcaptcha::pages::sitemap::INDEX"]],["impl Send for sitemap",1,["mcaptcha::pages::sitemap::sitemap"]],["impl Send for Server",1,["mcaptcha::settings::Server"]],["impl Send for Captcha",1,["mcaptcha::settings::Captcha"]],["impl Send for DefaultDifficultyStrategy",1,["mcaptcha::settings::DefaultDifficultyStrategy"]],["impl Send for Smtp",1,["mcaptcha::settings::Smtp"]],["impl Send for DBType",1,["mcaptcha::settings::DBType"]],["impl Send for Database",1,["mcaptcha::settings::Database"]],["impl Send for Redis",1,["mcaptcha::settings::Redis"]],["impl Send for Settings",1,["mcaptcha::settings::Settings"]],["impl Send for FileMap",1,["mcaptcha::static_assets::filemap::FileMap"]],["impl Send for KEY",1,["mcaptcha::static_assets::static_files::assets::KEY"]],["impl Send for GITHUB",1,["mcaptcha::static_assets::static_files::assets::GITHUB"]],["impl Send for HOME",1,["mcaptcha::static_assets::static_files::assets::HOME"]],["impl Send for SETTINGS_ICON",1,["mcaptcha::static_assets::static_files::assets::SETTINGS_ICON"]],["impl Send for CREDIT_CARD",1,["mcaptcha::static_assets::static_files::assets::CREDIT_CARD"]],["impl Send for HELP_CIRCLE",1,["mcaptcha::static_assets::static_files::assets::HELP_CIRCLE"]],["impl Send for MESSAGE",1,["mcaptcha::static_assets::static_files::assets::MESSAGE"]],["impl Send for DOCS_ICON",1,["mcaptcha::static_assets::static_files::assets::DOCS_ICON"]],["impl Send for MCAPTCHA_TRANS_ICON",1,["mcaptcha::static_assets::static_files::assets::MCAPTCHA_TRANS_ICON"]],["impl Send for BAR_CHART",1,["mcaptcha::static_assets::static_files::assets::BAR_CHART"]],["impl Send for Asset",1,["mcaptcha::static_assets::static_files::Asset"]],["impl Send for static_files",1,["mcaptcha::static_assets::static_files::static_files"]],["impl Send for Favicons",1,["mcaptcha::static_assets::static_files::Favicons"]],["impl Send for favicons",1,["mcaptcha::static_assets::static_files::favicons"]],["impl Send for CaptchaStats",1,["mcaptcha::stats::CaptchaStats"]],["impl Send for Real",1,["mcaptcha::stats::Real"]],["impl Send for Dummy",1,["mcaptcha::stats::Dummy"]],["impl Send for Widget",1,["mcaptcha::widget::routes::Widget"]],["impl Send for IndexPage",1,["mcaptcha::widget::IndexPage"]],["impl Send for INDEX_PAGE",1,["mcaptcha::widget::INDEX_PAGE"]],["impl Send for show_widget",1,["mcaptcha::widget::show_widget"]],["impl Send for SETTINGS",1,["mcaptcha::SETTINGS"]],["impl Send for FILES",1,["mcaptcha::FILES"]],["impl Send for JS",1,["mcaptcha::JS"]],["impl Send for CSS",1,["mcaptcha::CSS"]],["impl Send for MOBILE_CSS",1,["mcaptcha::MOBILE_CSS"]],["impl Send for VERIFICATIN_WIDGET_JS",1,["mcaptcha::VERIFICATIN_WIDGET_JS"]],["impl Send for VERIFICATIN_WIDGET_CSS",1,["mcaptcha::VERIFICATIN_WIDGET_CSS"]],["impl Send for SOURCE_FILES_OF_INSTANCE",1,["mcaptcha::SOURCE_FILES_OF_INSTANCE"]]] };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 e074ba31..dbaff7f8 100644 --- a/implementors/core/marker/trait.StructuralPartialEq.js +++ b/implementors/core/marker/trait.StructuralPartialEq.js @@ -1,6 +1,6 @@ (function() {var implementors = { -"db_core":[["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 StatsUnixTimestamp"],["impl StructuralPartialEq for Notification"],["impl<'a> StructuralPartialEq for AddNotification<'a>"],["impl StructuralPartialEq for TrafficPattern"],["impl<'a> StructuralPartialEq for CreateCaptcha<'a>"],["impl StructuralPartialEq for Captcha"],["impl StructuralPartialEq for Secret"]], -"db_sqlx_maria":[["impl StructuralPartialEq for InnerNotification"]], -"db_sqlx_postgres":[["impl StructuralPartialEq for InnerNotification"]], -"mcaptcha":[["impl StructuralPartialEq for AddNotificationRequest"],["impl StructuralPartialEq for NotificationResp"],["impl StructuralPartialEq for ServiceError"],["impl StructuralPartialEq for PageError"],["impl StructuralPartialEq for DBType"],["impl StructuralPartialEq for CaptchaStats"],["impl StructuralPartialEq for Real"],["impl StructuralPartialEq for Dummy"]] +"db_core":[["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 StatsUnixTimestamp"],["impl StructuralPartialEq for Notification"],["impl<'a> StructuralPartialEq for AddNotification<'a>"],["impl StructuralPartialEq for TrafficPattern"],["impl<'a> StructuralPartialEq for CreateCaptcha<'a>"],["impl StructuralPartialEq for Captcha"],["impl StructuralPartialEq for Secret"]], +"db_sqlx_maria":[["impl StructuralPartialEq for InnerNotification"]], +"db_sqlx_postgres":[["impl StructuralPartialEq for InnerNotification"]], +"mcaptcha":[["impl StructuralPartialEq for AddNotificationRequest"],["impl StructuralPartialEq for NotificationResp"],["impl StructuralPartialEq for ServiceError"],["impl StructuralPartialEq for PageError"],["impl StructuralPartialEq for DBType"],["impl StructuralPartialEq for CaptchaStats"],["impl StructuralPartialEq for Real"],["impl StructuralPartialEq for Dummy"]] };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 94a72759..b0951212 100644 --- a/implementors/core/marker/trait.Sync.js +++ b/implementors/core/marker/trait.Sync.js @@ -1,6 +1,6 @@ (function() {var implementors = { -"db_core":[["impl Sync for DBError",1,["db_core::errors::DBError"]],["impl<'a> Sync for Register<'a>",1,["db_core::Register"]],["impl<'a> Sync for UpdateEmail<'a>",1,["db_core::UpdateEmail"]],["impl<'a> Sync for Login<'a>",1,["db_core::Login"]],["impl Sync for NameHash",1,["db_core::NameHash"]],["impl Sync for StatsUnixTimestamp",1,["db_core::StatsUnixTimestamp"]],["impl Sync for Notification",1,["db_core::Notification"]],["impl<'a> Sync for AddNotification<'a>",1,["db_core::AddNotification"]],["impl Sync for TrafficPattern",1,["db_core::TrafficPattern"]],["impl<'a> Sync for CreateCaptcha<'a>",1,["db_core::CreateCaptcha"]],["impl Sync for Captcha",1,["db_core::Captcha"]],["impl Sync for Secret",1,["db_core::Secret"]]], -"db_sqlx_maria":[["impl Sync for Database",1,["db_sqlx_maria::Database"]],["impl Sync for Conn",1,["db_sqlx_maria::Conn"]],["impl Sync for ConnectionOptions",1,["db_sqlx_maria::ConnectionOptions"]],["impl Sync for Fresh",1,["db_sqlx_maria::Fresh"]],["impl Sync for InnerNotification",1,["db_sqlx_maria::InnerNotification"]]], -"db_sqlx_postgres":[["impl Sync for Database",1,["db_sqlx_postgres::Database"]],["impl Sync for Conn",1,["db_sqlx_postgres::Conn"]],["impl Sync for ConnectionOptions",1,["db_sqlx_postgres::ConnectionOptions"]],["impl Sync for Fresh",1,["db_sqlx_postgres::Fresh"]],["impl Sync for InnerNotification",1,["db_sqlx_postgres::InnerNotification"]]], -"mcaptcha":[["impl Sync for delete_account",1,["mcaptcha::api::v1::account::delete::delete_account"]],["impl Sync for Email",1,["mcaptcha::api::v1::account::email::Email"]],["impl Sync for email_exists",1,["mcaptcha::api::v1::account::email::email_exists"]],["impl Sync for set_email",1,["mcaptcha::api::v1::account::email::set_email"]],["impl Sync for ChangePasswordReqest",1,["mcaptcha::api::v1::account::password::ChangePasswordReqest"]],["impl Sync for UpdatePassword",1,["mcaptcha::api::v1::account::password::UpdatePassword"]],["impl Sync for update_user_password",1,["mcaptcha::api::v1::account::password::update_user_password"]],["impl Sync for get_secret",1,["mcaptcha::api::v1::account::secret::get_secret"]],["impl Sync for update_user_secret",1,["mcaptcha::api::v1::account::secret::update_user_secret"]],["impl Sync for username_exists",1,["mcaptcha::api::v1::account::username::username_exists"]],["impl Sync for Username",1,["mcaptcha::api::v1::account::username::Username"]],["impl Sync for set_username",1,["mcaptcha::api::v1::account::username::set_username"]],["impl Sync for Account",1,["mcaptcha::api::v1::account::routes::Account"]],["impl Sync for AccountCheckPayload",1,["mcaptcha::api::v1::account::AccountCheckPayload"]],["impl Sync for AccountCheckResp",1,["mcaptcha::api::v1::account::AccountCheckResp"]],["impl Sync for Auth",1,["mcaptcha::api::v1::auth::routes::Auth"]],["impl Sync for Register",1,["mcaptcha::api::v1::auth::runners::Register"]],["impl Sync for Login",1,["mcaptcha::api::v1::auth::runners::Login"]],["impl Sync for Password",1,["mcaptcha::api::v1::auth::runners::Password"]],["impl Sync for register",1,["mcaptcha::api::v1::auth::register"]],["impl Sync for login",1,["mcaptcha::api::v1::auth::login"]],["impl Sync for signout",1,["mcaptcha::api::v1::auth::signout"]],["impl Sync for CreateCaptcha",1,["mcaptcha::api::v1::mcaptcha::create::CreateCaptcha"]],["impl Sync for MCaptchaDetails",1,["mcaptcha::api::v1::mcaptcha::create::MCaptchaDetails"]],["impl Sync for create",1,["mcaptcha::api::v1::mcaptcha::create::create"]],["impl Sync for DeleteCaptcha",1,["mcaptcha::api::v1::mcaptcha::delete::DeleteCaptcha"]],["impl Sync for delete",1,["mcaptcha::api::v1::mcaptcha::delete::delete"]],["impl Sync for Easy",1,["mcaptcha::api::v1::mcaptcha::easy::routes::Easy"]],["impl Sync for TrafficPatternRequest",1,["mcaptcha::api::v1::mcaptcha::easy::TrafficPatternRequest"]],["impl Sync for create",1,["mcaptcha::api::v1::mcaptcha::easy::create"]],["impl Sync for UpdateTrafficPattern",1,["mcaptcha::api::v1::mcaptcha::easy::UpdateTrafficPattern"]],["impl Sync for update",1,["mcaptcha::api::v1::mcaptcha::easy::update"]],["impl Sync for get_captcha",1,["mcaptcha::api::v1::mcaptcha::get::get_captcha"]],["impl Sync for Levels",1,["mcaptcha::api::v1::mcaptcha::get::Levels"]],["impl Sync for I32Levels",1,["mcaptcha::api::v1::mcaptcha::get::I32Levels"]],["impl Sync for Stats",1,["mcaptcha::api::v1::mcaptcha::stats::routes::Stats"]],["impl Sync for StatsPayload",1,["mcaptcha::api::v1::mcaptcha::stats::StatsPayload"]],["impl Sync for get",1,["mcaptcha::api::v1::mcaptcha::stats::get"]],["impl Sync for update_key",1,["mcaptcha::api::v1::mcaptcha::update::update_key"]],["impl Sync for UpdateCaptcha",1,["mcaptcha::api::v1::mcaptcha::update::UpdateCaptcha"]],["impl Sync for update_captcha",1,["mcaptcha::api::v1::mcaptcha::update::update_captcha"]],["impl Sync for Captcha",1,["mcaptcha::api::v1::mcaptcha::routes::Captcha"]],["impl Sync for Meta",1,["mcaptcha::api::v1::meta::routes::Meta"]],["impl Sync for BuildDetails",1,["mcaptcha::api::v1::meta::BuildDetails"]],["impl Sync for BuildDetailsBuilder",1,["mcaptcha::api::v1::meta::BuildDetailsBuilder"]],["impl Sync for BuildDetailsBuilderError",1,["mcaptcha::api::v1::meta::BuildDetailsBuilderError"]],["impl Sync for build_details",1,["mcaptcha::api::v1::meta::build_details"]],["impl Sync for Health",1,["mcaptcha::api::v1::meta::Health"]],["impl Sync for HealthBuilder",1,["mcaptcha::api::v1::meta::HealthBuilder"]],["impl Sync for HealthBuilderError",1,["mcaptcha::api::v1::meta::HealthBuilderError"]],["impl Sync for health",1,["mcaptcha::api::v1::meta::health"]],["impl Sync for AddNotificationRequest",1,["mcaptcha::api::v1::notifications::add::AddNotificationRequest"]],["impl Sync for add_notification",1,["mcaptcha::api::v1::notifications::add::add_notification"]],["impl Sync for NotificationResp",1,["mcaptcha::api::v1::notifications::get::NotificationResp"]],["impl Sync for get_notification",1,["mcaptcha::api::v1::notifications::get::get_notification"]],["impl Sync for MarkReadReq",1,["mcaptcha::api::v1::notifications::mark_read::MarkReadReq"]],["impl Sync for mark_read",1,["mcaptcha::api::v1::notifications::mark_read::mark_read"]],["impl Sync for Notifications",1,["mcaptcha::api::v1::notifications::routes::Notifications"]],["impl Sync for GetConfigPayload",1,["mcaptcha::api::v1::pow::get_config::GetConfigPayload"]],["impl Sync for get_config",1,["mcaptcha::api::v1::pow::get_config::get_config"]],["impl Sync for ValidationToken",1,["mcaptcha::api::v1::pow::verify_pow::ValidationToken"]],["impl Sync for verify_pow",1,["mcaptcha::api::v1::pow::verify_pow::verify_pow"]],["impl Sync for CaptchaValidateResp",1,["mcaptcha::api::v1::pow::verify_token::CaptchaValidateResp"]],["impl Sync for VerifyCaptchaResultPayload",1,["mcaptcha::api::v1::pow::verify_token::VerifyCaptchaResultPayload"]],["impl Sync for validate_captcha_token",1,["mcaptcha::api::v1::pow::verify_token::validate_captcha_token"]],["impl Sync for PoW",1,["mcaptcha::api::v1::pow::routes::PoW"]],["impl Sync for Routes",1,["mcaptcha::api::v1::routes::Routes"]],["impl Sync for RedirectQuery",1,["mcaptcha::api::v1::RedirectQuery"]],["impl Sync for SystemGroup",1,["mcaptcha::data::SystemGroup"]],["impl Sync for Data",1,["mcaptcha::data::Data"]],["impl Sync for Date",1,["mcaptcha::date::Date"]],["impl Sync for DemoUser",1,["mcaptcha::demo::DemoUser"]],["impl Sync for Docs",1,["mcaptcha::docs::routes::Docs"]],["impl Sync for Asset",1,["mcaptcha::docs::Asset"]],["impl Sync for dist",1,["mcaptcha::docs::dist"]],["impl Sync for spec",1,["mcaptcha::docs::spec"]],["impl Sync for index",1,["mcaptcha::docs::index"]],["impl<'a> Sync for IndexPage<'a>",1,["mcaptcha::email::verification::IndexPage"]],["impl Sync for SmtpErrorWrapper",1,["mcaptcha::errors::SmtpErrorWrapper"]],["impl Sync for DBErrorWrapper",1,["mcaptcha::errors::DBErrorWrapper"]],["impl Sync for ServiceError",1,["mcaptcha::errors::ServiceError"]],["impl Sync for ErrorToResponse",1,["mcaptcha::errors::ErrorToResponse"]],["impl Sync for PageError",1,["mcaptcha::errors::PageError"]],["impl Sync for IndexPage",1,["mcaptcha::pages::auth::login::IndexPage"]],["impl Sync for INDEX",1,["mcaptcha::pages::auth::login::INDEX"]],["impl Sync for login",1,["mcaptcha::pages::auth::login::login"]],["impl Sync for IndexPage",1,["mcaptcha::pages::auth::register::IndexPage"]],["impl Sync for INDEX",1,["mcaptcha::pages::auth::register::INDEX"]],["impl Sync for join",1,["mcaptcha::pages::auth::register::join"]],["impl<'a, K, V> Sync for SudoPage<'a, K, V>where
    K: Sync,
    V: Sync,
",1,["mcaptcha::pages::auth::sudo::SudoPage"]],["impl Sync for Auth",1,["mcaptcha::pages::auth::routes::Auth"]],["impl Sync for Errors",1,["mcaptcha::pages::errors::routes::Errors"]],["impl<'a> Sync for ErrorPage<'a>",1,["mcaptcha::pages::errors::ErrorPage"]],["impl Sync for INTERNAL_SERVER_ERROR_BODY",1,["mcaptcha::pages::errors::INTERNAL_SERVER_ERROR_BODY"]],["impl Sync for UNKNOWN_ERROR_BODY",1,["mcaptcha::pages::errors::UNKNOWN_ERROR_BODY"]],["impl Sync for error",1,["mcaptcha::pages::errors::error"]],["impl Sync for IndexPage",1,["mcaptcha::pages::panel::notifications::IndexPage"]],["impl Sync for Notification",1,["mcaptcha::pages::panel::notifications::Notification"]],["impl Sync for notifications",1,["mcaptcha::pages::panel::notifications::notifications"]],["impl Sync for Settings",1,["mcaptcha::pages::panel::settings::routes::Settings"]],["impl<'a> Sync for IndexPage<'a>",1,["mcaptcha::pages::panel::settings::IndexPage"]],["impl Sync for settings",1,["mcaptcha::pages::panel::settings::settings"]],["impl Sync for delete_account",1,["mcaptcha::pages::panel::settings::delete_account"]],["impl Sync for update_secret",1,["mcaptcha::pages::panel::settings::update_secret"]],["impl Sync for ADVANCE_INDEX",1,["mcaptcha::pages::panel::sitekey::add::ADVANCE_INDEX"]],["impl Sync for EASY_INDEX",1,["mcaptcha::pages::panel::sitekey::add::EASY_INDEX"]],["impl<'a> Sync for AdvanceIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::AdvanceIndexPage"]],["impl Sync for advance",1,["mcaptcha::pages::panel::sitekey::add::advance"]],["impl<'a> Sync for EasyIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::EasyIndexPage"]],["impl Sync for easy",1,["mcaptcha::pages::panel::sitekey::add::easy"]],["impl Sync for delete_sitekey",1,["mcaptcha::pages::panel::sitekey::delete::delete_sitekey"]],["impl Sync for AdvanceEditPage",1,["mcaptcha::pages::panel::sitekey::edit::AdvanceEditPage"]],["impl Sync for advance",1,["mcaptcha::pages::panel::sitekey::edit::advance"]],["impl<'a> Sync for EasyEditPage<'a>",1,["mcaptcha::pages::panel::sitekey::edit::EasyEditPage"]],["impl Sync for easy",1,["mcaptcha::pages::panel::sitekey::edit::easy"]],["impl Sync for IndexPage",1,["mcaptcha::pages::panel::sitekey::list::IndexPage"]],["impl Sync for list_sitekeys",1,["mcaptcha::pages::panel::sitekey::list::list_sitekeys"]],["impl Sync for IndexPage",1,["mcaptcha::pages::panel::sitekey::view::IndexPage"]],["impl Sync for view_sitekey",1,["mcaptcha::pages::panel::sitekey::view::view_sitekey"]],["impl Sync for Sitekey",1,["mcaptcha::pages::panel::sitekey::routes::Sitekey"]],["impl Sync for Panel",1,["mcaptcha::pages::panel::routes::Panel"]],["impl Sync for IndexPage",1,["mcaptcha::pages::panel::IndexPage"]],["impl Sync for panel",1,["mcaptcha::pages::panel::panel"]],["impl Sync for Routes",1,["mcaptcha::pages::routes::Routes"]],["impl Sync for IndexPage",1,["mcaptcha::pages::sitemap::IndexPage"]],["impl Sync for INDEX",1,["mcaptcha::pages::sitemap::INDEX"]],["impl Sync for sitemap",1,["mcaptcha::pages::sitemap::sitemap"]],["impl Sync for Server",1,["mcaptcha::settings::Server"]],["impl Sync for Captcha",1,["mcaptcha::settings::Captcha"]],["impl Sync for DefaultDifficultyStrategy",1,["mcaptcha::settings::DefaultDifficultyStrategy"]],["impl Sync for Smtp",1,["mcaptcha::settings::Smtp"]],["impl Sync for DBType",1,["mcaptcha::settings::DBType"]],["impl Sync for Database",1,["mcaptcha::settings::Database"]],["impl Sync for Redis",1,["mcaptcha::settings::Redis"]],["impl Sync for Settings",1,["mcaptcha::settings::Settings"]],["impl Sync for FileMap",1,["mcaptcha::static_assets::filemap::FileMap"]],["impl Sync for KEY",1,["mcaptcha::static_assets::static_files::assets::KEY"]],["impl Sync for GITHUB",1,["mcaptcha::static_assets::static_files::assets::GITHUB"]],["impl Sync for HOME",1,["mcaptcha::static_assets::static_files::assets::HOME"]],["impl Sync for SETTINGS_ICON",1,["mcaptcha::static_assets::static_files::assets::SETTINGS_ICON"]],["impl Sync for CREDIT_CARD",1,["mcaptcha::static_assets::static_files::assets::CREDIT_CARD"]],["impl Sync for HELP_CIRCLE",1,["mcaptcha::static_assets::static_files::assets::HELP_CIRCLE"]],["impl Sync for MESSAGE",1,["mcaptcha::static_assets::static_files::assets::MESSAGE"]],["impl Sync for DOCS_ICON",1,["mcaptcha::static_assets::static_files::assets::DOCS_ICON"]],["impl Sync for MCAPTCHA_TRANS_ICON",1,["mcaptcha::static_assets::static_files::assets::MCAPTCHA_TRANS_ICON"]],["impl Sync for BAR_CHART",1,["mcaptcha::static_assets::static_files::assets::BAR_CHART"]],["impl Sync for Asset",1,["mcaptcha::static_assets::static_files::Asset"]],["impl Sync for static_files",1,["mcaptcha::static_assets::static_files::static_files"]],["impl Sync for Favicons",1,["mcaptcha::static_assets::static_files::Favicons"]],["impl Sync for favicons",1,["mcaptcha::static_assets::static_files::favicons"]],["impl Sync for CaptchaStats",1,["mcaptcha::stats::CaptchaStats"]],["impl Sync for Real",1,["mcaptcha::stats::Real"]],["impl Sync for Dummy",1,["mcaptcha::stats::Dummy"]],["impl Sync for Widget",1,["mcaptcha::widget::routes::Widget"]],["impl Sync for IndexPage",1,["mcaptcha::widget::IndexPage"]],["impl Sync for INDEX_PAGE",1,["mcaptcha::widget::INDEX_PAGE"]],["impl Sync for show_widget",1,["mcaptcha::widget::show_widget"]],["impl Sync for SETTINGS",1,["mcaptcha::SETTINGS"]],["impl Sync for FILES",1,["mcaptcha::FILES"]],["impl Sync for JS",1,["mcaptcha::JS"]],["impl Sync for CSS",1,["mcaptcha::CSS"]],["impl Sync for MOBILE_CSS",1,["mcaptcha::MOBILE_CSS"]],["impl Sync for VERIFICATIN_WIDGET_JS",1,["mcaptcha::VERIFICATIN_WIDGET_JS"]],["impl Sync for VERIFICATIN_WIDGET_CSS",1,["mcaptcha::VERIFICATIN_WIDGET_CSS"]],["impl Sync for SOURCE_FILES_OF_INSTANCE",1,["mcaptcha::SOURCE_FILES_OF_INSTANCE"]]] +"db_core":[["impl Sync for DBError",1,["db_core::errors::DBError"]],["impl<'a> Sync for Register<'a>",1,["db_core::Register"]],["impl<'a> Sync for UpdateEmail<'a>",1,["db_core::UpdateEmail"]],["impl<'a> Sync for Login<'a>",1,["db_core::Login"]],["impl Sync for NameHash",1,["db_core::NameHash"]],["impl Sync for StatsUnixTimestamp",1,["db_core::StatsUnixTimestamp"]],["impl Sync for Notification",1,["db_core::Notification"]],["impl<'a> Sync for AddNotification<'a>",1,["db_core::AddNotification"]],["impl Sync for TrafficPattern",1,["db_core::TrafficPattern"]],["impl<'a> Sync for CreateCaptcha<'a>",1,["db_core::CreateCaptcha"]],["impl Sync for Captcha",1,["db_core::Captcha"]],["impl Sync for Secret",1,["db_core::Secret"]]], +"db_sqlx_maria":[["impl Sync for Database",1,["db_sqlx_maria::Database"]],["impl Sync for Conn",1,["db_sqlx_maria::Conn"]],["impl Sync for ConnectionOptions",1,["db_sqlx_maria::ConnectionOptions"]],["impl Sync for Fresh",1,["db_sqlx_maria::Fresh"]],["impl Sync for InnerNotification",1,["db_sqlx_maria::InnerNotification"]]], +"db_sqlx_postgres":[["impl Sync for Database",1,["db_sqlx_postgres::Database"]],["impl Sync for Conn",1,["db_sqlx_postgres::Conn"]],["impl Sync for ConnectionOptions",1,["db_sqlx_postgres::ConnectionOptions"]],["impl Sync for Fresh",1,["db_sqlx_postgres::Fresh"]],["impl Sync for InnerNotification",1,["db_sqlx_postgres::InnerNotification"]]], +"mcaptcha":[["impl Sync for delete_account",1,["mcaptcha::api::v1::account::delete::delete_account"]],["impl Sync for Email",1,["mcaptcha::api::v1::account::email::Email"]],["impl Sync for email_exists",1,["mcaptcha::api::v1::account::email::email_exists"]],["impl Sync for set_email",1,["mcaptcha::api::v1::account::email::set_email"]],["impl Sync for ChangePasswordReqest",1,["mcaptcha::api::v1::account::password::ChangePasswordReqest"]],["impl Sync for UpdatePassword",1,["mcaptcha::api::v1::account::password::UpdatePassword"]],["impl Sync for update_user_password",1,["mcaptcha::api::v1::account::password::update_user_password"]],["impl Sync for get_secret",1,["mcaptcha::api::v1::account::secret::get_secret"]],["impl Sync for update_user_secret",1,["mcaptcha::api::v1::account::secret::update_user_secret"]],["impl Sync for username_exists",1,["mcaptcha::api::v1::account::username::username_exists"]],["impl Sync for Username",1,["mcaptcha::api::v1::account::username::Username"]],["impl Sync for set_username",1,["mcaptcha::api::v1::account::username::set_username"]],["impl Sync for Account",1,["mcaptcha::api::v1::account::routes::Account"]],["impl Sync for AccountCheckPayload",1,["mcaptcha::api::v1::account::AccountCheckPayload"]],["impl Sync for AccountCheckResp",1,["mcaptcha::api::v1::account::AccountCheckResp"]],["impl Sync for Auth",1,["mcaptcha::api::v1::auth::routes::Auth"]],["impl Sync for Register",1,["mcaptcha::api::v1::auth::runners::Register"]],["impl Sync for Login",1,["mcaptcha::api::v1::auth::runners::Login"]],["impl Sync for Password",1,["mcaptcha::api::v1::auth::runners::Password"]],["impl Sync for register",1,["mcaptcha::api::v1::auth::register"]],["impl Sync for login",1,["mcaptcha::api::v1::auth::login"]],["impl Sync for signout",1,["mcaptcha::api::v1::auth::signout"]],["impl Sync for CreateCaptcha",1,["mcaptcha::api::v1::mcaptcha::create::CreateCaptcha"]],["impl Sync for MCaptchaDetails",1,["mcaptcha::api::v1::mcaptcha::create::MCaptchaDetails"]],["impl Sync for create",1,["mcaptcha::api::v1::mcaptcha::create::create"]],["impl Sync for DeleteCaptcha",1,["mcaptcha::api::v1::mcaptcha::delete::DeleteCaptcha"]],["impl Sync for delete",1,["mcaptcha::api::v1::mcaptcha::delete::delete"]],["impl Sync for Easy",1,["mcaptcha::api::v1::mcaptcha::easy::routes::Easy"]],["impl Sync for TrafficPatternRequest",1,["mcaptcha::api::v1::mcaptcha::easy::TrafficPatternRequest"]],["impl Sync for create",1,["mcaptcha::api::v1::mcaptcha::easy::create"]],["impl Sync for UpdateTrafficPattern",1,["mcaptcha::api::v1::mcaptcha::easy::UpdateTrafficPattern"]],["impl Sync for update",1,["mcaptcha::api::v1::mcaptcha::easy::update"]],["impl Sync for get_captcha",1,["mcaptcha::api::v1::mcaptcha::get::get_captcha"]],["impl Sync for Levels",1,["mcaptcha::api::v1::mcaptcha::get::Levels"]],["impl Sync for I32Levels",1,["mcaptcha::api::v1::mcaptcha::get::I32Levels"]],["impl Sync for Stats",1,["mcaptcha::api::v1::mcaptcha::stats::routes::Stats"]],["impl Sync for StatsPayload",1,["mcaptcha::api::v1::mcaptcha::stats::StatsPayload"]],["impl Sync for get",1,["mcaptcha::api::v1::mcaptcha::stats::get"]],["impl Sync for update_key",1,["mcaptcha::api::v1::mcaptcha::update::update_key"]],["impl Sync for UpdateCaptcha",1,["mcaptcha::api::v1::mcaptcha::update::UpdateCaptcha"]],["impl Sync for update_captcha",1,["mcaptcha::api::v1::mcaptcha::update::update_captcha"]],["impl Sync for Captcha",1,["mcaptcha::api::v1::mcaptcha::routes::Captcha"]],["impl Sync for Meta",1,["mcaptcha::api::v1::meta::routes::Meta"]],["impl Sync for BuildDetails",1,["mcaptcha::api::v1::meta::BuildDetails"]],["impl Sync for BuildDetailsBuilder",1,["mcaptcha::api::v1::meta::BuildDetailsBuilder"]],["impl Sync for BuildDetailsBuilderError",1,["mcaptcha::api::v1::meta::BuildDetailsBuilderError"]],["impl Sync for build_details",1,["mcaptcha::api::v1::meta::build_details"]],["impl Sync for Health",1,["mcaptcha::api::v1::meta::Health"]],["impl Sync for HealthBuilder",1,["mcaptcha::api::v1::meta::HealthBuilder"]],["impl Sync for HealthBuilderError",1,["mcaptcha::api::v1::meta::HealthBuilderError"]],["impl Sync for health",1,["mcaptcha::api::v1::meta::health"]],["impl Sync for AddNotificationRequest",1,["mcaptcha::api::v1::notifications::add::AddNotificationRequest"]],["impl Sync for add_notification",1,["mcaptcha::api::v1::notifications::add::add_notification"]],["impl Sync for NotificationResp",1,["mcaptcha::api::v1::notifications::get::NotificationResp"]],["impl Sync for get_notification",1,["mcaptcha::api::v1::notifications::get::get_notification"]],["impl Sync for MarkReadReq",1,["mcaptcha::api::v1::notifications::mark_read::MarkReadReq"]],["impl Sync for mark_read",1,["mcaptcha::api::v1::notifications::mark_read::mark_read"]],["impl Sync for Notifications",1,["mcaptcha::api::v1::notifications::routes::Notifications"]],["impl Sync for GetConfigPayload",1,["mcaptcha::api::v1::pow::get_config::GetConfigPayload"]],["impl Sync for get_config",1,["mcaptcha::api::v1::pow::get_config::get_config"]],["impl Sync for ValidationToken",1,["mcaptcha::api::v1::pow::verify_pow::ValidationToken"]],["impl Sync for verify_pow",1,["mcaptcha::api::v1::pow::verify_pow::verify_pow"]],["impl Sync for CaptchaValidateResp",1,["mcaptcha::api::v1::pow::verify_token::CaptchaValidateResp"]],["impl Sync for VerifyCaptchaResultPayload",1,["mcaptcha::api::v1::pow::verify_token::VerifyCaptchaResultPayload"]],["impl Sync for validate_captcha_token",1,["mcaptcha::api::v1::pow::verify_token::validate_captcha_token"]],["impl Sync for PoW",1,["mcaptcha::api::v1::pow::routes::PoW"]],["impl Sync for Routes",1,["mcaptcha::api::v1::routes::Routes"]],["impl Sync for RedirectQuery",1,["mcaptcha::api::v1::RedirectQuery"]],["impl Sync for SystemGroup",1,["mcaptcha::data::SystemGroup"]],["impl Sync for Data",1,["mcaptcha::data::Data"]],["impl Sync for Date",1,["mcaptcha::date::Date"]],["impl Sync for DemoUser",1,["mcaptcha::demo::DemoUser"]],["impl Sync for Docs",1,["mcaptcha::docs::routes::Docs"]],["impl Sync for Asset",1,["mcaptcha::docs::Asset"]],["impl Sync for dist",1,["mcaptcha::docs::dist"]],["impl Sync for spec",1,["mcaptcha::docs::spec"]],["impl Sync for index",1,["mcaptcha::docs::index"]],["impl<'a> Sync for IndexPage<'a>",1,["mcaptcha::email::verification::IndexPage"]],["impl Sync for SmtpErrorWrapper",1,["mcaptcha::errors::SmtpErrorWrapper"]],["impl Sync for DBErrorWrapper",1,["mcaptcha::errors::DBErrorWrapper"]],["impl Sync for ServiceError",1,["mcaptcha::errors::ServiceError"]],["impl Sync for ErrorToResponse",1,["mcaptcha::errors::ErrorToResponse"]],["impl Sync for PageError",1,["mcaptcha::errors::PageError"]],["impl Sync for IndexPage",1,["mcaptcha::pages::auth::login::IndexPage"]],["impl Sync for INDEX",1,["mcaptcha::pages::auth::login::INDEX"]],["impl Sync for login",1,["mcaptcha::pages::auth::login::login"]],["impl Sync for IndexPage",1,["mcaptcha::pages::auth::register::IndexPage"]],["impl Sync for INDEX",1,["mcaptcha::pages::auth::register::INDEX"]],["impl Sync for join",1,["mcaptcha::pages::auth::register::join"]],["impl<'a, K, V> Sync for SudoPage<'a, K, V>where
    K: Sync,
    V: Sync,
",1,["mcaptcha::pages::auth::sudo::SudoPage"]],["impl Sync for Auth",1,["mcaptcha::pages::auth::routes::Auth"]],["impl Sync for Errors",1,["mcaptcha::pages::errors::routes::Errors"]],["impl<'a> Sync for ErrorPage<'a>",1,["mcaptcha::pages::errors::ErrorPage"]],["impl Sync for INTERNAL_SERVER_ERROR_BODY",1,["mcaptcha::pages::errors::INTERNAL_SERVER_ERROR_BODY"]],["impl Sync for UNKNOWN_ERROR_BODY",1,["mcaptcha::pages::errors::UNKNOWN_ERROR_BODY"]],["impl Sync for error",1,["mcaptcha::pages::errors::error"]],["impl Sync for IndexPage",1,["mcaptcha::pages::panel::notifications::IndexPage"]],["impl Sync for Notification",1,["mcaptcha::pages::panel::notifications::Notification"]],["impl Sync for notifications",1,["mcaptcha::pages::panel::notifications::notifications"]],["impl Sync for Settings",1,["mcaptcha::pages::panel::settings::routes::Settings"]],["impl<'a> Sync for IndexPage<'a>",1,["mcaptcha::pages::panel::settings::IndexPage"]],["impl Sync for settings",1,["mcaptcha::pages::panel::settings::settings"]],["impl Sync for delete_account",1,["mcaptcha::pages::panel::settings::delete_account"]],["impl Sync for update_secret",1,["mcaptcha::pages::panel::settings::update_secret"]],["impl Sync for ADVANCE_INDEX",1,["mcaptcha::pages::panel::sitekey::add::ADVANCE_INDEX"]],["impl Sync for EASY_INDEX",1,["mcaptcha::pages::panel::sitekey::add::EASY_INDEX"]],["impl<'a> Sync for AdvanceIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::AdvanceIndexPage"]],["impl Sync for advance",1,["mcaptcha::pages::panel::sitekey::add::advance"]],["impl<'a> Sync for EasyIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::EasyIndexPage"]],["impl Sync for easy",1,["mcaptcha::pages::panel::sitekey::add::easy"]],["impl Sync for delete_sitekey",1,["mcaptcha::pages::panel::sitekey::delete::delete_sitekey"]],["impl Sync for AdvanceEditPage",1,["mcaptcha::pages::panel::sitekey::edit::AdvanceEditPage"]],["impl Sync for advance",1,["mcaptcha::pages::panel::sitekey::edit::advance"]],["impl<'a> Sync for EasyEditPage<'a>",1,["mcaptcha::pages::panel::sitekey::edit::EasyEditPage"]],["impl Sync for easy",1,["mcaptcha::pages::panel::sitekey::edit::easy"]],["impl Sync for IndexPage",1,["mcaptcha::pages::panel::sitekey::list::IndexPage"]],["impl Sync for list_sitekeys",1,["mcaptcha::pages::panel::sitekey::list::list_sitekeys"]],["impl Sync for IndexPage",1,["mcaptcha::pages::panel::sitekey::view::IndexPage"]],["impl Sync for view_sitekey",1,["mcaptcha::pages::panel::sitekey::view::view_sitekey"]],["impl Sync for Sitekey",1,["mcaptcha::pages::panel::sitekey::routes::Sitekey"]],["impl Sync for Panel",1,["mcaptcha::pages::panel::routes::Panel"]],["impl Sync for IndexPage",1,["mcaptcha::pages::panel::IndexPage"]],["impl Sync for panel",1,["mcaptcha::pages::panel::panel"]],["impl Sync for Routes",1,["mcaptcha::pages::routes::Routes"]],["impl Sync for IndexPage",1,["mcaptcha::pages::sitemap::IndexPage"]],["impl Sync for INDEX",1,["mcaptcha::pages::sitemap::INDEX"]],["impl Sync for sitemap",1,["mcaptcha::pages::sitemap::sitemap"]],["impl Sync for Server",1,["mcaptcha::settings::Server"]],["impl Sync for Captcha",1,["mcaptcha::settings::Captcha"]],["impl Sync for DefaultDifficultyStrategy",1,["mcaptcha::settings::DefaultDifficultyStrategy"]],["impl Sync for Smtp",1,["mcaptcha::settings::Smtp"]],["impl Sync for DBType",1,["mcaptcha::settings::DBType"]],["impl Sync for Database",1,["mcaptcha::settings::Database"]],["impl Sync for Redis",1,["mcaptcha::settings::Redis"]],["impl Sync for Settings",1,["mcaptcha::settings::Settings"]],["impl Sync for FileMap",1,["mcaptcha::static_assets::filemap::FileMap"]],["impl Sync for KEY",1,["mcaptcha::static_assets::static_files::assets::KEY"]],["impl Sync for GITHUB",1,["mcaptcha::static_assets::static_files::assets::GITHUB"]],["impl Sync for HOME",1,["mcaptcha::static_assets::static_files::assets::HOME"]],["impl Sync for SETTINGS_ICON",1,["mcaptcha::static_assets::static_files::assets::SETTINGS_ICON"]],["impl Sync for CREDIT_CARD",1,["mcaptcha::static_assets::static_files::assets::CREDIT_CARD"]],["impl Sync for HELP_CIRCLE",1,["mcaptcha::static_assets::static_files::assets::HELP_CIRCLE"]],["impl Sync for MESSAGE",1,["mcaptcha::static_assets::static_files::assets::MESSAGE"]],["impl Sync for DOCS_ICON",1,["mcaptcha::static_assets::static_files::assets::DOCS_ICON"]],["impl Sync for MCAPTCHA_TRANS_ICON",1,["mcaptcha::static_assets::static_files::assets::MCAPTCHA_TRANS_ICON"]],["impl Sync for BAR_CHART",1,["mcaptcha::static_assets::static_files::assets::BAR_CHART"]],["impl Sync for Asset",1,["mcaptcha::static_assets::static_files::Asset"]],["impl Sync for static_files",1,["mcaptcha::static_assets::static_files::static_files"]],["impl Sync for Favicons",1,["mcaptcha::static_assets::static_files::Favicons"]],["impl Sync for favicons",1,["mcaptcha::static_assets::static_files::favicons"]],["impl Sync for CaptchaStats",1,["mcaptcha::stats::CaptchaStats"]],["impl Sync for Real",1,["mcaptcha::stats::Real"]],["impl Sync for Dummy",1,["mcaptcha::stats::Dummy"]],["impl Sync for Widget",1,["mcaptcha::widget::routes::Widget"]],["impl Sync for IndexPage",1,["mcaptcha::widget::IndexPage"]],["impl Sync for INDEX_PAGE",1,["mcaptcha::widget::INDEX_PAGE"]],["impl Sync for show_widget",1,["mcaptcha::widget::show_widget"]],["impl Sync for SETTINGS",1,["mcaptcha::SETTINGS"]],["impl Sync for FILES",1,["mcaptcha::FILES"]],["impl Sync for JS",1,["mcaptcha::JS"]],["impl Sync for CSS",1,["mcaptcha::CSS"]],["impl Sync for MOBILE_CSS",1,["mcaptcha::MOBILE_CSS"]],["impl Sync for VERIFICATIN_WIDGET_JS",1,["mcaptcha::VERIFICATIN_WIDGET_JS"]],["impl Sync for VERIFICATIN_WIDGET_CSS",1,["mcaptcha::VERIFICATIN_WIDGET_CSS"]],["impl Sync for SOURCE_FILES_OF_INSTANCE",1,["mcaptcha::SOURCE_FILES_OF_INSTANCE"]]] };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 8b6ade14..9e18aa8b 100644 --- a/implementors/core/marker/trait.Unpin.js +++ b/implementors/core/marker/trait.Unpin.js @@ -1,6 +1,6 @@ (function() {var implementors = { -"db_core":[["impl Unpin for DBError",1,["db_core::errors::DBError"]],["impl<'a> Unpin for Register<'a>",1,["db_core::Register"]],["impl<'a> Unpin for UpdateEmail<'a>",1,["db_core::UpdateEmail"]],["impl<'a> Unpin for Login<'a>",1,["db_core::Login"]],["impl Unpin for NameHash",1,["db_core::NameHash"]],["impl Unpin for StatsUnixTimestamp",1,["db_core::StatsUnixTimestamp"]],["impl Unpin for Notification",1,["db_core::Notification"]],["impl<'a> Unpin for AddNotification<'a>",1,["db_core::AddNotification"]],["impl Unpin for TrafficPattern",1,["db_core::TrafficPattern"]],["impl<'a> Unpin for CreateCaptcha<'a>",1,["db_core::CreateCaptcha"]],["impl Unpin for Captcha",1,["db_core::Captcha"]],["impl Unpin for Secret",1,["db_core::Secret"]]], -"db_sqlx_maria":[["impl Unpin for Database",1,["db_sqlx_maria::Database"]],["impl Unpin for Conn",1,["db_sqlx_maria::Conn"]],["impl Unpin for ConnectionOptions",1,["db_sqlx_maria::ConnectionOptions"]],["impl Unpin for Fresh",1,["db_sqlx_maria::Fresh"]],["impl Unpin for InnerNotification",1,["db_sqlx_maria::InnerNotification"]]], -"db_sqlx_postgres":[["impl Unpin for Database",1,["db_sqlx_postgres::Database"]],["impl Unpin for Conn",1,["db_sqlx_postgres::Conn"]],["impl Unpin for ConnectionOptions",1,["db_sqlx_postgres::ConnectionOptions"]],["impl Unpin for Fresh",1,["db_sqlx_postgres::Fresh"]],["impl Unpin for InnerNotification",1,["db_sqlx_postgres::InnerNotification"]]], -"mcaptcha":[["impl Unpin for delete_account",1,["mcaptcha::api::v1::account::delete::delete_account"]],["impl Unpin for Email",1,["mcaptcha::api::v1::account::email::Email"]],["impl Unpin for email_exists",1,["mcaptcha::api::v1::account::email::email_exists"]],["impl Unpin for set_email",1,["mcaptcha::api::v1::account::email::set_email"]],["impl Unpin for ChangePasswordReqest",1,["mcaptcha::api::v1::account::password::ChangePasswordReqest"]],["impl Unpin for UpdatePassword",1,["mcaptcha::api::v1::account::password::UpdatePassword"]],["impl Unpin for update_user_password",1,["mcaptcha::api::v1::account::password::update_user_password"]],["impl Unpin for get_secret",1,["mcaptcha::api::v1::account::secret::get_secret"]],["impl Unpin for update_user_secret",1,["mcaptcha::api::v1::account::secret::update_user_secret"]],["impl Unpin for username_exists",1,["mcaptcha::api::v1::account::username::username_exists"]],["impl Unpin for Username",1,["mcaptcha::api::v1::account::username::Username"]],["impl Unpin for set_username",1,["mcaptcha::api::v1::account::username::set_username"]],["impl Unpin for Account",1,["mcaptcha::api::v1::account::routes::Account"]],["impl Unpin for AccountCheckPayload",1,["mcaptcha::api::v1::account::AccountCheckPayload"]],["impl Unpin for AccountCheckResp",1,["mcaptcha::api::v1::account::AccountCheckResp"]],["impl Unpin for Auth",1,["mcaptcha::api::v1::auth::routes::Auth"]],["impl Unpin for Register",1,["mcaptcha::api::v1::auth::runners::Register"]],["impl Unpin for Login",1,["mcaptcha::api::v1::auth::runners::Login"]],["impl Unpin for Password",1,["mcaptcha::api::v1::auth::runners::Password"]],["impl Unpin for register",1,["mcaptcha::api::v1::auth::register"]],["impl Unpin for login",1,["mcaptcha::api::v1::auth::login"]],["impl Unpin for signout",1,["mcaptcha::api::v1::auth::signout"]],["impl Unpin for CreateCaptcha",1,["mcaptcha::api::v1::mcaptcha::create::CreateCaptcha"]],["impl Unpin for MCaptchaDetails",1,["mcaptcha::api::v1::mcaptcha::create::MCaptchaDetails"]],["impl Unpin for create",1,["mcaptcha::api::v1::mcaptcha::create::create"]],["impl Unpin for DeleteCaptcha",1,["mcaptcha::api::v1::mcaptcha::delete::DeleteCaptcha"]],["impl Unpin for delete",1,["mcaptcha::api::v1::mcaptcha::delete::delete"]],["impl Unpin for Easy",1,["mcaptcha::api::v1::mcaptcha::easy::routes::Easy"]],["impl Unpin for TrafficPatternRequest",1,["mcaptcha::api::v1::mcaptcha::easy::TrafficPatternRequest"]],["impl Unpin for create",1,["mcaptcha::api::v1::mcaptcha::easy::create"]],["impl Unpin for UpdateTrafficPattern",1,["mcaptcha::api::v1::mcaptcha::easy::UpdateTrafficPattern"]],["impl Unpin for update",1,["mcaptcha::api::v1::mcaptcha::easy::update"]],["impl Unpin for get_captcha",1,["mcaptcha::api::v1::mcaptcha::get::get_captcha"]],["impl Unpin for Levels",1,["mcaptcha::api::v1::mcaptcha::get::Levels"]],["impl Unpin for I32Levels",1,["mcaptcha::api::v1::mcaptcha::get::I32Levels"]],["impl Unpin for Stats",1,["mcaptcha::api::v1::mcaptcha::stats::routes::Stats"]],["impl Unpin for StatsPayload",1,["mcaptcha::api::v1::mcaptcha::stats::StatsPayload"]],["impl Unpin for get",1,["mcaptcha::api::v1::mcaptcha::stats::get"]],["impl Unpin for update_key",1,["mcaptcha::api::v1::mcaptcha::update::update_key"]],["impl Unpin for UpdateCaptcha",1,["mcaptcha::api::v1::mcaptcha::update::UpdateCaptcha"]],["impl Unpin for update_captcha",1,["mcaptcha::api::v1::mcaptcha::update::update_captcha"]],["impl Unpin for Captcha",1,["mcaptcha::api::v1::mcaptcha::routes::Captcha"]],["impl Unpin for Meta",1,["mcaptcha::api::v1::meta::routes::Meta"]],["impl Unpin for BuildDetails",1,["mcaptcha::api::v1::meta::BuildDetails"]],["impl Unpin for BuildDetailsBuilder",1,["mcaptcha::api::v1::meta::BuildDetailsBuilder"]],["impl Unpin for BuildDetailsBuilderError",1,["mcaptcha::api::v1::meta::BuildDetailsBuilderError"]],["impl Unpin for build_details",1,["mcaptcha::api::v1::meta::build_details"]],["impl Unpin for Health",1,["mcaptcha::api::v1::meta::Health"]],["impl Unpin for HealthBuilder",1,["mcaptcha::api::v1::meta::HealthBuilder"]],["impl Unpin for HealthBuilderError",1,["mcaptcha::api::v1::meta::HealthBuilderError"]],["impl Unpin for health",1,["mcaptcha::api::v1::meta::health"]],["impl Unpin for AddNotificationRequest",1,["mcaptcha::api::v1::notifications::add::AddNotificationRequest"]],["impl Unpin for add_notification",1,["mcaptcha::api::v1::notifications::add::add_notification"]],["impl Unpin for NotificationResp",1,["mcaptcha::api::v1::notifications::get::NotificationResp"]],["impl Unpin for get_notification",1,["mcaptcha::api::v1::notifications::get::get_notification"]],["impl Unpin for MarkReadReq",1,["mcaptcha::api::v1::notifications::mark_read::MarkReadReq"]],["impl Unpin for mark_read",1,["mcaptcha::api::v1::notifications::mark_read::mark_read"]],["impl Unpin for Notifications",1,["mcaptcha::api::v1::notifications::routes::Notifications"]],["impl Unpin for GetConfigPayload",1,["mcaptcha::api::v1::pow::get_config::GetConfigPayload"]],["impl Unpin for get_config",1,["mcaptcha::api::v1::pow::get_config::get_config"]],["impl Unpin for ValidationToken",1,["mcaptcha::api::v1::pow::verify_pow::ValidationToken"]],["impl Unpin for verify_pow",1,["mcaptcha::api::v1::pow::verify_pow::verify_pow"]],["impl Unpin for CaptchaValidateResp",1,["mcaptcha::api::v1::pow::verify_token::CaptchaValidateResp"]],["impl Unpin for VerifyCaptchaResultPayload",1,["mcaptcha::api::v1::pow::verify_token::VerifyCaptchaResultPayload"]],["impl Unpin for validate_captcha_token",1,["mcaptcha::api::v1::pow::verify_token::validate_captcha_token"]],["impl Unpin for PoW",1,["mcaptcha::api::v1::pow::routes::PoW"]],["impl Unpin for Routes",1,["mcaptcha::api::v1::routes::Routes"]],["impl Unpin for RedirectQuery",1,["mcaptcha::api::v1::RedirectQuery"]],["impl Unpin for SystemGroup",1,["mcaptcha::data::SystemGroup"]],["impl Unpin for Data",1,["mcaptcha::data::Data"]],["impl Unpin for Date",1,["mcaptcha::date::Date"]],["impl Unpin for DemoUser",1,["mcaptcha::demo::DemoUser"]],["impl Unpin for Docs",1,["mcaptcha::docs::routes::Docs"]],["impl Unpin for Asset",1,["mcaptcha::docs::Asset"]],["impl Unpin for dist",1,["mcaptcha::docs::dist"]],["impl Unpin for spec",1,["mcaptcha::docs::spec"]],["impl Unpin for index",1,["mcaptcha::docs::index"]],["impl<'a> Unpin for IndexPage<'a>",1,["mcaptcha::email::verification::IndexPage"]],["impl Unpin for SmtpErrorWrapper",1,["mcaptcha::errors::SmtpErrorWrapper"]],["impl Unpin for DBErrorWrapper",1,["mcaptcha::errors::DBErrorWrapper"]],["impl Unpin for ServiceError",1,["mcaptcha::errors::ServiceError"]],["impl Unpin for ErrorToResponse",1,["mcaptcha::errors::ErrorToResponse"]],["impl Unpin for PageError",1,["mcaptcha::errors::PageError"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::auth::login::IndexPage"]],["impl Unpin for INDEX",1,["mcaptcha::pages::auth::login::INDEX"]],["impl Unpin for login",1,["mcaptcha::pages::auth::login::login"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::auth::register::IndexPage"]],["impl Unpin for INDEX",1,["mcaptcha::pages::auth::register::INDEX"]],["impl Unpin for join",1,["mcaptcha::pages::auth::register::join"]],["impl<'a, K, V> Unpin for SudoPage<'a, K, V>where
    K: Unpin,
    V: Unpin,
",1,["mcaptcha::pages::auth::sudo::SudoPage"]],["impl Unpin for Auth",1,["mcaptcha::pages::auth::routes::Auth"]],["impl Unpin for Errors",1,["mcaptcha::pages::errors::routes::Errors"]],["impl<'a> Unpin for ErrorPage<'a>",1,["mcaptcha::pages::errors::ErrorPage"]],["impl Unpin for INTERNAL_SERVER_ERROR_BODY",1,["mcaptcha::pages::errors::INTERNAL_SERVER_ERROR_BODY"]],["impl Unpin for UNKNOWN_ERROR_BODY",1,["mcaptcha::pages::errors::UNKNOWN_ERROR_BODY"]],["impl Unpin for error",1,["mcaptcha::pages::errors::error"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::panel::notifications::IndexPage"]],["impl Unpin for Notification",1,["mcaptcha::pages::panel::notifications::Notification"]],["impl Unpin for notifications",1,["mcaptcha::pages::panel::notifications::notifications"]],["impl Unpin for Settings",1,["mcaptcha::pages::panel::settings::routes::Settings"]],["impl<'a> Unpin for IndexPage<'a>",1,["mcaptcha::pages::panel::settings::IndexPage"]],["impl Unpin for settings",1,["mcaptcha::pages::panel::settings::settings"]],["impl Unpin for delete_account",1,["mcaptcha::pages::panel::settings::delete_account"]],["impl Unpin for update_secret",1,["mcaptcha::pages::panel::settings::update_secret"]],["impl Unpin for ADVANCE_INDEX",1,["mcaptcha::pages::panel::sitekey::add::ADVANCE_INDEX"]],["impl Unpin for EASY_INDEX",1,["mcaptcha::pages::panel::sitekey::add::EASY_INDEX"]],["impl<'a> Unpin for AdvanceIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::AdvanceIndexPage"]],["impl Unpin for advance",1,["mcaptcha::pages::panel::sitekey::add::advance"]],["impl<'a> Unpin for EasyIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::EasyIndexPage"]],["impl Unpin for easy",1,["mcaptcha::pages::panel::sitekey::add::easy"]],["impl Unpin for delete_sitekey",1,["mcaptcha::pages::panel::sitekey::delete::delete_sitekey"]],["impl Unpin for AdvanceEditPage",1,["mcaptcha::pages::panel::sitekey::edit::AdvanceEditPage"]],["impl Unpin for advance",1,["mcaptcha::pages::panel::sitekey::edit::advance"]],["impl<'a> Unpin for EasyEditPage<'a>",1,["mcaptcha::pages::panel::sitekey::edit::EasyEditPage"]],["impl Unpin for easy",1,["mcaptcha::pages::panel::sitekey::edit::easy"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::panel::sitekey::list::IndexPage"]],["impl Unpin for list_sitekeys",1,["mcaptcha::pages::panel::sitekey::list::list_sitekeys"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::panel::sitekey::view::IndexPage"]],["impl Unpin for view_sitekey",1,["mcaptcha::pages::panel::sitekey::view::view_sitekey"]],["impl Unpin for Sitekey",1,["mcaptcha::pages::panel::sitekey::routes::Sitekey"]],["impl Unpin for Panel",1,["mcaptcha::pages::panel::routes::Panel"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::panel::IndexPage"]],["impl Unpin for panel",1,["mcaptcha::pages::panel::panel"]],["impl Unpin for Routes",1,["mcaptcha::pages::routes::Routes"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::sitemap::IndexPage"]],["impl Unpin for INDEX",1,["mcaptcha::pages::sitemap::INDEX"]],["impl Unpin for sitemap",1,["mcaptcha::pages::sitemap::sitemap"]],["impl Unpin for Server",1,["mcaptcha::settings::Server"]],["impl Unpin for Captcha",1,["mcaptcha::settings::Captcha"]],["impl Unpin for DefaultDifficultyStrategy",1,["mcaptcha::settings::DefaultDifficultyStrategy"]],["impl Unpin for Smtp",1,["mcaptcha::settings::Smtp"]],["impl Unpin for DBType",1,["mcaptcha::settings::DBType"]],["impl Unpin for Database",1,["mcaptcha::settings::Database"]],["impl Unpin for Redis",1,["mcaptcha::settings::Redis"]],["impl Unpin for Settings",1,["mcaptcha::settings::Settings"]],["impl Unpin for FileMap",1,["mcaptcha::static_assets::filemap::FileMap"]],["impl Unpin for KEY",1,["mcaptcha::static_assets::static_files::assets::KEY"]],["impl Unpin for GITHUB",1,["mcaptcha::static_assets::static_files::assets::GITHUB"]],["impl Unpin for HOME",1,["mcaptcha::static_assets::static_files::assets::HOME"]],["impl Unpin for SETTINGS_ICON",1,["mcaptcha::static_assets::static_files::assets::SETTINGS_ICON"]],["impl Unpin for CREDIT_CARD",1,["mcaptcha::static_assets::static_files::assets::CREDIT_CARD"]],["impl Unpin for HELP_CIRCLE",1,["mcaptcha::static_assets::static_files::assets::HELP_CIRCLE"]],["impl Unpin for MESSAGE",1,["mcaptcha::static_assets::static_files::assets::MESSAGE"]],["impl Unpin for DOCS_ICON",1,["mcaptcha::static_assets::static_files::assets::DOCS_ICON"]],["impl Unpin for MCAPTCHA_TRANS_ICON",1,["mcaptcha::static_assets::static_files::assets::MCAPTCHA_TRANS_ICON"]],["impl Unpin for BAR_CHART",1,["mcaptcha::static_assets::static_files::assets::BAR_CHART"]],["impl Unpin for Asset",1,["mcaptcha::static_assets::static_files::Asset"]],["impl Unpin for static_files",1,["mcaptcha::static_assets::static_files::static_files"]],["impl Unpin for Favicons",1,["mcaptcha::static_assets::static_files::Favicons"]],["impl Unpin for favicons",1,["mcaptcha::static_assets::static_files::favicons"]],["impl Unpin for CaptchaStats",1,["mcaptcha::stats::CaptchaStats"]],["impl Unpin for Real",1,["mcaptcha::stats::Real"]],["impl Unpin for Dummy",1,["mcaptcha::stats::Dummy"]],["impl Unpin for Widget",1,["mcaptcha::widget::routes::Widget"]],["impl Unpin for IndexPage",1,["mcaptcha::widget::IndexPage"]],["impl Unpin for INDEX_PAGE",1,["mcaptcha::widget::INDEX_PAGE"]],["impl Unpin for show_widget",1,["mcaptcha::widget::show_widget"]],["impl Unpin for SETTINGS",1,["mcaptcha::SETTINGS"]],["impl Unpin for FILES",1,["mcaptcha::FILES"]],["impl Unpin for JS",1,["mcaptcha::JS"]],["impl Unpin for CSS",1,["mcaptcha::CSS"]],["impl Unpin for MOBILE_CSS",1,["mcaptcha::MOBILE_CSS"]],["impl Unpin for VERIFICATIN_WIDGET_JS",1,["mcaptcha::VERIFICATIN_WIDGET_JS"]],["impl Unpin for VERIFICATIN_WIDGET_CSS",1,["mcaptcha::VERIFICATIN_WIDGET_CSS"]],["impl Unpin for SOURCE_FILES_OF_INSTANCE",1,["mcaptcha::SOURCE_FILES_OF_INSTANCE"]]] +"db_core":[["impl Unpin for DBError",1,["db_core::errors::DBError"]],["impl<'a> Unpin for Register<'a>",1,["db_core::Register"]],["impl<'a> Unpin for UpdateEmail<'a>",1,["db_core::UpdateEmail"]],["impl<'a> Unpin for Login<'a>",1,["db_core::Login"]],["impl Unpin for NameHash",1,["db_core::NameHash"]],["impl Unpin for StatsUnixTimestamp",1,["db_core::StatsUnixTimestamp"]],["impl Unpin for Notification",1,["db_core::Notification"]],["impl<'a> Unpin for AddNotification<'a>",1,["db_core::AddNotification"]],["impl Unpin for TrafficPattern",1,["db_core::TrafficPattern"]],["impl<'a> Unpin for CreateCaptcha<'a>",1,["db_core::CreateCaptcha"]],["impl Unpin for Captcha",1,["db_core::Captcha"]],["impl Unpin for Secret",1,["db_core::Secret"]]], +"db_sqlx_maria":[["impl Unpin for Database",1,["db_sqlx_maria::Database"]],["impl Unpin for Conn",1,["db_sqlx_maria::Conn"]],["impl Unpin for ConnectionOptions",1,["db_sqlx_maria::ConnectionOptions"]],["impl Unpin for Fresh",1,["db_sqlx_maria::Fresh"]],["impl Unpin for InnerNotification",1,["db_sqlx_maria::InnerNotification"]]], +"db_sqlx_postgres":[["impl Unpin for Database",1,["db_sqlx_postgres::Database"]],["impl Unpin for Conn",1,["db_sqlx_postgres::Conn"]],["impl Unpin for ConnectionOptions",1,["db_sqlx_postgres::ConnectionOptions"]],["impl Unpin for Fresh",1,["db_sqlx_postgres::Fresh"]],["impl Unpin for InnerNotification",1,["db_sqlx_postgres::InnerNotification"]]], +"mcaptcha":[["impl Unpin for delete_account",1,["mcaptcha::api::v1::account::delete::delete_account"]],["impl Unpin for Email",1,["mcaptcha::api::v1::account::email::Email"]],["impl Unpin for email_exists",1,["mcaptcha::api::v1::account::email::email_exists"]],["impl Unpin for set_email",1,["mcaptcha::api::v1::account::email::set_email"]],["impl Unpin for ChangePasswordReqest",1,["mcaptcha::api::v1::account::password::ChangePasswordReqest"]],["impl Unpin for UpdatePassword",1,["mcaptcha::api::v1::account::password::UpdatePassword"]],["impl Unpin for update_user_password",1,["mcaptcha::api::v1::account::password::update_user_password"]],["impl Unpin for get_secret",1,["mcaptcha::api::v1::account::secret::get_secret"]],["impl Unpin for update_user_secret",1,["mcaptcha::api::v1::account::secret::update_user_secret"]],["impl Unpin for username_exists",1,["mcaptcha::api::v1::account::username::username_exists"]],["impl Unpin for Username",1,["mcaptcha::api::v1::account::username::Username"]],["impl Unpin for set_username",1,["mcaptcha::api::v1::account::username::set_username"]],["impl Unpin for Account",1,["mcaptcha::api::v1::account::routes::Account"]],["impl Unpin for AccountCheckPayload",1,["mcaptcha::api::v1::account::AccountCheckPayload"]],["impl Unpin for AccountCheckResp",1,["mcaptcha::api::v1::account::AccountCheckResp"]],["impl Unpin for Auth",1,["mcaptcha::api::v1::auth::routes::Auth"]],["impl Unpin for Register",1,["mcaptcha::api::v1::auth::runners::Register"]],["impl Unpin for Login",1,["mcaptcha::api::v1::auth::runners::Login"]],["impl Unpin for Password",1,["mcaptcha::api::v1::auth::runners::Password"]],["impl Unpin for register",1,["mcaptcha::api::v1::auth::register"]],["impl Unpin for login",1,["mcaptcha::api::v1::auth::login"]],["impl Unpin for signout",1,["mcaptcha::api::v1::auth::signout"]],["impl Unpin for CreateCaptcha",1,["mcaptcha::api::v1::mcaptcha::create::CreateCaptcha"]],["impl Unpin for MCaptchaDetails",1,["mcaptcha::api::v1::mcaptcha::create::MCaptchaDetails"]],["impl Unpin for create",1,["mcaptcha::api::v1::mcaptcha::create::create"]],["impl Unpin for DeleteCaptcha",1,["mcaptcha::api::v1::mcaptcha::delete::DeleteCaptcha"]],["impl Unpin for delete",1,["mcaptcha::api::v1::mcaptcha::delete::delete"]],["impl Unpin for Easy",1,["mcaptcha::api::v1::mcaptcha::easy::routes::Easy"]],["impl Unpin for TrafficPatternRequest",1,["mcaptcha::api::v1::mcaptcha::easy::TrafficPatternRequest"]],["impl Unpin for create",1,["mcaptcha::api::v1::mcaptcha::easy::create"]],["impl Unpin for UpdateTrafficPattern",1,["mcaptcha::api::v1::mcaptcha::easy::UpdateTrafficPattern"]],["impl Unpin for update",1,["mcaptcha::api::v1::mcaptcha::easy::update"]],["impl Unpin for get_captcha",1,["mcaptcha::api::v1::mcaptcha::get::get_captcha"]],["impl Unpin for Levels",1,["mcaptcha::api::v1::mcaptcha::get::Levels"]],["impl Unpin for I32Levels",1,["mcaptcha::api::v1::mcaptcha::get::I32Levels"]],["impl Unpin for Stats",1,["mcaptcha::api::v1::mcaptcha::stats::routes::Stats"]],["impl Unpin for StatsPayload",1,["mcaptcha::api::v1::mcaptcha::stats::StatsPayload"]],["impl Unpin for get",1,["mcaptcha::api::v1::mcaptcha::stats::get"]],["impl Unpin for update_key",1,["mcaptcha::api::v1::mcaptcha::update::update_key"]],["impl Unpin for UpdateCaptcha",1,["mcaptcha::api::v1::mcaptcha::update::UpdateCaptcha"]],["impl Unpin for update_captcha",1,["mcaptcha::api::v1::mcaptcha::update::update_captcha"]],["impl Unpin for Captcha",1,["mcaptcha::api::v1::mcaptcha::routes::Captcha"]],["impl Unpin for Meta",1,["mcaptcha::api::v1::meta::routes::Meta"]],["impl Unpin for BuildDetails",1,["mcaptcha::api::v1::meta::BuildDetails"]],["impl Unpin for BuildDetailsBuilder",1,["mcaptcha::api::v1::meta::BuildDetailsBuilder"]],["impl Unpin for BuildDetailsBuilderError",1,["mcaptcha::api::v1::meta::BuildDetailsBuilderError"]],["impl Unpin for build_details",1,["mcaptcha::api::v1::meta::build_details"]],["impl Unpin for Health",1,["mcaptcha::api::v1::meta::Health"]],["impl Unpin for HealthBuilder",1,["mcaptcha::api::v1::meta::HealthBuilder"]],["impl Unpin for HealthBuilderError",1,["mcaptcha::api::v1::meta::HealthBuilderError"]],["impl Unpin for health",1,["mcaptcha::api::v1::meta::health"]],["impl Unpin for AddNotificationRequest",1,["mcaptcha::api::v1::notifications::add::AddNotificationRequest"]],["impl Unpin for add_notification",1,["mcaptcha::api::v1::notifications::add::add_notification"]],["impl Unpin for NotificationResp",1,["mcaptcha::api::v1::notifications::get::NotificationResp"]],["impl Unpin for get_notification",1,["mcaptcha::api::v1::notifications::get::get_notification"]],["impl Unpin for MarkReadReq",1,["mcaptcha::api::v1::notifications::mark_read::MarkReadReq"]],["impl Unpin for mark_read",1,["mcaptcha::api::v1::notifications::mark_read::mark_read"]],["impl Unpin for Notifications",1,["mcaptcha::api::v1::notifications::routes::Notifications"]],["impl Unpin for GetConfigPayload",1,["mcaptcha::api::v1::pow::get_config::GetConfigPayload"]],["impl Unpin for get_config",1,["mcaptcha::api::v1::pow::get_config::get_config"]],["impl Unpin for ValidationToken",1,["mcaptcha::api::v1::pow::verify_pow::ValidationToken"]],["impl Unpin for verify_pow",1,["mcaptcha::api::v1::pow::verify_pow::verify_pow"]],["impl Unpin for CaptchaValidateResp",1,["mcaptcha::api::v1::pow::verify_token::CaptchaValidateResp"]],["impl Unpin for VerifyCaptchaResultPayload",1,["mcaptcha::api::v1::pow::verify_token::VerifyCaptchaResultPayload"]],["impl Unpin for validate_captcha_token",1,["mcaptcha::api::v1::pow::verify_token::validate_captcha_token"]],["impl Unpin for PoW",1,["mcaptcha::api::v1::pow::routes::PoW"]],["impl Unpin for Routes",1,["mcaptcha::api::v1::routes::Routes"]],["impl Unpin for RedirectQuery",1,["mcaptcha::api::v1::RedirectQuery"]],["impl Unpin for SystemGroup",1,["mcaptcha::data::SystemGroup"]],["impl Unpin for Data",1,["mcaptcha::data::Data"]],["impl Unpin for Date",1,["mcaptcha::date::Date"]],["impl Unpin for DemoUser",1,["mcaptcha::demo::DemoUser"]],["impl Unpin for Docs",1,["mcaptcha::docs::routes::Docs"]],["impl Unpin for Asset",1,["mcaptcha::docs::Asset"]],["impl Unpin for dist",1,["mcaptcha::docs::dist"]],["impl Unpin for spec",1,["mcaptcha::docs::spec"]],["impl Unpin for index",1,["mcaptcha::docs::index"]],["impl<'a> Unpin for IndexPage<'a>",1,["mcaptcha::email::verification::IndexPage"]],["impl Unpin for SmtpErrorWrapper",1,["mcaptcha::errors::SmtpErrorWrapper"]],["impl Unpin for DBErrorWrapper",1,["mcaptcha::errors::DBErrorWrapper"]],["impl Unpin for ServiceError",1,["mcaptcha::errors::ServiceError"]],["impl Unpin for ErrorToResponse",1,["mcaptcha::errors::ErrorToResponse"]],["impl Unpin for PageError",1,["mcaptcha::errors::PageError"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::auth::login::IndexPage"]],["impl Unpin for INDEX",1,["mcaptcha::pages::auth::login::INDEX"]],["impl Unpin for login",1,["mcaptcha::pages::auth::login::login"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::auth::register::IndexPage"]],["impl Unpin for INDEX",1,["mcaptcha::pages::auth::register::INDEX"]],["impl Unpin for join",1,["mcaptcha::pages::auth::register::join"]],["impl<'a, K, V> Unpin for SudoPage<'a, K, V>where
    K: Unpin,
    V: Unpin,
",1,["mcaptcha::pages::auth::sudo::SudoPage"]],["impl Unpin for Auth",1,["mcaptcha::pages::auth::routes::Auth"]],["impl Unpin for Errors",1,["mcaptcha::pages::errors::routes::Errors"]],["impl<'a> Unpin for ErrorPage<'a>",1,["mcaptcha::pages::errors::ErrorPage"]],["impl Unpin for INTERNAL_SERVER_ERROR_BODY",1,["mcaptcha::pages::errors::INTERNAL_SERVER_ERROR_BODY"]],["impl Unpin for UNKNOWN_ERROR_BODY",1,["mcaptcha::pages::errors::UNKNOWN_ERROR_BODY"]],["impl Unpin for error",1,["mcaptcha::pages::errors::error"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::panel::notifications::IndexPage"]],["impl Unpin for Notification",1,["mcaptcha::pages::panel::notifications::Notification"]],["impl Unpin for notifications",1,["mcaptcha::pages::panel::notifications::notifications"]],["impl Unpin for Settings",1,["mcaptcha::pages::panel::settings::routes::Settings"]],["impl<'a> Unpin for IndexPage<'a>",1,["mcaptcha::pages::panel::settings::IndexPage"]],["impl Unpin for settings",1,["mcaptcha::pages::panel::settings::settings"]],["impl Unpin for delete_account",1,["mcaptcha::pages::panel::settings::delete_account"]],["impl Unpin for update_secret",1,["mcaptcha::pages::panel::settings::update_secret"]],["impl Unpin for ADVANCE_INDEX",1,["mcaptcha::pages::panel::sitekey::add::ADVANCE_INDEX"]],["impl Unpin for EASY_INDEX",1,["mcaptcha::pages::panel::sitekey::add::EASY_INDEX"]],["impl<'a> Unpin for AdvanceIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::AdvanceIndexPage"]],["impl Unpin for advance",1,["mcaptcha::pages::panel::sitekey::add::advance"]],["impl<'a> Unpin for EasyIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::EasyIndexPage"]],["impl Unpin for easy",1,["mcaptcha::pages::panel::sitekey::add::easy"]],["impl Unpin for delete_sitekey",1,["mcaptcha::pages::panel::sitekey::delete::delete_sitekey"]],["impl Unpin for AdvanceEditPage",1,["mcaptcha::pages::panel::sitekey::edit::AdvanceEditPage"]],["impl Unpin for advance",1,["mcaptcha::pages::panel::sitekey::edit::advance"]],["impl<'a> Unpin for EasyEditPage<'a>",1,["mcaptcha::pages::panel::sitekey::edit::EasyEditPage"]],["impl Unpin for easy",1,["mcaptcha::pages::panel::sitekey::edit::easy"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::panel::sitekey::list::IndexPage"]],["impl Unpin for list_sitekeys",1,["mcaptcha::pages::panel::sitekey::list::list_sitekeys"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::panel::sitekey::view::IndexPage"]],["impl Unpin for view_sitekey",1,["mcaptcha::pages::panel::sitekey::view::view_sitekey"]],["impl Unpin for Sitekey",1,["mcaptcha::pages::panel::sitekey::routes::Sitekey"]],["impl Unpin for Panel",1,["mcaptcha::pages::panel::routes::Panel"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::panel::IndexPage"]],["impl Unpin for panel",1,["mcaptcha::pages::panel::panel"]],["impl Unpin for Routes",1,["mcaptcha::pages::routes::Routes"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::sitemap::IndexPage"]],["impl Unpin for INDEX",1,["mcaptcha::pages::sitemap::INDEX"]],["impl Unpin for sitemap",1,["mcaptcha::pages::sitemap::sitemap"]],["impl Unpin for Server",1,["mcaptcha::settings::Server"]],["impl Unpin for Captcha",1,["mcaptcha::settings::Captcha"]],["impl Unpin for DefaultDifficultyStrategy",1,["mcaptcha::settings::DefaultDifficultyStrategy"]],["impl Unpin for Smtp",1,["mcaptcha::settings::Smtp"]],["impl Unpin for DBType",1,["mcaptcha::settings::DBType"]],["impl Unpin for Database",1,["mcaptcha::settings::Database"]],["impl Unpin for Redis",1,["mcaptcha::settings::Redis"]],["impl Unpin for Settings",1,["mcaptcha::settings::Settings"]],["impl Unpin for FileMap",1,["mcaptcha::static_assets::filemap::FileMap"]],["impl Unpin for KEY",1,["mcaptcha::static_assets::static_files::assets::KEY"]],["impl Unpin for GITHUB",1,["mcaptcha::static_assets::static_files::assets::GITHUB"]],["impl Unpin for HOME",1,["mcaptcha::static_assets::static_files::assets::HOME"]],["impl Unpin for SETTINGS_ICON",1,["mcaptcha::static_assets::static_files::assets::SETTINGS_ICON"]],["impl Unpin for CREDIT_CARD",1,["mcaptcha::static_assets::static_files::assets::CREDIT_CARD"]],["impl Unpin for HELP_CIRCLE",1,["mcaptcha::static_assets::static_files::assets::HELP_CIRCLE"]],["impl Unpin for MESSAGE",1,["mcaptcha::static_assets::static_files::assets::MESSAGE"]],["impl Unpin for DOCS_ICON",1,["mcaptcha::static_assets::static_files::assets::DOCS_ICON"]],["impl Unpin for MCAPTCHA_TRANS_ICON",1,["mcaptcha::static_assets::static_files::assets::MCAPTCHA_TRANS_ICON"]],["impl Unpin for BAR_CHART",1,["mcaptcha::static_assets::static_files::assets::BAR_CHART"]],["impl Unpin for Asset",1,["mcaptcha::static_assets::static_files::Asset"]],["impl Unpin for static_files",1,["mcaptcha::static_assets::static_files::static_files"]],["impl Unpin for Favicons",1,["mcaptcha::static_assets::static_files::Favicons"]],["impl Unpin for favicons",1,["mcaptcha::static_assets::static_files::favicons"]],["impl Unpin for CaptchaStats",1,["mcaptcha::stats::CaptchaStats"]],["impl Unpin for Real",1,["mcaptcha::stats::Real"]],["impl Unpin for Dummy",1,["mcaptcha::stats::Dummy"]],["impl Unpin for Widget",1,["mcaptcha::widget::routes::Widget"]],["impl Unpin for IndexPage",1,["mcaptcha::widget::IndexPage"]],["impl Unpin for INDEX_PAGE",1,["mcaptcha::widget::INDEX_PAGE"]],["impl Unpin for show_widget",1,["mcaptcha::widget::show_widget"]],["impl Unpin for SETTINGS",1,["mcaptcha::SETTINGS"]],["impl Unpin for FILES",1,["mcaptcha::FILES"]],["impl Unpin for JS",1,["mcaptcha::JS"]],["impl Unpin for CSS",1,["mcaptcha::CSS"]],["impl Unpin for MOBILE_CSS",1,["mcaptcha::MOBILE_CSS"]],["impl Unpin for VERIFICATIN_WIDGET_JS",1,["mcaptcha::VERIFICATIN_WIDGET_JS"]],["impl Unpin for VERIFICATIN_WIDGET_CSS",1,["mcaptcha::VERIFICATIN_WIDGET_CSS"]],["impl Unpin for SOURCE_FILES_OF_INSTANCE",1,["mcaptcha::SOURCE_FILES_OF_INSTANCE"]]] };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 065b46e8..8dec7b68 100644 --- a/implementors/core/ops/deref/trait.Deref.js +++ b/implementors/core/ops/deref/trait.Deref.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"mcaptcha":[["impl Deref for INDEX"],["impl Deref for INDEX"],["impl Deref for INTERNAL_SERVER_ERROR_BODY"],["impl Deref for UNKNOWN_ERROR_BODY"],["impl Deref for ADVANCE_INDEX"],["impl Deref for EASY_INDEX"],["impl Deref for INDEX"],["impl Deref for KEY"],["impl Deref for GITHUB"],["impl Deref for HOME"],["impl Deref for SETTINGS_ICON"],["impl Deref for CREDIT_CARD"],["impl Deref for HELP_CIRCLE"],["impl Deref for MESSAGE"],["impl Deref for DOCS_ICON"],["impl Deref for MCAPTCHA_TRANS_ICON"],["impl Deref for BAR_CHART"],["impl Deref for INDEX_PAGE"],["impl Deref for SETTINGS"],["impl Deref for FILES"],["impl Deref for JS"],["impl Deref for CSS"],["impl Deref for MOBILE_CSS"],["impl Deref for VERIFICATIN_WIDGET_JS"],["impl Deref for VERIFICATIN_WIDGET_CSS"],["impl Deref for SOURCE_FILES_OF_INSTANCE"]] +"mcaptcha":[["impl Deref for INDEX"],["impl Deref for INDEX"],["impl Deref for INTERNAL_SERVER_ERROR_BODY"],["impl Deref for UNKNOWN_ERROR_BODY"],["impl Deref for ADVANCE_INDEX"],["impl Deref for EASY_INDEX"],["impl Deref for INDEX"],["impl Deref for KEY"],["impl Deref for GITHUB"],["impl Deref for HOME"],["impl Deref for SETTINGS_ICON"],["impl Deref for CREDIT_CARD"],["impl Deref for HELP_CIRCLE"],["impl Deref for MESSAGE"],["impl Deref for DOCS_ICON"],["impl Deref for MCAPTCHA_TRANS_ICON"],["impl Deref for BAR_CHART"],["impl Deref for INDEX_PAGE"],["impl Deref for SETTINGS"],["impl Deref for FILES"],["impl Deref for JS"],["impl Deref for CSS"],["impl Deref for MOBILE_CSS"],["impl Deref for VERIFICATIN_WIDGET_JS"],["impl Deref for VERIFICATIN_WIDGET_CSS"],["impl Deref for SOURCE_FILES_OF_INSTANCE"]] };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 6b75afdf..0c6781db 100644 --- a/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js +++ b/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js @@ -1,6 +1,6 @@ (function() {var implementors = { -"db_core":[["impl !RefUnwindSafe for DBError",1,["db_core::errors::DBError"]],["impl<'a> RefUnwindSafe for Register<'a>",1,["db_core::Register"]],["impl<'a> RefUnwindSafe for UpdateEmail<'a>",1,["db_core::UpdateEmail"]],["impl<'a> RefUnwindSafe for Login<'a>",1,["db_core::Login"]],["impl RefUnwindSafe for NameHash",1,["db_core::NameHash"]],["impl RefUnwindSafe for StatsUnixTimestamp",1,["db_core::StatsUnixTimestamp"]],["impl RefUnwindSafe for Notification",1,["db_core::Notification"]],["impl<'a> RefUnwindSafe for AddNotification<'a>",1,["db_core::AddNotification"]],["impl RefUnwindSafe for TrafficPattern",1,["db_core::TrafficPattern"]],["impl<'a> RefUnwindSafe for CreateCaptcha<'a>",1,["db_core::CreateCaptcha"]],["impl RefUnwindSafe for Captcha",1,["db_core::Captcha"]],["impl RefUnwindSafe for Secret",1,["db_core::Secret"]]], -"db_sqlx_maria":[["impl !RefUnwindSafe for Database",1,["db_sqlx_maria::Database"]],["impl !RefUnwindSafe for Conn",1,["db_sqlx_maria::Conn"]],["impl !RefUnwindSafe for ConnectionOptions",1,["db_sqlx_maria::ConnectionOptions"]],["impl !RefUnwindSafe for Fresh",1,["db_sqlx_maria::Fresh"]],["impl RefUnwindSafe for InnerNotification",1,["db_sqlx_maria::InnerNotification"]]], -"db_sqlx_postgres":[["impl !RefUnwindSafe for Database",1,["db_sqlx_postgres::Database"]],["impl !RefUnwindSafe for Conn",1,["db_sqlx_postgres::Conn"]],["impl !RefUnwindSafe for ConnectionOptions",1,["db_sqlx_postgres::ConnectionOptions"]],["impl !RefUnwindSafe for Fresh",1,["db_sqlx_postgres::Fresh"]],["impl RefUnwindSafe for InnerNotification",1,["db_sqlx_postgres::InnerNotification"]]], -"mcaptcha":[["impl RefUnwindSafe for delete_account",1,["mcaptcha::api::v1::account::delete::delete_account"]],["impl RefUnwindSafe for Email",1,["mcaptcha::api::v1::account::email::Email"]],["impl RefUnwindSafe for email_exists",1,["mcaptcha::api::v1::account::email::email_exists"]],["impl RefUnwindSafe for set_email",1,["mcaptcha::api::v1::account::email::set_email"]],["impl RefUnwindSafe for ChangePasswordReqest",1,["mcaptcha::api::v1::account::password::ChangePasswordReqest"]],["impl RefUnwindSafe for UpdatePassword",1,["mcaptcha::api::v1::account::password::UpdatePassword"]],["impl RefUnwindSafe for update_user_password",1,["mcaptcha::api::v1::account::password::update_user_password"]],["impl RefUnwindSafe for get_secret",1,["mcaptcha::api::v1::account::secret::get_secret"]],["impl RefUnwindSafe for update_user_secret",1,["mcaptcha::api::v1::account::secret::update_user_secret"]],["impl RefUnwindSafe for username_exists",1,["mcaptcha::api::v1::account::username::username_exists"]],["impl RefUnwindSafe for Username",1,["mcaptcha::api::v1::account::username::Username"]],["impl RefUnwindSafe for set_username",1,["mcaptcha::api::v1::account::username::set_username"]],["impl RefUnwindSafe for Account",1,["mcaptcha::api::v1::account::routes::Account"]],["impl RefUnwindSafe for AccountCheckPayload",1,["mcaptcha::api::v1::account::AccountCheckPayload"]],["impl RefUnwindSafe for AccountCheckResp",1,["mcaptcha::api::v1::account::AccountCheckResp"]],["impl RefUnwindSafe for Auth",1,["mcaptcha::api::v1::auth::routes::Auth"]],["impl RefUnwindSafe for Register",1,["mcaptcha::api::v1::auth::runners::Register"]],["impl RefUnwindSafe for Login",1,["mcaptcha::api::v1::auth::runners::Login"]],["impl RefUnwindSafe for Password",1,["mcaptcha::api::v1::auth::runners::Password"]],["impl RefUnwindSafe for register",1,["mcaptcha::api::v1::auth::register"]],["impl RefUnwindSafe for login",1,["mcaptcha::api::v1::auth::login"]],["impl RefUnwindSafe for signout",1,["mcaptcha::api::v1::auth::signout"]],["impl RefUnwindSafe for CreateCaptcha",1,["mcaptcha::api::v1::mcaptcha::create::CreateCaptcha"]],["impl RefUnwindSafe for MCaptchaDetails",1,["mcaptcha::api::v1::mcaptcha::create::MCaptchaDetails"]],["impl RefUnwindSafe for create",1,["mcaptcha::api::v1::mcaptcha::create::create"]],["impl RefUnwindSafe for DeleteCaptcha",1,["mcaptcha::api::v1::mcaptcha::delete::DeleteCaptcha"]],["impl RefUnwindSafe for delete",1,["mcaptcha::api::v1::mcaptcha::delete::delete"]],["impl RefUnwindSafe for Easy",1,["mcaptcha::api::v1::mcaptcha::easy::routes::Easy"]],["impl RefUnwindSafe for TrafficPatternRequest",1,["mcaptcha::api::v1::mcaptcha::easy::TrafficPatternRequest"]],["impl RefUnwindSafe for create",1,["mcaptcha::api::v1::mcaptcha::easy::create"]],["impl RefUnwindSafe for UpdateTrafficPattern",1,["mcaptcha::api::v1::mcaptcha::easy::UpdateTrafficPattern"]],["impl RefUnwindSafe for update",1,["mcaptcha::api::v1::mcaptcha::easy::update"]],["impl RefUnwindSafe for get_captcha",1,["mcaptcha::api::v1::mcaptcha::get::get_captcha"]],["impl RefUnwindSafe for Levels",1,["mcaptcha::api::v1::mcaptcha::get::Levels"]],["impl RefUnwindSafe for I32Levels",1,["mcaptcha::api::v1::mcaptcha::get::I32Levels"]],["impl RefUnwindSafe for Stats",1,["mcaptcha::api::v1::mcaptcha::stats::routes::Stats"]],["impl RefUnwindSafe for StatsPayload",1,["mcaptcha::api::v1::mcaptcha::stats::StatsPayload"]],["impl RefUnwindSafe for get",1,["mcaptcha::api::v1::mcaptcha::stats::get"]],["impl RefUnwindSafe for update_key",1,["mcaptcha::api::v1::mcaptcha::update::update_key"]],["impl RefUnwindSafe for UpdateCaptcha",1,["mcaptcha::api::v1::mcaptcha::update::UpdateCaptcha"]],["impl RefUnwindSafe for update_captcha",1,["mcaptcha::api::v1::mcaptcha::update::update_captcha"]],["impl RefUnwindSafe for Captcha",1,["mcaptcha::api::v1::mcaptcha::routes::Captcha"]],["impl RefUnwindSafe for Meta",1,["mcaptcha::api::v1::meta::routes::Meta"]],["impl RefUnwindSafe for BuildDetails",1,["mcaptcha::api::v1::meta::BuildDetails"]],["impl RefUnwindSafe for BuildDetailsBuilder",1,["mcaptcha::api::v1::meta::BuildDetailsBuilder"]],["impl RefUnwindSafe for BuildDetailsBuilderError",1,["mcaptcha::api::v1::meta::BuildDetailsBuilderError"]],["impl RefUnwindSafe for build_details",1,["mcaptcha::api::v1::meta::build_details"]],["impl RefUnwindSafe for Health",1,["mcaptcha::api::v1::meta::Health"]],["impl RefUnwindSafe for HealthBuilder",1,["mcaptcha::api::v1::meta::HealthBuilder"]],["impl RefUnwindSafe for HealthBuilderError",1,["mcaptcha::api::v1::meta::HealthBuilderError"]],["impl RefUnwindSafe for health",1,["mcaptcha::api::v1::meta::health"]],["impl RefUnwindSafe for AddNotificationRequest",1,["mcaptcha::api::v1::notifications::add::AddNotificationRequest"]],["impl RefUnwindSafe for add_notification",1,["mcaptcha::api::v1::notifications::add::add_notification"]],["impl RefUnwindSafe for NotificationResp",1,["mcaptcha::api::v1::notifications::get::NotificationResp"]],["impl RefUnwindSafe for get_notification",1,["mcaptcha::api::v1::notifications::get::get_notification"]],["impl RefUnwindSafe for MarkReadReq",1,["mcaptcha::api::v1::notifications::mark_read::MarkReadReq"]],["impl RefUnwindSafe for mark_read",1,["mcaptcha::api::v1::notifications::mark_read::mark_read"]],["impl RefUnwindSafe for Notifications",1,["mcaptcha::api::v1::notifications::routes::Notifications"]],["impl RefUnwindSafe for GetConfigPayload",1,["mcaptcha::api::v1::pow::get_config::GetConfigPayload"]],["impl RefUnwindSafe for get_config",1,["mcaptcha::api::v1::pow::get_config::get_config"]],["impl RefUnwindSafe for ValidationToken",1,["mcaptcha::api::v1::pow::verify_pow::ValidationToken"]],["impl RefUnwindSafe for verify_pow",1,["mcaptcha::api::v1::pow::verify_pow::verify_pow"]],["impl RefUnwindSafe for CaptchaValidateResp",1,["mcaptcha::api::v1::pow::verify_token::CaptchaValidateResp"]],["impl RefUnwindSafe for VerifyCaptchaResultPayload",1,["mcaptcha::api::v1::pow::verify_token::VerifyCaptchaResultPayload"]],["impl RefUnwindSafe for validate_captcha_token",1,["mcaptcha::api::v1::pow::verify_token::validate_captcha_token"]],["impl RefUnwindSafe for PoW",1,["mcaptcha::api::v1::pow::routes::PoW"]],["impl RefUnwindSafe for Routes",1,["mcaptcha::api::v1::routes::Routes"]],["impl RefUnwindSafe for RedirectQuery",1,["mcaptcha::api::v1::RedirectQuery"]],["impl !RefUnwindSafe for SystemGroup",1,["mcaptcha::data::SystemGroup"]],["impl !RefUnwindSafe for Data",1,["mcaptcha::data::Data"]],["impl RefUnwindSafe for Date",1,["mcaptcha::date::Date"]],["impl RefUnwindSafe for DemoUser",1,["mcaptcha::demo::DemoUser"]],["impl RefUnwindSafe for Docs",1,["mcaptcha::docs::routes::Docs"]],["impl RefUnwindSafe for Asset",1,["mcaptcha::docs::Asset"]],["impl RefUnwindSafe for dist",1,["mcaptcha::docs::dist"]],["impl RefUnwindSafe for spec",1,["mcaptcha::docs::spec"]],["impl RefUnwindSafe for index",1,["mcaptcha::docs::index"]],["impl<'a> RefUnwindSafe for IndexPage<'a>",1,["mcaptcha::email::verification::IndexPage"]],["impl !RefUnwindSafe for SmtpErrorWrapper",1,["mcaptcha::errors::SmtpErrorWrapper"]],["impl !RefUnwindSafe for DBErrorWrapper",1,["mcaptcha::errors::DBErrorWrapper"]],["impl !RefUnwindSafe for ServiceError",1,["mcaptcha::errors::ServiceError"]],["impl RefUnwindSafe for ErrorToResponse",1,["mcaptcha::errors::ErrorToResponse"]],["impl !RefUnwindSafe for PageError",1,["mcaptcha::errors::PageError"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::auth::login::IndexPage"]],["impl RefUnwindSafe for INDEX",1,["mcaptcha::pages::auth::login::INDEX"]],["impl RefUnwindSafe for login",1,["mcaptcha::pages::auth::login::login"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::auth::register::IndexPage"]],["impl RefUnwindSafe for INDEX",1,["mcaptcha::pages::auth::register::INDEX"]],["impl RefUnwindSafe for join",1,["mcaptcha::pages::auth::register::join"]],["impl<'a, K, V> RefUnwindSafe for SudoPage<'a, K, V>where
    K: RefUnwindSafe,
    V: RefUnwindSafe,
",1,["mcaptcha::pages::auth::sudo::SudoPage"]],["impl RefUnwindSafe for Auth",1,["mcaptcha::pages::auth::routes::Auth"]],["impl RefUnwindSafe for Errors",1,["mcaptcha::pages::errors::routes::Errors"]],["impl<'a> RefUnwindSafe for ErrorPage<'a>",1,["mcaptcha::pages::errors::ErrorPage"]],["impl RefUnwindSafe for INTERNAL_SERVER_ERROR_BODY",1,["mcaptcha::pages::errors::INTERNAL_SERVER_ERROR_BODY"]],["impl RefUnwindSafe for UNKNOWN_ERROR_BODY",1,["mcaptcha::pages::errors::UNKNOWN_ERROR_BODY"]],["impl RefUnwindSafe for error",1,["mcaptcha::pages::errors::error"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::panel::notifications::IndexPage"]],["impl RefUnwindSafe for Notification",1,["mcaptcha::pages::panel::notifications::Notification"]],["impl RefUnwindSafe for notifications",1,["mcaptcha::pages::panel::notifications::notifications"]],["impl RefUnwindSafe for Settings",1,["mcaptcha::pages::panel::settings::routes::Settings"]],["impl<'a> RefUnwindSafe for IndexPage<'a>",1,["mcaptcha::pages::panel::settings::IndexPage"]],["impl RefUnwindSafe for settings",1,["mcaptcha::pages::panel::settings::settings"]],["impl RefUnwindSafe for delete_account",1,["mcaptcha::pages::panel::settings::delete_account"]],["impl RefUnwindSafe for update_secret",1,["mcaptcha::pages::panel::settings::update_secret"]],["impl RefUnwindSafe for ADVANCE_INDEX",1,["mcaptcha::pages::panel::sitekey::add::ADVANCE_INDEX"]],["impl RefUnwindSafe for EASY_INDEX",1,["mcaptcha::pages::panel::sitekey::add::EASY_INDEX"]],["impl<'a> RefUnwindSafe for AdvanceIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::AdvanceIndexPage"]],["impl RefUnwindSafe for advance",1,["mcaptcha::pages::panel::sitekey::add::advance"]],["impl<'a> RefUnwindSafe for EasyIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::EasyIndexPage"]],["impl RefUnwindSafe for easy",1,["mcaptcha::pages::panel::sitekey::add::easy"]],["impl RefUnwindSafe for delete_sitekey",1,["mcaptcha::pages::panel::sitekey::delete::delete_sitekey"]],["impl RefUnwindSafe for AdvanceEditPage",1,["mcaptcha::pages::panel::sitekey::edit::AdvanceEditPage"]],["impl RefUnwindSafe for advance",1,["mcaptcha::pages::panel::sitekey::edit::advance"]],["impl<'a> RefUnwindSafe for EasyEditPage<'a>",1,["mcaptcha::pages::panel::sitekey::edit::EasyEditPage"]],["impl RefUnwindSafe for easy",1,["mcaptcha::pages::panel::sitekey::edit::easy"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::panel::sitekey::list::IndexPage"]],["impl RefUnwindSafe for list_sitekeys",1,["mcaptcha::pages::panel::sitekey::list::list_sitekeys"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::panel::sitekey::view::IndexPage"]],["impl RefUnwindSafe for view_sitekey",1,["mcaptcha::pages::panel::sitekey::view::view_sitekey"]],["impl RefUnwindSafe for Sitekey",1,["mcaptcha::pages::panel::sitekey::routes::Sitekey"]],["impl RefUnwindSafe for Panel",1,["mcaptcha::pages::panel::routes::Panel"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::panel::IndexPage"]],["impl RefUnwindSafe for panel",1,["mcaptcha::pages::panel::panel"]],["impl RefUnwindSafe for Routes",1,["mcaptcha::pages::routes::Routes"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::sitemap::IndexPage"]],["impl RefUnwindSafe for INDEX",1,["mcaptcha::pages::sitemap::INDEX"]],["impl RefUnwindSafe for sitemap",1,["mcaptcha::pages::sitemap::sitemap"]],["impl RefUnwindSafe for Server",1,["mcaptcha::settings::Server"]],["impl RefUnwindSafe for Captcha",1,["mcaptcha::settings::Captcha"]],["impl RefUnwindSafe for DefaultDifficultyStrategy",1,["mcaptcha::settings::DefaultDifficultyStrategy"]],["impl RefUnwindSafe for Smtp",1,["mcaptcha::settings::Smtp"]],["impl RefUnwindSafe for DBType",1,["mcaptcha::settings::DBType"]],["impl RefUnwindSafe for Database",1,["mcaptcha::settings::Database"]],["impl RefUnwindSafe for Redis",1,["mcaptcha::settings::Redis"]],["impl RefUnwindSafe for Settings",1,["mcaptcha::settings::Settings"]],["impl RefUnwindSafe for FileMap",1,["mcaptcha::static_assets::filemap::FileMap"]],["impl RefUnwindSafe for KEY",1,["mcaptcha::static_assets::static_files::assets::KEY"]],["impl RefUnwindSafe for GITHUB",1,["mcaptcha::static_assets::static_files::assets::GITHUB"]],["impl RefUnwindSafe for HOME",1,["mcaptcha::static_assets::static_files::assets::HOME"]],["impl RefUnwindSafe for SETTINGS_ICON",1,["mcaptcha::static_assets::static_files::assets::SETTINGS_ICON"]],["impl RefUnwindSafe for CREDIT_CARD",1,["mcaptcha::static_assets::static_files::assets::CREDIT_CARD"]],["impl RefUnwindSafe for HELP_CIRCLE",1,["mcaptcha::static_assets::static_files::assets::HELP_CIRCLE"]],["impl RefUnwindSafe for MESSAGE",1,["mcaptcha::static_assets::static_files::assets::MESSAGE"]],["impl RefUnwindSafe for DOCS_ICON",1,["mcaptcha::static_assets::static_files::assets::DOCS_ICON"]],["impl RefUnwindSafe for MCAPTCHA_TRANS_ICON",1,["mcaptcha::static_assets::static_files::assets::MCAPTCHA_TRANS_ICON"]],["impl RefUnwindSafe for BAR_CHART",1,["mcaptcha::static_assets::static_files::assets::BAR_CHART"]],["impl RefUnwindSafe for Asset",1,["mcaptcha::static_assets::static_files::Asset"]],["impl RefUnwindSafe for static_files",1,["mcaptcha::static_assets::static_files::static_files"]],["impl RefUnwindSafe for Favicons",1,["mcaptcha::static_assets::static_files::Favicons"]],["impl RefUnwindSafe for favicons",1,["mcaptcha::static_assets::static_files::favicons"]],["impl RefUnwindSafe for CaptchaStats",1,["mcaptcha::stats::CaptchaStats"]],["impl RefUnwindSafe for Real",1,["mcaptcha::stats::Real"]],["impl RefUnwindSafe for Dummy",1,["mcaptcha::stats::Dummy"]],["impl RefUnwindSafe for Widget",1,["mcaptcha::widget::routes::Widget"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::widget::IndexPage"]],["impl RefUnwindSafe for INDEX_PAGE",1,["mcaptcha::widget::INDEX_PAGE"]],["impl RefUnwindSafe for show_widget",1,["mcaptcha::widget::show_widget"]],["impl RefUnwindSafe for SETTINGS",1,["mcaptcha::SETTINGS"]],["impl RefUnwindSafe for FILES",1,["mcaptcha::FILES"]],["impl RefUnwindSafe for JS",1,["mcaptcha::JS"]],["impl RefUnwindSafe for CSS",1,["mcaptcha::CSS"]],["impl RefUnwindSafe for MOBILE_CSS",1,["mcaptcha::MOBILE_CSS"]],["impl RefUnwindSafe for VERIFICATIN_WIDGET_JS",1,["mcaptcha::VERIFICATIN_WIDGET_JS"]],["impl RefUnwindSafe for VERIFICATIN_WIDGET_CSS",1,["mcaptcha::VERIFICATIN_WIDGET_CSS"]],["impl RefUnwindSafe for SOURCE_FILES_OF_INSTANCE",1,["mcaptcha::SOURCE_FILES_OF_INSTANCE"]]] +"db_core":[["impl !RefUnwindSafe for DBError",1,["db_core::errors::DBError"]],["impl<'a> RefUnwindSafe for Register<'a>",1,["db_core::Register"]],["impl<'a> RefUnwindSafe for UpdateEmail<'a>",1,["db_core::UpdateEmail"]],["impl<'a> RefUnwindSafe for Login<'a>",1,["db_core::Login"]],["impl RefUnwindSafe for NameHash",1,["db_core::NameHash"]],["impl RefUnwindSafe for StatsUnixTimestamp",1,["db_core::StatsUnixTimestamp"]],["impl RefUnwindSafe for Notification",1,["db_core::Notification"]],["impl<'a> RefUnwindSafe for AddNotification<'a>",1,["db_core::AddNotification"]],["impl RefUnwindSafe for TrafficPattern",1,["db_core::TrafficPattern"]],["impl<'a> RefUnwindSafe for CreateCaptcha<'a>",1,["db_core::CreateCaptcha"]],["impl RefUnwindSafe for Captcha",1,["db_core::Captcha"]],["impl RefUnwindSafe for Secret",1,["db_core::Secret"]]], +"db_sqlx_maria":[["impl !RefUnwindSafe for Database",1,["db_sqlx_maria::Database"]],["impl !RefUnwindSafe for Conn",1,["db_sqlx_maria::Conn"]],["impl !RefUnwindSafe for ConnectionOptions",1,["db_sqlx_maria::ConnectionOptions"]],["impl !RefUnwindSafe for Fresh",1,["db_sqlx_maria::Fresh"]],["impl RefUnwindSafe for InnerNotification",1,["db_sqlx_maria::InnerNotification"]]], +"db_sqlx_postgres":[["impl !RefUnwindSafe for Database",1,["db_sqlx_postgres::Database"]],["impl !RefUnwindSafe for Conn",1,["db_sqlx_postgres::Conn"]],["impl !RefUnwindSafe for ConnectionOptions",1,["db_sqlx_postgres::ConnectionOptions"]],["impl !RefUnwindSafe for Fresh",1,["db_sqlx_postgres::Fresh"]],["impl RefUnwindSafe for InnerNotification",1,["db_sqlx_postgres::InnerNotification"]]], +"mcaptcha":[["impl RefUnwindSafe for delete_account",1,["mcaptcha::api::v1::account::delete::delete_account"]],["impl RefUnwindSafe for Email",1,["mcaptcha::api::v1::account::email::Email"]],["impl RefUnwindSafe for email_exists",1,["mcaptcha::api::v1::account::email::email_exists"]],["impl RefUnwindSafe for set_email",1,["mcaptcha::api::v1::account::email::set_email"]],["impl RefUnwindSafe for ChangePasswordReqest",1,["mcaptcha::api::v1::account::password::ChangePasswordReqest"]],["impl RefUnwindSafe for UpdatePassword",1,["mcaptcha::api::v1::account::password::UpdatePassword"]],["impl RefUnwindSafe for update_user_password",1,["mcaptcha::api::v1::account::password::update_user_password"]],["impl RefUnwindSafe for get_secret",1,["mcaptcha::api::v1::account::secret::get_secret"]],["impl RefUnwindSafe for update_user_secret",1,["mcaptcha::api::v1::account::secret::update_user_secret"]],["impl RefUnwindSafe for username_exists",1,["mcaptcha::api::v1::account::username::username_exists"]],["impl RefUnwindSafe for Username",1,["mcaptcha::api::v1::account::username::Username"]],["impl RefUnwindSafe for set_username",1,["mcaptcha::api::v1::account::username::set_username"]],["impl RefUnwindSafe for Account",1,["mcaptcha::api::v1::account::routes::Account"]],["impl RefUnwindSafe for AccountCheckPayload",1,["mcaptcha::api::v1::account::AccountCheckPayload"]],["impl RefUnwindSafe for AccountCheckResp",1,["mcaptcha::api::v1::account::AccountCheckResp"]],["impl RefUnwindSafe for Auth",1,["mcaptcha::api::v1::auth::routes::Auth"]],["impl RefUnwindSafe for Register",1,["mcaptcha::api::v1::auth::runners::Register"]],["impl RefUnwindSafe for Login",1,["mcaptcha::api::v1::auth::runners::Login"]],["impl RefUnwindSafe for Password",1,["mcaptcha::api::v1::auth::runners::Password"]],["impl RefUnwindSafe for register",1,["mcaptcha::api::v1::auth::register"]],["impl RefUnwindSafe for login",1,["mcaptcha::api::v1::auth::login"]],["impl RefUnwindSafe for signout",1,["mcaptcha::api::v1::auth::signout"]],["impl RefUnwindSafe for CreateCaptcha",1,["mcaptcha::api::v1::mcaptcha::create::CreateCaptcha"]],["impl RefUnwindSafe for MCaptchaDetails",1,["mcaptcha::api::v1::mcaptcha::create::MCaptchaDetails"]],["impl RefUnwindSafe for create",1,["mcaptcha::api::v1::mcaptcha::create::create"]],["impl RefUnwindSafe for DeleteCaptcha",1,["mcaptcha::api::v1::mcaptcha::delete::DeleteCaptcha"]],["impl RefUnwindSafe for delete",1,["mcaptcha::api::v1::mcaptcha::delete::delete"]],["impl RefUnwindSafe for Easy",1,["mcaptcha::api::v1::mcaptcha::easy::routes::Easy"]],["impl RefUnwindSafe for TrafficPatternRequest",1,["mcaptcha::api::v1::mcaptcha::easy::TrafficPatternRequest"]],["impl RefUnwindSafe for create",1,["mcaptcha::api::v1::mcaptcha::easy::create"]],["impl RefUnwindSafe for UpdateTrafficPattern",1,["mcaptcha::api::v1::mcaptcha::easy::UpdateTrafficPattern"]],["impl RefUnwindSafe for update",1,["mcaptcha::api::v1::mcaptcha::easy::update"]],["impl RefUnwindSafe for get_captcha",1,["mcaptcha::api::v1::mcaptcha::get::get_captcha"]],["impl RefUnwindSafe for Levels",1,["mcaptcha::api::v1::mcaptcha::get::Levels"]],["impl RefUnwindSafe for I32Levels",1,["mcaptcha::api::v1::mcaptcha::get::I32Levels"]],["impl RefUnwindSafe for Stats",1,["mcaptcha::api::v1::mcaptcha::stats::routes::Stats"]],["impl RefUnwindSafe for StatsPayload",1,["mcaptcha::api::v1::mcaptcha::stats::StatsPayload"]],["impl RefUnwindSafe for get",1,["mcaptcha::api::v1::mcaptcha::stats::get"]],["impl RefUnwindSafe for update_key",1,["mcaptcha::api::v1::mcaptcha::update::update_key"]],["impl RefUnwindSafe for UpdateCaptcha",1,["mcaptcha::api::v1::mcaptcha::update::UpdateCaptcha"]],["impl RefUnwindSafe for update_captcha",1,["mcaptcha::api::v1::mcaptcha::update::update_captcha"]],["impl RefUnwindSafe for Captcha",1,["mcaptcha::api::v1::mcaptcha::routes::Captcha"]],["impl RefUnwindSafe for Meta",1,["mcaptcha::api::v1::meta::routes::Meta"]],["impl RefUnwindSafe for BuildDetails",1,["mcaptcha::api::v1::meta::BuildDetails"]],["impl RefUnwindSafe for BuildDetailsBuilder",1,["mcaptcha::api::v1::meta::BuildDetailsBuilder"]],["impl RefUnwindSafe for BuildDetailsBuilderError",1,["mcaptcha::api::v1::meta::BuildDetailsBuilderError"]],["impl RefUnwindSafe for build_details",1,["mcaptcha::api::v1::meta::build_details"]],["impl RefUnwindSafe for Health",1,["mcaptcha::api::v1::meta::Health"]],["impl RefUnwindSafe for HealthBuilder",1,["mcaptcha::api::v1::meta::HealthBuilder"]],["impl RefUnwindSafe for HealthBuilderError",1,["mcaptcha::api::v1::meta::HealthBuilderError"]],["impl RefUnwindSafe for health",1,["mcaptcha::api::v1::meta::health"]],["impl RefUnwindSafe for AddNotificationRequest",1,["mcaptcha::api::v1::notifications::add::AddNotificationRequest"]],["impl RefUnwindSafe for add_notification",1,["mcaptcha::api::v1::notifications::add::add_notification"]],["impl RefUnwindSafe for NotificationResp",1,["mcaptcha::api::v1::notifications::get::NotificationResp"]],["impl RefUnwindSafe for get_notification",1,["mcaptcha::api::v1::notifications::get::get_notification"]],["impl RefUnwindSafe for MarkReadReq",1,["mcaptcha::api::v1::notifications::mark_read::MarkReadReq"]],["impl RefUnwindSafe for mark_read",1,["mcaptcha::api::v1::notifications::mark_read::mark_read"]],["impl RefUnwindSafe for Notifications",1,["mcaptcha::api::v1::notifications::routes::Notifications"]],["impl RefUnwindSafe for GetConfigPayload",1,["mcaptcha::api::v1::pow::get_config::GetConfigPayload"]],["impl RefUnwindSafe for get_config",1,["mcaptcha::api::v1::pow::get_config::get_config"]],["impl RefUnwindSafe for ValidationToken",1,["mcaptcha::api::v1::pow::verify_pow::ValidationToken"]],["impl RefUnwindSafe for verify_pow",1,["mcaptcha::api::v1::pow::verify_pow::verify_pow"]],["impl RefUnwindSafe for CaptchaValidateResp",1,["mcaptcha::api::v1::pow::verify_token::CaptchaValidateResp"]],["impl RefUnwindSafe for VerifyCaptchaResultPayload",1,["mcaptcha::api::v1::pow::verify_token::VerifyCaptchaResultPayload"]],["impl RefUnwindSafe for validate_captcha_token",1,["mcaptcha::api::v1::pow::verify_token::validate_captcha_token"]],["impl RefUnwindSafe for PoW",1,["mcaptcha::api::v1::pow::routes::PoW"]],["impl RefUnwindSafe for Routes",1,["mcaptcha::api::v1::routes::Routes"]],["impl RefUnwindSafe for RedirectQuery",1,["mcaptcha::api::v1::RedirectQuery"]],["impl !RefUnwindSafe for SystemGroup",1,["mcaptcha::data::SystemGroup"]],["impl !RefUnwindSafe for Data",1,["mcaptcha::data::Data"]],["impl RefUnwindSafe for Date",1,["mcaptcha::date::Date"]],["impl RefUnwindSafe for DemoUser",1,["mcaptcha::demo::DemoUser"]],["impl RefUnwindSafe for Docs",1,["mcaptcha::docs::routes::Docs"]],["impl RefUnwindSafe for Asset",1,["mcaptcha::docs::Asset"]],["impl RefUnwindSafe for dist",1,["mcaptcha::docs::dist"]],["impl RefUnwindSafe for spec",1,["mcaptcha::docs::spec"]],["impl RefUnwindSafe for index",1,["mcaptcha::docs::index"]],["impl<'a> RefUnwindSafe for IndexPage<'a>",1,["mcaptcha::email::verification::IndexPage"]],["impl !RefUnwindSafe for SmtpErrorWrapper",1,["mcaptcha::errors::SmtpErrorWrapper"]],["impl !RefUnwindSafe for DBErrorWrapper",1,["mcaptcha::errors::DBErrorWrapper"]],["impl !RefUnwindSafe for ServiceError",1,["mcaptcha::errors::ServiceError"]],["impl RefUnwindSafe for ErrorToResponse",1,["mcaptcha::errors::ErrorToResponse"]],["impl !RefUnwindSafe for PageError",1,["mcaptcha::errors::PageError"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::auth::login::IndexPage"]],["impl RefUnwindSafe for INDEX",1,["mcaptcha::pages::auth::login::INDEX"]],["impl RefUnwindSafe for login",1,["mcaptcha::pages::auth::login::login"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::auth::register::IndexPage"]],["impl RefUnwindSafe for INDEX",1,["mcaptcha::pages::auth::register::INDEX"]],["impl RefUnwindSafe for join",1,["mcaptcha::pages::auth::register::join"]],["impl<'a, K, V> RefUnwindSafe for SudoPage<'a, K, V>where
    K: RefUnwindSafe,
    V: RefUnwindSafe,
",1,["mcaptcha::pages::auth::sudo::SudoPage"]],["impl RefUnwindSafe for Auth",1,["mcaptcha::pages::auth::routes::Auth"]],["impl RefUnwindSafe for Errors",1,["mcaptcha::pages::errors::routes::Errors"]],["impl<'a> RefUnwindSafe for ErrorPage<'a>",1,["mcaptcha::pages::errors::ErrorPage"]],["impl RefUnwindSafe for INTERNAL_SERVER_ERROR_BODY",1,["mcaptcha::pages::errors::INTERNAL_SERVER_ERROR_BODY"]],["impl RefUnwindSafe for UNKNOWN_ERROR_BODY",1,["mcaptcha::pages::errors::UNKNOWN_ERROR_BODY"]],["impl RefUnwindSafe for error",1,["mcaptcha::pages::errors::error"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::panel::notifications::IndexPage"]],["impl RefUnwindSafe for Notification",1,["mcaptcha::pages::panel::notifications::Notification"]],["impl RefUnwindSafe for notifications",1,["mcaptcha::pages::panel::notifications::notifications"]],["impl RefUnwindSafe for Settings",1,["mcaptcha::pages::panel::settings::routes::Settings"]],["impl<'a> RefUnwindSafe for IndexPage<'a>",1,["mcaptcha::pages::panel::settings::IndexPage"]],["impl RefUnwindSafe for settings",1,["mcaptcha::pages::panel::settings::settings"]],["impl RefUnwindSafe for delete_account",1,["mcaptcha::pages::panel::settings::delete_account"]],["impl RefUnwindSafe for update_secret",1,["mcaptcha::pages::panel::settings::update_secret"]],["impl RefUnwindSafe for ADVANCE_INDEX",1,["mcaptcha::pages::panel::sitekey::add::ADVANCE_INDEX"]],["impl RefUnwindSafe for EASY_INDEX",1,["mcaptcha::pages::panel::sitekey::add::EASY_INDEX"]],["impl<'a> RefUnwindSafe for AdvanceIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::AdvanceIndexPage"]],["impl RefUnwindSafe for advance",1,["mcaptcha::pages::panel::sitekey::add::advance"]],["impl<'a> RefUnwindSafe for EasyIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::EasyIndexPage"]],["impl RefUnwindSafe for easy",1,["mcaptcha::pages::panel::sitekey::add::easy"]],["impl RefUnwindSafe for delete_sitekey",1,["mcaptcha::pages::panel::sitekey::delete::delete_sitekey"]],["impl RefUnwindSafe for AdvanceEditPage",1,["mcaptcha::pages::panel::sitekey::edit::AdvanceEditPage"]],["impl RefUnwindSafe for advance",1,["mcaptcha::pages::panel::sitekey::edit::advance"]],["impl<'a> RefUnwindSafe for EasyEditPage<'a>",1,["mcaptcha::pages::panel::sitekey::edit::EasyEditPage"]],["impl RefUnwindSafe for easy",1,["mcaptcha::pages::panel::sitekey::edit::easy"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::panel::sitekey::list::IndexPage"]],["impl RefUnwindSafe for list_sitekeys",1,["mcaptcha::pages::panel::sitekey::list::list_sitekeys"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::panel::sitekey::view::IndexPage"]],["impl RefUnwindSafe for view_sitekey",1,["mcaptcha::pages::panel::sitekey::view::view_sitekey"]],["impl RefUnwindSafe for Sitekey",1,["mcaptcha::pages::panel::sitekey::routes::Sitekey"]],["impl RefUnwindSafe for Panel",1,["mcaptcha::pages::panel::routes::Panel"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::panel::IndexPage"]],["impl RefUnwindSafe for panel",1,["mcaptcha::pages::panel::panel"]],["impl RefUnwindSafe for Routes",1,["mcaptcha::pages::routes::Routes"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::sitemap::IndexPage"]],["impl RefUnwindSafe for INDEX",1,["mcaptcha::pages::sitemap::INDEX"]],["impl RefUnwindSafe for sitemap",1,["mcaptcha::pages::sitemap::sitemap"]],["impl RefUnwindSafe for Server",1,["mcaptcha::settings::Server"]],["impl RefUnwindSafe for Captcha",1,["mcaptcha::settings::Captcha"]],["impl RefUnwindSafe for DefaultDifficultyStrategy",1,["mcaptcha::settings::DefaultDifficultyStrategy"]],["impl RefUnwindSafe for Smtp",1,["mcaptcha::settings::Smtp"]],["impl RefUnwindSafe for DBType",1,["mcaptcha::settings::DBType"]],["impl RefUnwindSafe for Database",1,["mcaptcha::settings::Database"]],["impl RefUnwindSafe for Redis",1,["mcaptcha::settings::Redis"]],["impl RefUnwindSafe for Settings",1,["mcaptcha::settings::Settings"]],["impl RefUnwindSafe for FileMap",1,["mcaptcha::static_assets::filemap::FileMap"]],["impl RefUnwindSafe for KEY",1,["mcaptcha::static_assets::static_files::assets::KEY"]],["impl RefUnwindSafe for GITHUB",1,["mcaptcha::static_assets::static_files::assets::GITHUB"]],["impl RefUnwindSafe for HOME",1,["mcaptcha::static_assets::static_files::assets::HOME"]],["impl RefUnwindSafe for SETTINGS_ICON",1,["mcaptcha::static_assets::static_files::assets::SETTINGS_ICON"]],["impl RefUnwindSafe for CREDIT_CARD",1,["mcaptcha::static_assets::static_files::assets::CREDIT_CARD"]],["impl RefUnwindSafe for HELP_CIRCLE",1,["mcaptcha::static_assets::static_files::assets::HELP_CIRCLE"]],["impl RefUnwindSafe for MESSAGE",1,["mcaptcha::static_assets::static_files::assets::MESSAGE"]],["impl RefUnwindSafe for DOCS_ICON",1,["mcaptcha::static_assets::static_files::assets::DOCS_ICON"]],["impl RefUnwindSafe for MCAPTCHA_TRANS_ICON",1,["mcaptcha::static_assets::static_files::assets::MCAPTCHA_TRANS_ICON"]],["impl RefUnwindSafe for BAR_CHART",1,["mcaptcha::static_assets::static_files::assets::BAR_CHART"]],["impl RefUnwindSafe for Asset",1,["mcaptcha::static_assets::static_files::Asset"]],["impl RefUnwindSafe for static_files",1,["mcaptcha::static_assets::static_files::static_files"]],["impl RefUnwindSafe for Favicons",1,["mcaptcha::static_assets::static_files::Favicons"]],["impl RefUnwindSafe for favicons",1,["mcaptcha::static_assets::static_files::favicons"]],["impl RefUnwindSafe for CaptchaStats",1,["mcaptcha::stats::CaptchaStats"]],["impl RefUnwindSafe for Real",1,["mcaptcha::stats::Real"]],["impl RefUnwindSafe for Dummy",1,["mcaptcha::stats::Dummy"]],["impl RefUnwindSafe for Widget",1,["mcaptcha::widget::routes::Widget"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::widget::IndexPage"]],["impl RefUnwindSafe for INDEX_PAGE",1,["mcaptcha::widget::INDEX_PAGE"]],["impl RefUnwindSafe for show_widget",1,["mcaptcha::widget::show_widget"]],["impl RefUnwindSafe for SETTINGS",1,["mcaptcha::SETTINGS"]],["impl RefUnwindSafe for FILES",1,["mcaptcha::FILES"]],["impl RefUnwindSafe for JS",1,["mcaptcha::JS"]],["impl RefUnwindSafe for CSS",1,["mcaptcha::CSS"]],["impl RefUnwindSafe for MOBILE_CSS",1,["mcaptcha::MOBILE_CSS"]],["impl RefUnwindSafe for VERIFICATIN_WIDGET_JS",1,["mcaptcha::VERIFICATIN_WIDGET_JS"]],["impl RefUnwindSafe for VERIFICATIN_WIDGET_CSS",1,["mcaptcha::VERIFICATIN_WIDGET_CSS"]],["impl RefUnwindSafe for SOURCE_FILES_OF_INSTANCE",1,["mcaptcha::SOURCE_FILES_OF_INSTANCE"]]] };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 68643c6a..05038f42 100644 --- a/implementors/core/panic/unwind_safe/trait.UnwindSafe.js +++ b/implementors/core/panic/unwind_safe/trait.UnwindSafe.js @@ -1,6 +1,6 @@ (function() {var implementors = { -"db_core":[["impl !UnwindSafe for DBError",1,["db_core::errors::DBError"]],["impl<'a> UnwindSafe for Register<'a>",1,["db_core::Register"]],["impl<'a> UnwindSafe for UpdateEmail<'a>",1,["db_core::UpdateEmail"]],["impl<'a> UnwindSafe for Login<'a>",1,["db_core::Login"]],["impl UnwindSafe for NameHash",1,["db_core::NameHash"]],["impl UnwindSafe for StatsUnixTimestamp",1,["db_core::StatsUnixTimestamp"]],["impl UnwindSafe for Notification",1,["db_core::Notification"]],["impl<'a> UnwindSafe for AddNotification<'a>",1,["db_core::AddNotification"]],["impl UnwindSafe for TrafficPattern",1,["db_core::TrafficPattern"]],["impl<'a> UnwindSafe for CreateCaptcha<'a>",1,["db_core::CreateCaptcha"]],["impl UnwindSafe for Captcha",1,["db_core::Captcha"]],["impl UnwindSafe for Secret",1,["db_core::Secret"]]], -"db_sqlx_maria":[["impl !UnwindSafe for Database",1,["db_sqlx_maria::Database"]],["impl !UnwindSafe for Conn",1,["db_sqlx_maria::Conn"]],["impl !UnwindSafe for ConnectionOptions",1,["db_sqlx_maria::ConnectionOptions"]],["impl !UnwindSafe for Fresh",1,["db_sqlx_maria::Fresh"]],["impl UnwindSafe for InnerNotification",1,["db_sqlx_maria::InnerNotification"]]], -"db_sqlx_postgres":[["impl !UnwindSafe for Database",1,["db_sqlx_postgres::Database"]],["impl !UnwindSafe for Conn",1,["db_sqlx_postgres::Conn"]],["impl !UnwindSafe for ConnectionOptions",1,["db_sqlx_postgres::ConnectionOptions"]],["impl !UnwindSafe for Fresh",1,["db_sqlx_postgres::Fresh"]],["impl UnwindSafe for InnerNotification",1,["db_sqlx_postgres::InnerNotification"]]], -"mcaptcha":[["impl UnwindSafe for delete_account",1,["mcaptcha::api::v1::account::delete::delete_account"]],["impl UnwindSafe for Email",1,["mcaptcha::api::v1::account::email::Email"]],["impl UnwindSafe for email_exists",1,["mcaptcha::api::v1::account::email::email_exists"]],["impl UnwindSafe for set_email",1,["mcaptcha::api::v1::account::email::set_email"]],["impl UnwindSafe for ChangePasswordReqest",1,["mcaptcha::api::v1::account::password::ChangePasswordReqest"]],["impl UnwindSafe for UpdatePassword",1,["mcaptcha::api::v1::account::password::UpdatePassword"]],["impl UnwindSafe for update_user_password",1,["mcaptcha::api::v1::account::password::update_user_password"]],["impl UnwindSafe for get_secret",1,["mcaptcha::api::v1::account::secret::get_secret"]],["impl UnwindSafe for update_user_secret",1,["mcaptcha::api::v1::account::secret::update_user_secret"]],["impl UnwindSafe for username_exists",1,["mcaptcha::api::v1::account::username::username_exists"]],["impl UnwindSafe for Username",1,["mcaptcha::api::v1::account::username::Username"]],["impl UnwindSafe for set_username",1,["mcaptcha::api::v1::account::username::set_username"]],["impl UnwindSafe for Account",1,["mcaptcha::api::v1::account::routes::Account"]],["impl UnwindSafe for AccountCheckPayload",1,["mcaptcha::api::v1::account::AccountCheckPayload"]],["impl UnwindSafe for AccountCheckResp",1,["mcaptcha::api::v1::account::AccountCheckResp"]],["impl UnwindSafe for Auth",1,["mcaptcha::api::v1::auth::routes::Auth"]],["impl UnwindSafe for Register",1,["mcaptcha::api::v1::auth::runners::Register"]],["impl UnwindSafe for Login",1,["mcaptcha::api::v1::auth::runners::Login"]],["impl UnwindSafe for Password",1,["mcaptcha::api::v1::auth::runners::Password"]],["impl UnwindSafe for register",1,["mcaptcha::api::v1::auth::register"]],["impl UnwindSafe for login",1,["mcaptcha::api::v1::auth::login"]],["impl UnwindSafe for signout",1,["mcaptcha::api::v1::auth::signout"]],["impl UnwindSafe for CreateCaptcha",1,["mcaptcha::api::v1::mcaptcha::create::CreateCaptcha"]],["impl UnwindSafe for MCaptchaDetails",1,["mcaptcha::api::v1::mcaptcha::create::MCaptchaDetails"]],["impl UnwindSafe for create",1,["mcaptcha::api::v1::mcaptcha::create::create"]],["impl UnwindSafe for DeleteCaptcha",1,["mcaptcha::api::v1::mcaptcha::delete::DeleteCaptcha"]],["impl UnwindSafe for delete",1,["mcaptcha::api::v1::mcaptcha::delete::delete"]],["impl UnwindSafe for Easy",1,["mcaptcha::api::v1::mcaptcha::easy::routes::Easy"]],["impl UnwindSafe for TrafficPatternRequest",1,["mcaptcha::api::v1::mcaptcha::easy::TrafficPatternRequest"]],["impl UnwindSafe for create",1,["mcaptcha::api::v1::mcaptcha::easy::create"]],["impl UnwindSafe for UpdateTrafficPattern",1,["mcaptcha::api::v1::mcaptcha::easy::UpdateTrafficPattern"]],["impl UnwindSafe for update",1,["mcaptcha::api::v1::mcaptcha::easy::update"]],["impl UnwindSafe for get_captcha",1,["mcaptcha::api::v1::mcaptcha::get::get_captcha"]],["impl UnwindSafe for Levels",1,["mcaptcha::api::v1::mcaptcha::get::Levels"]],["impl UnwindSafe for I32Levels",1,["mcaptcha::api::v1::mcaptcha::get::I32Levels"]],["impl UnwindSafe for Stats",1,["mcaptcha::api::v1::mcaptcha::stats::routes::Stats"]],["impl UnwindSafe for StatsPayload",1,["mcaptcha::api::v1::mcaptcha::stats::StatsPayload"]],["impl UnwindSafe for get",1,["mcaptcha::api::v1::mcaptcha::stats::get"]],["impl UnwindSafe for update_key",1,["mcaptcha::api::v1::mcaptcha::update::update_key"]],["impl UnwindSafe for UpdateCaptcha",1,["mcaptcha::api::v1::mcaptcha::update::UpdateCaptcha"]],["impl UnwindSafe for update_captcha",1,["mcaptcha::api::v1::mcaptcha::update::update_captcha"]],["impl UnwindSafe for Captcha",1,["mcaptcha::api::v1::mcaptcha::routes::Captcha"]],["impl UnwindSafe for Meta",1,["mcaptcha::api::v1::meta::routes::Meta"]],["impl UnwindSafe for BuildDetails",1,["mcaptcha::api::v1::meta::BuildDetails"]],["impl UnwindSafe for BuildDetailsBuilder",1,["mcaptcha::api::v1::meta::BuildDetailsBuilder"]],["impl UnwindSafe for BuildDetailsBuilderError",1,["mcaptcha::api::v1::meta::BuildDetailsBuilderError"]],["impl UnwindSafe for build_details",1,["mcaptcha::api::v1::meta::build_details"]],["impl UnwindSafe for Health",1,["mcaptcha::api::v1::meta::Health"]],["impl UnwindSafe for HealthBuilder",1,["mcaptcha::api::v1::meta::HealthBuilder"]],["impl UnwindSafe for HealthBuilderError",1,["mcaptcha::api::v1::meta::HealthBuilderError"]],["impl UnwindSafe for health",1,["mcaptcha::api::v1::meta::health"]],["impl UnwindSafe for AddNotificationRequest",1,["mcaptcha::api::v1::notifications::add::AddNotificationRequest"]],["impl UnwindSafe for add_notification",1,["mcaptcha::api::v1::notifications::add::add_notification"]],["impl UnwindSafe for NotificationResp",1,["mcaptcha::api::v1::notifications::get::NotificationResp"]],["impl UnwindSafe for get_notification",1,["mcaptcha::api::v1::notifications::get::get_notification"]],["impl UnwindSafe for MarkReadReq",1,["mcaptcha::api::v1::notifications::mark_read::MarkReadReq"]],["impl UnwindSafe for mark_read",1,["mcaptcha::api::v1::notifications::mark_read::mark_read"]],["impl UnwindSafe for Notifications",1,["mcaptcha::api::v1::notifications::routes::Notifications"]],["impl UnwindSafe for GetConfigPayload",1,["mcaptcha::api::v1::pow::get_config::GetConfigPayload"]],["impl UnwindSafe for get_config",1,["mcaptcha::api::v1::pow::get_config::get_config"]],["impl UnwindSafe for ValidationToken",1,["mcaptcha::api::v1::pow::verify_pow::ValidationToken"]],["impl UnwindSafe for verify_pow",1,["mcaptcha::api::v1::pow::verify_pow::verify_pow"]],["impl UnwindSafe for CaptchaValidateResp",1,["mcaptcha::api::v1::pow::verify_token::CaptchaValidateResp"]],["impl UnwindSafe for VerifyCaptchaResultPayload",1,["mcaptcha::api::v1::pow::verify_token::VerifyCaptchaResultPayload"]],["impl UnwindSafe for validate_captcha_token",1,["mcaptcha::api::v1::pow::verify_token::validate_captcha_token"]],["impl UnwindSafe for PoW",1,["mcaptcha::api::v1::pow::routes::PoW"]],["impl UnwindSafe for Routes",1,["mcaptcha::api::v1::routes::Routes"]],["impl UnwindSafe for RedirectQuery",1,["mcaptcha::api::v1::RedirectQuery"]],["impl !UnwindSafe for SystemGroup",1,["mcaptcha::data::SystemGroup"]],["impl !UnwindSafe for Data",1,["mcaptcha::data::Data"]],["impl UnwindSafe for Date",1,["mcaptcha::date::Date"]],["impl UnwindSafe for DemoUser",1,["mcaptcha::demo::DemoUser"]],["impl UnwindSafe for Docs",1,["mcaptcha::docs::routes::Docs"]],["impl UnwindSafe for Asset",1,["mcaptcha::docs::Asset"]],["impl UnwindSafe for dist",1,["mcaptcha::docs::dist"]],["impl UnwindSafe for spec",1,["mcaptcha::docs::spec"]],["impl UnwindSafe for index",1,["mcaptcha::docs::index"]],["impl<'a> UnwindSafe for IndexPage<'a>",1,["mcaptcha::email::verification::IndexPage"]],["impl !UnwindSafe for SmtpErrorWrapper",1,["mcaptcha::errors::SmtpErrorWrapper"]],["impl !UnwindSafe for DBErrorWrapper",1,["mcaptcha::errors::DBErrorWrapper"]],["impl !UnwindSafe for ServiceError",1,["mcaptcha::errors::ServiceError"]],["impl UnwindSafe for ErrorToResponse",1,["mcaptcha::errors::ErrorToResponse"]],["impl !UnwindSafe for PageError",1,["mcaptcha::errors::PageError"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::auth::login::IndexPage"]],["impl UnwindSafe for INDEX",1,["mcaptcha::pages::auth::login::INDEX"]],["impl UnwindSafe for login",1,["mcaptcha::pages::auth::login::login"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::auth::register::IndexPage"]],["impl UnwindSafe for INDEX",1,["mcaptcha::pages::auth::register::INDEX"]],["impl UnwindSafe for join",1,["mcaptcha::pages::auth::register::join"]],["impl<'a, K, V> UnwindSafe for SudoPage<'a, K, V>where
    K: UnwindSafe,
    V: UnwindSafe,
",1,["mcaptcha::pages::auth::sudo::SudoPage"]],["impl UnwindSafe for Auth",1,["mcaptcha::pages::auth::routes::Auth"]],["impl UnwindSafe for Errors",1,["mcaptcha::pages::errors::routes::Errors"]],["impl<'a> UnwindSafe for ErrorPage<'a>",1,["mcaptcha::pages::errors::ErrorPage"]],["impl UnwindSafe for INTERNAL_SERVER_ERROR_BODY",1,["mcaptcha::pages::errors::INTERNAL_SERVER_ERROR_BODY"]],["impl UnwindSafe for UNKNOWN_ERROR_BODY",1,["mcaptcha::pages::errors::UNKNOWN_ERROR_BODY"]],["impl UnwindSafe for error",1,["mcaptcha::pages::errors::error"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::panel::notifications::IndexPage"]],["impl UnwindSafe for Notification",1,["mcaptcha::pages::panel::notifications::Notification"]],["impl UnwindSafe for notifications",1,["mcaptcha::pages::panel::notifications::notifications"]],["impl UnwindSafe for Settings",1,["mcaptcha::pages::panel::settings::routes::Settings"]],["impl<'a> UnwindSafe for IndexPage<'a>",1,["mcaptcha::pages::panel::settings::IndexPage"]],["impl UnwindSafe for settings",1,["mcaptcha::pages::panel::settings::settings"]],["impl UnwindSafe for delete_account",1,["mcaptcha::pages::panel::settings::delete_account"]],["impl UnwindSafe for update_secret",1,["mcaptcha::pages::panel::settings::update_secret"]],["impl UnwindSafe for ADVANCE_INDEX",1,["mcaptcha::pages::panel::sitekey::add::ADVANCE_INDEX"]],["impl UnwindSafe for EASY_INDEX",1,["mcaptcha::pages::panel::sitekey::add::EASY_INDEX"]],["impl<'a> UnwindSafe for AdvanceIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::AdvanceIndexPage"]],["impl UnwindSafe for advance",1,["mcaptcha::pages::panel::sitekey::add::advance"]],["impl<'a> UnwindSafe for EasyIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::EasyIndexPage"]],["impl UnwindSafe for easy",1,["mcaptcha::pages::panel::sitekey::add::easy"]],["impl UnwindSafe for delete_sitekey",1,["mcaptcha::pages::panel::sitekey::delete::delete_sitekey"]],["impl UnwindSafe for AdvanceEditPage",1,["mcaptcha::pages::panel::sitekey::edit::AdvanceEditPage"]],["impl UnwindSafe for advance",1,["mcaptcha::pages::panel::sitekey::edit::advance"]],["impl<'a> UnwindSafe for EasyEditPage<'a>",1,["mcaptcha::pages::panel::sitekey::edit::EasyEditPage"]],["impl UnwindSafe for easy",1,["mcaptcha::pages::panel::sitekey::edit::easy"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::panel::sitekey::list::IndexPage"]],["impl UnwindSafe for list_sitekeys",1,["mcaptcha::pages::panel::sitekey::list::list_sitekeys"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::panel::sitekey::view::IndexPage"]],["impl UnwindSafe for view_sitekey",1,["mcaptcha::pages::panel::sitekey::view::view_sitekey"]],["impl UnwindSafe for Sitekey",1,["mcaptcha::pages::panel::sitekey::routes::Sitekey"]],["impl UnwindSafe for Panel",1,["mcaptcha::pages::panel::routes::Panel"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::panel::IndexPage"]],["impl UnwindSafe for panel",1,["mcaptcha::pages::panel::panel"]],["impl UnwindSafe for Routes",1,["mcaptcha::pages::routes::Routes"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::sitemap::IndexPage"]],["impl UnwindSafe for INDEX",1,["mcaptcha::pages::sitemap::INDEX"]],["impl UnwindSafe for sitemap",1,["mcaptcha::pages::sitemap::sitemap"]],["impl UnwindSafe for Server",1,["mcaptcha::settings::Server"]],["impl UnwindSafe for Captcha",1,["mcaptcha::settings::Captcha"]],["impl UnwindSafe for DefaultDifficultyStrategy",1,["mcaptcha::settings::DefaultDifficultyStrategy"]],["impl UnwindSafe for Smtp",1,["mcaptcha::settings::Smtp"]],["impl UnwindSafe for DBType",1,["mcaptcha::settings::DBType"]],["impl UnwindSafe for Database",1,["mcaptcha::settings::Database"]],["impl UnwindSafe for Redis",1,["mcaptcha::settings::Redis"]],["impl UnwindSafe for Settings",1,["mcaptcha::settings::Settings"]],["impl UnwindSafe for FileMap",1,["mcaptcha::static_assets::filemap::FileMap"]],["impl UnwindSafe for KEY",1,["mcaptcha::static_assets::static_files::assets::KEY"]],["impl UnwindSafe for GITHUB",1,["mcaptcha::static_assets::static_files::assets::GITHUB"]],["impl UnwindSafe for HOME",1,["mcaptcha::static_assets::static_files::assets::HOME"]],["impl UnwindSafe for SETTINGS_ICON",1,["mcaptcha::static_assets::static_files::assets::SETTINGS_ICON"]],["impl UnwindSafe for CREDIT_CARD",1,["mcaptcha::static_assets::static_files::assets::CREDIT_CARD"]],["impl UnwindSafe for HELP_CIRCLE",1,["mcaptcha::static_assets::static_files::assets::HELP_CIRCLE"]],["impl UnwindSafe for MESSAGE",1,["mcaptcha::static_assets::static_files::assets::MESSAGE"]],["impl UnwindSafe for DOCS_ICON",1,["mcaptcha::static_assets::static_files::assets::DOCS_ICON"]],["impl UnwindSafe for MCAPTCHA_TRANS_ICON",1,["mcaptcha::static_assets::static_files::assets::MCAPTCHA_TRANS_ICON"]],["impl UnwindSafe for BAR_CHART",1,["mcaptcha::static_assets::static_files::assets::BAR_CHART"]],["impl UnwindSafe for Asset",1,["mcaptcha::static_assets::static_files::Asset"]],["impl UnwindSafe for static_files",1,["mcaptcha::static_assets::static_files::static_files"]],["impl UnwindSafe for Favicons",1,["mcaptcha::static_assets::static_files::Favicons"]],["impl UnwindSafe for favicons",1,["mcaptcha::static_assets::static_files::favicons"]],["impl UnwindSafe for CaptchaStats",1,["mcaptcha::stats::CaptchaStats"]],["impl UnwindSafe for Real",1,["mcaptcha::stats::Real"]],["impl UnwindSafe for Dummy",1,["mcaptcha::stats::Dummy"]],["impl UnwindSafe for Widget",1,["mcaptcha::widget::routes::Widget"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::widget::IndexPage"]],["impl UnwindSafe for INDEX_PAGE",1,["mcaptcha::widget::INDEX_PAGE"]],["impl UnwindSafe for show_widget",1,["mcaptcha::widget::show_widget"]],["impl UnwindSafe for SETTINGS",1,["mcaptcha::SETTINGS"]],["impl UnwindSafe for FILES",1,["mcaptcha::FILES"]],["impl UnwindSafe for JS",1,["mcaptcha::JS"]],["impl UnwindSafe for CSS",1,["mcaptcha::CSS"]],["impl UnwindSafe for MOBILE_CSS",1,["mcaptcha::MOBILE_CSS"]],["impl UnwindSafe for VERIFICATIN_WIDGET_JS",1,["mcaptcha::VERIFICATIN_WIDGET_JS"]],["impl UnwindSafe for VERIFICATIN_WIDGET_CSS",1,["mcaptcha::VERIFICATIN_WIDGET_CSS"]],["impl UnwindSafe for SOURCE_FILES_OF_INSTANCE",1,["mcaptcha::SOURCE_FILES_OF_INSTANCE"]]] +"db_core":[["impl !UnwindSafe for DBError",1,["db_core::errors::DBError"]],["impl<'a> UnwindSafe for Register<'a>",1,["db_core::Register"]],["impl<'a> UnwindSafe for UpdateEmail<'a>",1,["db_core::UpdateEmail"]],["impl<'a> UnwindSafe for Login<'a>",1,["db_core::Login"]],["impl UnwindSafe for NameHash",1,["db_core::NameHash"]],["impl UnwindSafe for StatsUnixTimestamp",1,["db_core::StatsUnixTimestamp"]],["impl UnwindSafe for Notification",1,["db_core::Notification"]],["impl<'a> UnwindSafe for AddNotification<'a>",1,["db_core::AddNotification"]],["impl UnwindSafe for TrafficPattern",1,["db_core::TrafficPattern"]],["impl<'a> UnwindSafe for CreateCaptcha<'a>",1,["db_core::CreateCaptcha"]],["impl UnwindSafe for Captcha",1,["db_core::Captcha"]],["impl UnwindSafe for Secret",1,["db_core::Secret"]]], +"db_sqlx_maria":[["impl !UnwindSafe for Database",1,["db_sqlx_maria::Database"]],["impl !UnwindSafe for Conn",1,["db_sqlx_maria::Conn"]],["impl !UnwindSafe for ConnectionOptions",1,["db_sqlx_maria::ConnectionOptions"]],["impl !UnwindSafe for Fresh",1,["db_sqlx_maria::Fresh"]],["impl UnwindSafe for InnerNotification",1,["db_sqlx_maria::InnerNotification"]]], +"db_sqlx_postgres":[["impl !UnwindSafe for Database",1,["db_sqlx_postgres::Database"]],["impl !UnwindSafe for Conn",1,["db_sqlx_postgres::Conn"]],["impl !UnwindSafe for ConnectionOptions",1,["db_sqlx_postgres::ConnectionOptions"]],["impl !UnwindSafe for Fresh",1,["db_sqlx_postgres::Fresh"]],["impl UnwindSafe for InnerNotification",1,["db_sqlx_postgres::InnerNotification"]]], +"mcaptcha":[["impl UnwindSafe for delete_account",1,["mcaptcha::api::v1::account::delete::delete_account"]],["impl UnwindSafe for Email",1,["mcaptcha::api::v1::account::email::Email"]],["impl UnwindSafe for email_exists",1,["mcaptcha::api::v1::account::email::email_exists"]],["impl UnwindSafe for set_email",1,["mcaptcha::api::v1::account::email::set_email"]],["impl UnwindSafe for ChangePasswordReqest",1,["mcaptcha::api::v1::account::password::ChangePasswordReqest"]],["impl UnwindSafe for UpdatePassword",1,["mcaptcha::api::v1::account::password::UpdatePassword"]],["impl UnwindSafe for update_user_password",1,["mcaptcha::api::v1::account::password::update_user_password"]],["impl UnwindSafe for get_secret",1,["mcaptcha::api::v1::account::secret::get_secret"]],["impl UnwindSafe for update_user_secret",1,["mcaptcha::api::v1::account::secret::update_user_secret"]],["impl UnwindSafe for username_exists",1,["mcaptcha::api::v1::account::username::username_exists"]],["impl UnwindSafe for Username",1,["mcaptcha::api::v1::account::username::Username"]],["impl UnwindSafe for set_username",1,["mcaptcha::api::v1::account::username::set_username"]],["impl UnwindSafe for Account",1,["mcaptcha::api::v1::account::routes::Account"]],["impl UnwindSafe for AccountCheckPayload",1,["mcaptcha::api::v1::account::AccountCheckPayload"]],["impl UnwindSafe for AccountCheckResp",1,["mcaptcha::api::v1::account::AccountCheckResp"]],["impl UnwindSafe for Auth",1,["mcaptcha::api::v1::auth::routes::Auth"]],["impl UnwindSafe for Register",1,["mcaptcha::api::v1::auth::runners::Register"]],["impl UnwindSafe for Login",1,["mcaptcha::api::v1::auth::runners::Login"]],["impl UnwindSafe for Password",1,["mcaptcha::api::v1::auth::runners::Password"]],["impl UnwindSafe for register",1,["mcaptcha::api::v1::auth::register"]],["impl UnwindSafe for login",1,["mcaptcha::api::v1::auth::login"]],["impl UnwindSafe for signout",1,["mcaptcha::api::v1::auth::signout"]],["impl UnwindSafe for CreateCaptcha",1,["mcaptcha::api::v1::mcaptcha::create::CreateCaptcha"]],["impl UnwindSafe for MCaptchaDetails",1,["mcaptcha::api::v1::mcaptcha::create::MCaptchaDetails"]],["impl UnwindSafe for create",1,["mcaptcha::api::v1::mcaptcha::create::create"]],["impl UnwindSafe for DeleteCaptcha",1,["mcaptcha::api::v1::mcaptcha::delete::DeleteCaptcha"]],["impl UnwindSafe for delete",1,["mcaptcha::api::v1::mcaptcha::delete::delete"]],["impl UnwindSafe for Easy",1,["mcaptcha::api::v1::mcaptcha::easy::routes::Easy"]],["impl UnwindSafe for TrafficPatternRequest",1,["mcaptcha::api::v1::mcaptcha::easy::TrafficPatternRequest"]],["impl UnwindSafe for create",1,["mcaptcha::api::v1::mcaptcha::easy::create"]],["impl UnwindSafe for UpdateTrafficPattern",1,["mcaptcha::api::v1::mcaptcha::easy::UpdateTrafficPattern"]],["impl UnwindSafe for update",1,["mcaptcha::api::v1::mcaptcha::easy::update"]],["impl UnwindSafe for get_captcha",1,["mcaptcha::api::v1::mcaptcha::get::get_captcha"]],["impl UnwindSafe for Levels",1,["mcaptcha::api::v1::mcaptcha::get::Levels"]],["impl UnwindSafe for I32Levels",1,["mcaptcha::api::v1::mcaptcha::get::I32Levels"]],["impl UnwindSafe for Stats",1,["mcaptcha::api::v1::mcaptcha::stats::routes::Stats"]],["impl UnwindSafe for StatsPayload",1,["mcaptcha::api::v1::mcaptcha::stats::StatsPayload"]],["impl UnwindSafe for get",1,["mcaptcha::api::v1::mcaptcha::stats::get"]],["impl UnwindSafe for update_key",1,["mcaptcha::api::v1::mcaptcha::update::update_key"]],["impl UnwindSafe for UpdateCaptcha",1,["mcaptcha::api::v1::mcaptcha::update::UpdateCaptcha"]],["impl UnwindSafe for update_captcha",1,["mcaptcha::api::v1::mcaptcha::update::update_captcha"]],["impl UnwindSafe for Captcha",1,["mcaptcha::api::v1::mcaptcha::routes::Captcha"]],["impl UnwindSafe for Meta",1,["mcaptcha::api::v1::meta::routes::Meta"]],["impl UnwindSafe for BuildDetails",1,["mcaptcha::api::v1::meta::BuildDetails"]],["impl UnwindSafe for BuildDetailsBuilder",1,["mcaptcha::api::v1::meta::BuildDetailsBuilder"]],["impl UnwindSafe for BuildDetailsBuilderError",1,["mcaptcha::api::v1::meta::BuildDetailsBuilderError"]],["impl UnwindSafe for build_details",1,["mcaptcha::api::v1::meta::build_details"]],["impl UnwindSafe for Health",1,["mcaptcha::api::v1::meta::Health"]],["impl UnwindSafe for HealthBuilder",1,["mcaptcha::api::v1::meta::HealthBuilder"]],["impl UnwindSafe for HealthBuilderError",1,["mcaptcha::api::v1::meta::HealthBuilderError"]],["impl UnwindSafe for health",1,["mcaptcha::api::v1::meta::health"]],["impl UnwindSafe for AddNotificationRequest",1,["mcaptcha::api::v1::notifications::add::AddNotificationRequest"]],["impl UnwindSafe for add_notification",1,["mcaptcha::api::v1::notifications::add::add_notification"]],["impl UnwindSafe for NotificationResp",1,["mcaptcha::api::v1::notifications::get::NotificationResp"]],["impl UnwindSafe for get_notification",1,["mcaptcha::api::v1::notifications::get::get_notification"]],["impl UnwindSafe for MarkReadReq",1,["mcaptcha::api::v1::notifications::mark_read::MarkReadReq"]],["impl UnwindSafe for mark_read",1,["mcaptcha::api::v1::notifications::mark_read::mark_read"]],["impl UnwindSafe for Notifications",1,["mcaptcha::api::v1::notifications::routes::Notifications"]],["impl UnwindSafe for GetConfigPayload",1,["mcaptcha::api::v1::pow::get_config::GetConfigPayload"]],["impl UnwindSafe for get_config",1,["mcaptcha::api::v1::pow::get_config::get_config"]],["impl UnwindSafe for ValidationToken",1,["mcaptcha::api::v1::pow::verify_pow::ValidationToken"]],["impl UnwindSafe for verify_pow",1,["mcaptcha::api::v1::pow::verify_pow::verify_pow"]],["impl UnwindSafe for CaptchaValidateResp",1,["mcaptcha::api::v1::pow::verify_token::CaptchaValidateResp"]],["impl UnwindSafe for VerifyCaptchaResultPayload",1,["mcaptcha::api::v1::pow::verify_token::VerifyCaptchaResultPayload"]],["impl UnwindSafe for validate_captcha_token",1,["mcaptcha::api::v1::pow::verify_token::validate_captcha_token"]],["impl UnwindSafe for PoW",1,["mcaptcha::api::v1::pow::routes::PoW"]],["impl UnwindSafe for Routes",1,["mcaptcha::api::v1::routes::Routes"]],["impl UnwindSafe for RedirectQuery",1,["mcaptcha::api::v1::RedirectQuery"]],["impl !UnwindSafe for SystemGroup",1,["mcaptcha::data::SystemGroup"]],["impl !UnwindSafe for Data",1,["mcaptcha::data::Data"]],["impl UnwindSafe for Date",1,["mcaptcha::date::Date"]],["impl UnwindSafe for DemoUser",1,["mcaptcha::demo::DemoUser"]],["impl UnwindSafe for Docs",1,["mcaptcha::docs::routes::Docs"]],["impl UnwindSafe for Asset",1,["mcaptcha::docs::Asset"]],["impl UnwindSafe for dist",1,["mcaptcha::docs::dist"]],["impl UnwindSafe for spec",1,["mcaptcha::docs::spec"]],["impl UnwindSafe for index",1,["mcaptcha::docs::index"]],["impl<'a> UnwindSafe for IndexPage<'a>",1,["mcaptcha::email::verification::IndexPage"]],["impl !UnwindSafe for SmtpErrorWrapper",1,["mcaptcha::errors::SmtpErrorWrapper"]],["impl !UnwindSafe for DBErrorWrapper",1,["mcaptcha::errors::DBErrorWrapper"]],["impl !UnwindSafe for ServiceError",1,["mcaptcha::errors::ServiceError"]],["impl UnwindSafe for ErrorToResponse",1,["mcaptcha::errors::ErrorToResponse"]],["impl !UnwindSafe for PageError",1,["mcaptcha::errors::PageError"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::auth::login::IndexPage"]],["impl UnwindSafe for INDEX",1,["mcaptcha::pages::auth::login::INDEX"]],["impl UnwindSafe for login",1,["mcaptcha::pages::auth::login::login"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::auth::register::IndexPage"]],["impl UnwindSafe for INDEX",1,["mcaptcha::pages::auth::register::INDEX"]],["impl UnwindSafe for join",1,["mcaptcha::pages::auth::register::join"]],["impl<'a, K, V> UnwindSafe for SudoPage<'a, K, V>where
    K: UnwindSafe,
    V: UnwindSafe,
",1,["mcaptcha::pages::auth::sudo::SudoPage"]],["impl UnwindSafe for Auth",1,["mcaptcha::pages::auth::routes::Auth"]],["impl UnwindSafe for Errors",1,["mcaptcha::pages::errors::routes::Errors"]],["impl<'a> UnwindSafe for ErrorPage<'a>",1,["mcaptcha::pages::errors::ErrorPage"]],["impl UnwindSafe for INTERNAL_SERVER_ERROR_BODY",1,["mcaptcha::pages::errors::INTERNAL_SERVER_ERROR_BODY"]],["impl UnwindSafe for UNKNOWN_ERROR_BODY",1,["mcaptcha::pages::errors::UNKNOWN_ERROR_BODY"]],["impl UnwindSafe for error",1,["mcaptcha::pages::errors::error"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::panel::notifications::IndexPage"]],["impl UnwindSafe for Notification",1,["mcaptcha::pages::panel::notifications::Notification"]],["impl UnwindSafe for notifications",1,["mcaptcha::pages::panel::notifications::notifications"]],["impl UnwindSafe for Settings",1,["mcaptcha::pages::panel::settings::routes::Settings"]],["impl<'a> UnwindSafe for IndexPage<'a>",1,["mcaptcha::pages::panel::settings::IndexPage"]],["impl UnwindSafe for settings",1,["mcaptcha::pages::panel::settings::settings"]],["impl UnwindSafe for delete_account",1,["mcaptcha::pages::panel::settings::delete_account"]],["impl UnwindSafe for update_secret",1,["mcaptcha::pages::panel::settings::update_secret"]],["impl UnwindSafe for ADVANCE_INDEX",1,["mcaptcha::pages::panel::sitekey::add::ADVANCE_INDEX"]],["impl UnwindSafe for EASY_INDEX",1,["mcaptcha::pages::panel::sitekey::add::EASY_INDEX"]],["impl<'a> UnwindSafe for AdvanceIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::AdvanceIndexPage"]],["impl UnwindSafe for advance",1,["mcaptcha::pages::panel::sitekey::add::advance"]],["impl<'a> UnwindSafe for EasyIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::EasyIndexPage"]],["impl UnwindSafe for easy",1,["mcaptcha::pages::panel::sitekey::add::easy"]],["impl UnwindSafe for delete_sitekey",1,["mcaptcha::pages::panel::sitekey::delete::delete_sitekey"]],["impl UnwindSafe for AdvanceEditPage",1,["mcaptcha::pages::panel::sitekey::edit::AdvanceEditPage"]],["impl UnwindSafe for advance",1,["mcaptcha::pages::panel::sitekey::edit::advance"]],["impl<'a> UnwindSafe for EasyEditPage<'a>",1,["mcaptcha::pages::panel::sitekey::edit::EasyEditPage"]],["impl UnwindSafe for easy",1,["mcaptcha::pages::panel::sitekey::edit::easy"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::panel::sitekey::list::IndexPage"]],["impl UnwindSafe for list_sitekeys",1,["mcaptcha::pages::panel::sitekey::list::list_sitekeys"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::panel::sitekey::view::IndexPage"]],["impl UnwindSafe for view_sitekey",1,["mcaptcha::pages::panel::sitekey::view::view_sitekey"]],["impl UnwindSafe for Sitekey",1,["mcaptcha::pages::panel::sitekey::routes::Sitekey"]],["impl UnwindSafe for Panel",1,["mcaptcha::pages::panel::routes::Panel"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::panel::IndexPage"]],["impl UnwindSafe for panel",1,["mcaptcha::pages::panel::panel"]],["impl UnwindSafe for Routes",1,["mcaptcha::pages::routes::Routes"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::sitemap::IndexPage"]],["impl UnwindSafe for INDEX",1,["mcaptcha::pages::sitemap::INDEX"]],["impl UnwindSafe for sitemap",1,["mcaptcha::pages::sitemap::sitemap"]],["impl UnwindSafe for Server",1,["mcaptcha::settings::Server"]],["impl UnwindSafe for Captcha",1,["mcaptcha::settings::Captcha"]],["impl UnwindSafe for DefaultDifficultyStrategy",1,["mcaptcha::settings::DefaultDifficultyStrategy"]],["impl UnwindSafe for Smtp",1,["mcaptcha::settings::Smtp"]],["impl UnwindSafe for DBType",1,["mcaptcha::settings::DBType"]],["impl UnwindSafe for Database",1,["mcaptcha::settings::Database"]],["impl UnwindSafe for Redis",1,["mcaptcha::settings::Redis"]],["impl UnwindSafe for Settings",1,["mcaptcha::settings::Settings"]],["impl UnwindSafe for FileMap",1,["mcaptcha::static_assets::filemap::FileMap"]],["impl UnwindSafe for KEY",1,["mcaptcha::static_assets::static_files::assets::KEY"]],["impl UnwindSafe for GITHUB",1,["mcaptcha::static_assets::static_files::assets::GITHUB"]],["impl UnwindSafe for HOME",1,["mcaptcha::static_assets::static_files::assets::HOME"]],["impl UnwindSafe for SETTINGS_ICON",1,["mcaptcha::static_assets::static_files::assets::SETTINGS_ICON"]],["impl UnwindSafe for CREDIT_CARD",1,["mcaptcha::static_assets::static_files::assets::CREDIT_CARD"]],["impl UnwindSafe for HELP_CIRCLE",1,["mcaptcha::static_assets::static_files::assets::HELP_CIRCLE"]],["impl UnwindSafe for MESSAGE",1,["mcaptcha::static_assets::static_files::assets::MESSAGE"]],["impl UnwindSafe for DOCS_ICON",1,["mcaptcha::static_assets::static_files::assets::DOCS_ICON"]],["impl UnwindSafe for MCAPTCHA_TRANS_ICON",1,["mcaptcha::static_assets::static_files::assets::MCAPTCHA_TRANS_ICON"]],["impl UnwindSafe for BAR_CHART",1,["mcaptcha::static_assets::static_files::assets::BAR_CHART"]],["impl UnwindSafe for Asset",1,["mcaptcha::static_assets::static_files::Asset"]],["impl UnwindSafe for static_files",1,["mcaptcha::static_assets::static_files::static_files"]],["impl UnwindSafe for Favicons",1,["mcaptcha::static_assets::static_files::Favicons"]],["impl UnwindSafe for favicons",1,["mcaptcha::static_assets::static_files::favicons"]],["impl UnwindSafe for CaptchaStats",1,["mcaptcha::stats::CaptchaStats"]],["impl UnwindSafe for Real",1,["mcaptcha::stats::Real"]],["impl UnwindSafe for Dummy",1,["mcaptcha::stats::Dummy"]],["impl UnwindSafe for Widget",1,["mcaptcha::widget::routes::Widget"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::widget::IndexPage"]],["impl UnwindSafe for INDEX_PAGE",1,["mcaptcha::widget::INDEX_PAGE"]],["impl UnwindSafe for show_widget",1,["mcaptcha::widget::show_widget"]],["impl UnwindSafe for SETTINGS",1,["mcaptcha::SETTINGS"]],["impl UnwindSafe for FILES",1,["mcaptcha::FILES"]],["impl UnwindSafe for JS",1,["mcaptcha::JS"]],["impl UnwindSafe for CSS",1,["mcaptcha::CSS"]],["impl UnwindSafe for MOBILE_CSS",1,["mcaptcha::MOBILE_CSS"]],["impl UnwindSafe for VERIFICATIN_WIDGET_JS",1,["mcaptcha::VERIFICATIN_WIDGET_JS"]],["impl UnwindSafe for VERIFICATIN_WIDGET_CSS",1,["mcaptcha::VERIFICATIN_WIDGET_CSS"]],["impl UnwindSafe for SOURCE_FILES_OF_INSTANCE",1,["mcaptcha::SOURCE_FILES_OF_INSTANCE"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/sailfish/private/trait.Sealed.js b/implementors/sailfish/private/trait.Sealed.js index dda6cefe..787c074b 100644 --- a/implementors/sailfish/private/trait.Sealed.js +++ b/implementors/sailfish/private/trait.Sealed.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"mcaptcha":[["impl<'a> Sealed for IndexPage<'a>"],["impl Sealed for IndexPage"],["impl Sealed for IndexPage"],["impl<'a, K, V> Sealed for SudoPage<'a, K, V>where
    K: Display + Render,
    V: Display + Render,
"],["impl<'a> Sealed for ErrorPage<'a>"],["impl Sealed for IndexPage"],["impl<'a> Sealed for IndexPage<'a>"],["impl<'a> Sealed for AdvanceIndexPage<'a>"],["impl<'a> Sealed for EasyIndexPage<'a>"],["impl Sealed for AdvanceEditPage"],["impl<'a> Sealed for EasyEditPage<'a>"],["impl Sealed for IndexPage"],["impl Sealed for IndexPage"],["impl Sealed for IndexPage"],["impl Sealed for IndexPage"],["impl Sealed for IndexPage"]] +"mcaptcha":[["impl<'a> Sealed for IndexPage<'a>"],["impl Sealed for IndexPage"],["impl Sealed for IndexPage"],["impl<'a, K, V> Sealed for SudoPage<'a, K, V>where
    K: Display + Render,
    V: Display + Render,
"],["impl<'a> Sealed for ErrorPage<'a>"],["impl Sealed for IndexPage"],["impl<'a> Sealed for IndexPage<'a>"],["impl<'a> Sealed for AdvanceIndexPage<'a>"],["impl<'a> Sealed for EasyIndexPage<'a>"],["impl Sealed for AdvanceEditPage"],["impl<'a> Sealed for EasyEditPage<'a>"],["impl Sealed for IndexPage"],["impl Sealed for IndexPage"],["impl Sealed for IndexPage"],["impl Sealed for IndexPage"],["impl Sealed for IndexPage"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/sailfish/trait.TemplateOnce.js b/implementors/sailfish/trait.TemplateOnce.js index 7864468f..e94b7dd1 100644 --- a/implementors/sailfish/trait.TemplateOnce.js +++ b/implementors/sailfish/trait.TemplateOnce.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"mcaptcha":[["impl<'a> TemplateOnce for IndexPage<'a>"],["impl TemplateOnce for IndexPage"],["impl TemplateOnce for IndexPage"],["impl<'a, K, V> TemplateOnce for SudoPage<'a, K, V>where
    K: Display + Render,
    V: Display + Render,
"],["impl<'a> TemplateOnce for ErrorPage<'a>"],["impl TemplateOnce for IndexPage"],["impl<'a> TemplateOnce for IndexPage<'a>"],["impl<'a> TemplateOnce for AdvanceIndexPage<'a>"],["impl<'a> TemplateOnce for EasyIndexPage<'a>"],["impl TemplateOnce for AdvanceEditPage"],["impl<'a> TemplateOnce for EasyEditPage<'a>"],["impl TemplateOnce for IndexPage"],["impl TemplateOnce for IndexPage"],["impl TemplateOnce for IndexPage"],["impl TemplateOnce for IndexPage"],["impl TemplateOnce for IndexPage"]] +"mcaptcha":[["impl<'a> TemplateOnce for IndexPage<'a>"],["impl TemplateOnce for IndexPage"],["impl TemplateOnce for IndexPage"],["impl<'a, K, V> TemplateOnce for SudoPage<'a, K, V>where
    K: Display + Render,
    V: Display + Render,
"],["impl<'a> TemplateOnce for ErrorPage<'a>"],["impl TemplateOnce for IndexPage"],["impl<'a> TemplateOnce for IndexPage<'a>"],["impl<'a> TemplateOnce for AdvanceIndexPage<'a>"],["impl<'a> TemplateOnce for EasyIndexPage<'a>"],["impl TemplateOnce for AdvanceEditPage"],["impl<'a> TemplateOnce for EasyEditPage<'a>"],["impl TemplateOnce for IndexPage"],["impl TemplateOnce for IndexPage"],["impl TemplateOnce for IndexPage"],["impl TemplateOnce for IndexPage"],["impl TemplateOnce for IndexPage"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/mcaptcha/all.html b/mcaptcha/all.html index 08dae7f4..fbc4a032 100644 --- a/mcaptcha/all.html +++ b/mcaptcha/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Structs

Enums

Traits

Macros

Functions

Type Definitions

Constants

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

List of all items

Structs

Enums

Traits

Macros

Functions

Type Definitions

Constants

\ No newline at end of file diff --git a/mcaptcha/api/index.html b/mcaptcha/api/index.html index 8d5aa748..3b483fcc 100644 --- a/mcaptcha/api/index.html +++ b/mcaptcha/api/index.html @@ -1 +1 @@ -mcaptcha::api - Rust

Module mcaptcha::api

source ·

Modules

\ No newline at end of file +mcaptcha::api - Rust

Module mcaptcha::api

source ·

Modules

\ No newline at end of file diff --git a/mcaptcha/api/v1/account/delete/fn.services.html b/mcaptcha/api/v1/account/delete/fn.services.html index 1c311631..7953e031 100644 --- a/mcaptcha/api/v1/account/delete/fn.services.html +++ b/mcaptcha/api/v1/account/delete/fn.services.html @@ -1 +1 @@ -services in mcaptcha::api::v1::account::delete - Rust

Function mcaptcha::api::v1::account::delete::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::api::v1::account::delete - Rust

Function mcaptcha::api::v1::account::delete::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/delete/index.html b/mcaptcha/api/v1/account/delete/index.html index 2b06b4cd..c64d7d65 100644 --- a/mcaptcha/api/v1/account/delete/index.html +++ b/mcaptcha/api/v1/account/delete/index.html @@ -1 +1 @@ -mcaptcha::api::v1::account::delete - Rust
\ No newline at end of file +mcaptcha::api::v1::account::delete - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/delete/runners/fn.delete_user.html b/mcaptcha/api/v1/account/delete/runners/fn.delete_user.html index 915aef6a..8e0f9794 100644 --- a/mcaptcha/api/v1/account/delete/runners/fn.delete_user.html +++ b/mcaptcha/api/v1/account/delete/runners/fn.delete_user.html @@ -1 +1 @@ -delete_user in mcaptcha::api::v1::account::delete::runners - Rust
pub async fn delete_user(name: &str, data: &AppData) -> Result<(), ServiceError>
\ No newline at end of file +delete_user in mcaptcha::api::v1::account::delete::runners - Rust
pub async fn delete_user(name: &str, data: &AppData) -> Result<(), ServiceError>
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/delete/runners/index.html b/mcaptcha/api/v1/account/delete/runners/index.html index 8b6964c5..cb9e3024 100644 --- a/mcaptcha/api/v1/account/delete/runners/index.html +++ b/mcaptcha/api/v1/account/delete/runners/index.html @@ -1 +1 @@ -mcaptcha::api::v1::account::delete::runners - Rust
\ No newline at end of file +mcaptcha::api::v1::account::delete::runners - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/delete/struct.delete_account.html b/mcaptcha/api/v1/account/delete/struct.delete_account.html index db1e3c01..dc2661fc 100644 --- a/mcaptcha/api/v1/account/delete/struct.delete_account.html +++ b/mcaptcha/api/v1/account/delete/struct.delete_account.html @@ -1,9 +1,9 @@ -delete_account in mcaptcha::api::v1::account::delete - Rust
pub struct delete_account;

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

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

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

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

Calls U::from(self).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/email/fn.services.html b/mcaptcha/api/v1/account/email/fn.services.html index f997a0cb..426cc556 100644 --- a/mcaptcha/api/v1/account/email/fn.services.html +++ b/mcaptcha/api/v1/account/email/fn.services.html @@ -1 +1 @@ -services in mcaptcha::api::v1::account::email - Rust

Function mcaptcha::api::v1::account::email::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::api::v1::account::email - Rust

Function mcaptcha::api::v1::account::email::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/email/index.html b/mcaptcha/api/v1/account/email/index.html index fecfa073..976a4db3 100644 --- a/mcaptcha/api/v1/account/email/index.html +++ b/mcaptcha/api/v1/account/email/index.html @@ -1 +1 @@ -mcaptcha::api::v1::account::email - Rust
\ No newline at end of file +mcaptcha::api::v1::account::email - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/email/struct.Email.html b/mcaptcha/api/v1/account/email/struct.Email.html index aabade01..691cdb70 100644 --- a/mcaptcha/api/v1/account/email/struct.Email.html +++ b/mcaptcha/api/v1/account/email/struct.Email.html @@ -1,11 +1,11 @@ Email in mcaptcha::api::v1::account::email - Rust

Struct mcaptcha::api::v1::account::email::Email

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

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

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/email/struct.email_exists.html b/mcaptcha/api/v1/account/email/struct.email_exists.html index 0b605fa4..533b998c 100644 --- a/mcaptcha/api/v1/account/email/struct.email_exists.html +++ b/mcaptcha/api/v1/account/email/struct.email_exists.html @@ -1,9 +1,9 @@ -email_exists in mcaptcha::api::v1::account::email - Rust
pub struct email_exists;

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

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

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

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

Calls U::from(self).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/email/struct.set_email.html b/mcaptcha/api/v1/account/email/struct.set_email.html index 6f3909d5..1b237c41 100644 --- a/mcaptcha/api/v1/account/email/struct.set_email.html +++ b/mcaptcha/api/v1/account/email/struct.set_email.html @@ -1,10 +1,10 @@ set_email in mcaptcha::api::v1::account::email - Rust
pub struct set_email;
Expand description

update email

-

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

+

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/fn.services.html b/mcaptcha/api/v1/account/fn.services.html index 2be61563..9c8de9ec 100644 --- a/mcaptcha/api/v1/account/fn.services.html +++ b/mcaptcha/api/v1/account/fn.services.html @@ -1 +1 @@ -services in mcaptcha::api::v1::account - Rust

Function mcaptcha::api::v1::account::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::api::v1::account - Rust

Function mcaptcha::api::v1::account::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/index.html b/mcaptcha/api/v1/account/index.html index 11263d16..a4363e58 100644 --- a/mcaptcha/api/v1/account/index.html +++ b/mcaptcha/api/v1/account/index.html @@ -1 +1 @@ -mcaptcha::api::v1::account - Rust
\ No newline at end of file +mcaptcha::api::v1::account - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/password/fn.services.html b/mcaptcha/api/v1/account/password/fn.services.html index f0e2b062..c2b3080c 100644 --- a/mcaptcha/api/v1/account/password/fn.services.html +++ b/mcaptcha/api/v1/account/password/fn.services.html @@ -1 +1 @@ -services in mcaptcha::api::v1::account::password - Rust

Function mcaptcha::api::v1::account::password::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::api::v1::account::password - Rust

Function mcaptcha::api::v1::account::password::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/password/fn.update_password_runner.html b/mcaptcha/api/v1/account/password/fn.update_password_runner.html index f3a899cf..2e39251d 100644 --- a/mcaptcha/api/v1/account/password/fn.update_password_runner.html +++ b/mcaptcha/api/v1/account/password/fn.update_password_runner.html @@ -1 +1 @@ -update_password_runner in mcaptcha::api::v1::account::password - Rust
async fn update_password_runner(
    user: &str,
    update: UpdatePassword,
    data: &Data
) -> Result<(), ServiceError>
\ No newline at end of file +update_password_runner in mcaptcha::api::v1::account::password - Rust
async fn update_password_runner(
    user: &str,
    update: UpdatePassword,
    data: &Data
) -> Result<(), ServiceError>
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/password/index.html b/mcaptcha/api/v1/account/password/index.html index c4a49983..91719f01 100644 --- a/mcaptcha/api/v1/account/password/index.html +++ b/mcaptcha/api/v1/account/password/index.html @@ -1 +1 @@ -mcaptcha::api::v1::account::password - Rust
\ No newline at end of file +mcaptcha::api::v1::account::password - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/password/struct.ChangePasswordReqest.html b/mcaptcha/api/v1/account/password/struct.ChangePasswordReqest.html index 7abfe095..184b6aaf 100644 --- a/mcaptcha/api/v1/account/password/struct.ChangePasswordReqest.html +++ b/mcaptcha/api/v1/account/password/struct.ChangePasswordReqest.html @@ -1,13 +1,13 @@ ChangePasswordReqest in mcaptcha::api::v1::account::password - Rust
pub struct ChangePasswordReqest {
-    pub password: String,
-    pub new_password: String,
-    pub confirm_new_password: String,
-}

Fields§

§password: String§new_password: String§confirm_new_password: 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
Converts to this type from the input type.
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 password: String, + pub new_password: String, + pub confirm_new_password: String, +}

Fields§

§password: String§new_password: String§confirm_new_password: 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
Converts to this type from the input type.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/password/struct.UpdatePassword.html b/mcaptcha/api/v1/account/password/struct.UpdatePassword.html index 8b8ee860..4f56a76b 100644 --- a/mcaptcha/api/v1/account/password/struct.UpdatePassword.html +++ b/mcaptcha/api/v1/account/password/struct.UpdatePassword.html @@ -1,12 +1,12 @@ UpdatePassword in mcaptcha::api::v1::account::password - Rust
pub struct UpdatePassword {
-    pub new_password: String,
-    pub confirm_new_password: String,
-}

Fields§

§new_password: String§confirm_new_password: String

Trait Implementations§

Converts to this type from the input type.

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 new_password: String, + pub confirm_new_password: String, +}

Fields§

§new_password: String§confirm_new_password: String

Trait Implementations§

Converts to this type from the input type.

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/password/struct.update_user_password.html b/mcaptcha/api/v1/account/password/struct.update_user_password.html index 64f88eaa..8e2f1025 100644 --- a/mcaptcha/api/v1/account/password/struct.update_user_password.html +++ b/mcaptcha/api/v1/account/password/struct.update_user_password.html @@ -1,9 +1,9 @@ -update_user_password in mcaptcha::api::v1::account::password - Rust
pub struct update_user_password;

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

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

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

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

Calls U::from(self).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/routes/index.html b/mcaptcha/api/v1/account/routes/index.html index 7aa8ba55..20e5b096 100644 --- a/mcaptcha/api/v1/account/routes/index.html +++ b/mcaptcha/api/v1/account/routes/index.html @@ -1 +1 @@ -mcaptcha::api::v1::account::routes - Rust
\ No newline at end of file +mcaptcha::api::v1::account::routes - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/routes/struct.Account.html b/mcaptcha/api/v1/account/routes/struct.Account.html index 3a13ce86..3aab0007 100644 --- a/mcaptcha/api/v1/account/routes/struct.Account.html +++ b/mcaptcha/api/v1/account/routes/struct.Account.html @@ -1,18 +1,18 @@ Account in mcaptcha::api::v1::account::routes - Rust

Struct mcaptcha::api::v1::account::routes::Account

source ·
pub struct Account {
-    pub delete: &'static str,
-    pub email_exists: &'static str,
-    pub get_secret: &'static str,
-    pub update_email: &'static str,
-    pub update_password: &'static str,
-    pub update_secret: &'static str,
-    pub username_exists: &'static str,
-    pub update_username: &'static str,
-}

Fields§

§delete: &'static str§email_exists: &'static str§get_secret: &'static str§update_email: &'static str§update_password: &'static str§update_secret: &'static str§username_exists: &'static str§update_username: &'static str

Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

+ pub delete: &'static str, + pub email_exists: &'static str, + pub get_secret: &'static str, + pub update_email: &'static str, + pub update_password: &'static str, + pub update_secret: &'static str, + pub username_exists: &'static str, + pub update_username: &'static str, +}

Fields§

§delete: &'static str§email_exists: &'static str§get_secret: &'static str§update_email: &'static str§update_password: &'static str§update_secret: &'static str§username_exists: &'static str§update_username: &'static str

Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

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

Calls U::from(self).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/secret/fn.services.html b/mcaptcha/api/v1/account/secret/fn.services.html index 6e7aaf2a..0f9323f9 100644 --- a/mcaptcha/api/v1/account/secret/fn.services.html +++ b/mcaptcha/api/v1/account/secret/fn.services.html @@ -1 +1 @@ -services in mcaptcha::api::v1::account::secret - Rust

Function mcaptcha::api::v1::account::secret::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::api::v1::account::secret - Rust

Function mcaptcha::api::v1::account::secret::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/secret/index.html b/mcaptcha/api/v1/account/secret/index.html index 9195d3ac..c206514e 100644 --- a/mcaptcha/api/v1/account/secret/index.html +++ b/mcaptcha/api/v1/account/secret/index.html @@ -1 +1 @@ -mcaptcha::api::v1::account::secret - Rust
\ No newline at end of file +mcaptcha::api::v1::account::secret - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/secret/struct.get_secret.html b/mcaptcha/api/v1/account/secret/struct.get_secret.html index 1e0d3671..1e757e8c 100644 --- a/mcaptcha/api/v1/account/secret/struct.get_secret.html +++ b/mcaptcha/api/v1/account/secret/struct.get_secret.html @@ -1,9 +1,9 @@ -get_secret in mcaptcha::api::v1::account::secret - Rust
pub struct get_secret;

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_secret in mcaptcha::api::v1::account::secret - Rust
pub struct get_secret;

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/secret/struct.update_user_secret.html b/mcaptcha/api/v1/account/secret/struct.update_user_secret.html index 4717f878..2e1407ef 100644 --- a/mcaptcha/api/v1/account/secret/struct.update_user_secret.html +++ b/mcaptcha/api/v1/account/secret/struct.update_user_secret.html @@ -1,9 +1,9 @@ -update_user_secret in mcaptcha::api::v1::account::secret - Rust
pub struct update_user_secret;

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

+update_user_secret in mcaptcha::api::v1::account::secret - Rust
pub struct update_user_secret;

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/struct.AccountCheckPayload.html b/mcaptcha/api/v1/account/struct.AccountCheckPayload.html index 0f35d097..2f5a2f44 100644 --- a/mcaptcha/api/v1/account/struct.AccountCheckPayload.html +++ b/mcaptcha/api/v1/account/struct.AccountCheckPayload.html @@ -1,11 +1,11 @@ AccountCheckPayload in mcaptcha::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.

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

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/struct.AccountCheckResp.html b/mcaptcha/api/v1/account/struct.AccountCheckResp.html index a53f00ae..ad872425 100644 --- a/mcaptcha/api/v1/account/struct.AccountCheckResp.html +++ b/mcaptcha/api/v1/account/struct.AccountCheckResp.html @@ -1,11 +1,11 @@ AccountCheckResp in mcaptcha::api::v1::account - Rust
pub struct AccountCheckResp {
-    pub exists: bool,
-}

Fields§

§exists: 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.

+ pub exists: bool, +}

Fields§

§exists: 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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/username/fn.services.html b/mcaptcha/api/v1/account/username/fn.services.html index 759b7028..3ff985f6 100644 --- a/mcaptcha/api/v1/account/username/fn.services.html +++ b/mcaptcha/api/v1/account/username/fn.services.html @@ -1 +1 @@ -services in mcaptcha::api::v1::account::username - Rust

Function mcaptcha::api::v1::account::username::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::api::v1::account::username - Rust

Function mcaptcha::api::v1::account::username::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/username/index.html b/mcaptcha/api/v1/account/username/index.html index 09b39cb2..a44d21ba 100644 --- a/mcaptcha/api/v1/account/username/index.html +++ b/mcaptcha/api/v1/account/username/index.html @@ -1 +1 @@ -mcaptcha::api::v1::account::username - Rust
\ No newline at end of file +mcaptcha::api::v1::account::username - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/username/runners/fn.username_exists.html b/mcaptcha/api/v1/account/username/runners/fn.username_exists.html index 3af888ef..c0d93e7a 100644 --- a/mcaptcha/api/v1/account/username/runners/fn.username_exists.html +++ b/mcaptcha/api/v1/account/username/runners/fn.username_exists.html @@ -1 +1 @@ -username_exists in mcaptcha::api::v1::account::username::runners - Rust
pub async fn username_exists(
    payload: &AccountCheckPayload,
    data: &AppData
) -> Result<AccountCheckResp, ServiceError>
\ No newline at end of file +username_exists in mcaptcha::api::v1::account::username::runners - Rust
pub async fn username_exists(
    payload: &AccountCheckPayload,
    data: &AppData
) -> Result<AccountCheckResp, ServiceError>
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/username/runners/index.html b/mcaptcha/api/v1/account/username/runners/index.html index 877f912e..6ebbc1b2 100644 --- a/mcaptcha/api/v1/account/username/runners/index.html +++ b/mcaptcha/api/v1/account/username/runners/index.html @@ -1 +1 @@ -mcaptcha::api::v1::account::username::runners - Rust
\ No newline at end of file +mcaptcha::api::v1::account::username::runners - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/username/struct.Username.html b/mcaptcha/api/v1/account/username/struct.Username.html index a9d6e6c5..6600f147 100644 --- a/mcaptcha/api/v1/account/username/struct.Username.html +++ b/mcaptcha/api/v1/account/username/struct.Username.html @@ -1,11 +1,11 @@ Username in mcaptcha::api::v1::account::username - 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.

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

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/username/struct.set_username.html b/mcaptcha/api/v1/account/username/struct.set_username.html index d00e1706..88651bac 100644 --- a/mcaptcha/api/v1/account/username/struct.set_username.html +++ b/mcaptcha/api/v1/account/username/struct.set_username.html @@ -1,10 +1,10 @@ set_username in mcaptcha::api::v1::account::username - Rust
pub struct set_username;
Expand description

update username

-

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.

+

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/username/struct.username_exists.html b/mcaptcha/api/v1/account/username/struct.username_exists.html index af86e907..030b7288 100644 --- a/mcaptcha/api/v1/account/username/struct.username_exists.html +++ b/mcaptcha/api/v1/account/username/struct.username_exists.html @@ -1,9 +1,9 @@ -username_exists in mcaptcha::api::v1::account::username - Rust
pub struct username_exists;

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

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

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

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

Calls U::from(self).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/auth/fn.services.html b/mcaptcha/api/v1/auth/fn.services.html index 8a714fac..aa3b1809 100644 --- a/mcaptcha/api/v1/auth/fn.services.html +++ b/mcaptcha/api/v1/auth/fn.services.html @@ -1 +1 @@ -services in mcaptcha::api::v1::auth - Rust

Function mcaptcha::api::v1::auth::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::api::v1::auth - Rust

Function mcaptcha::api::v1::auth::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/api/v1/auth/index.html b/mcaptcha/api/v1/auth/index.html index fff7a24d..e2584214 100644 --- a/mcaptcha/api/v1/auth/index.html +++ b/mcaptcha/api/v1/auth/index.html @@ -1 +1 @@ -mcaptcha::api::v1::auth - Rust
\ No newline at end of file +mcaptcha::api::v1::auth - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/auth/routes/index.html b/mcaptcha/api/v1/auth/routes/index.html index 0daf3bce..b1582ec6 100644 --- a/mcaptcha/api/v1/auth/routes/index.html +++ b/mcaptcha/api/v1/auth/routes/index.html @@ -1 +1 @@ -mcaptcha::api::v1::auth::routes - Rust
\ No newline at end of file +mcaptcha::api::v1::auth::routes - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/auth/routes/struct.Auth.html b/mcaptcha/api/v1/auth/routes/struct.Auth.html index 0353b747..299fe7b7 100644 --- a/mcaptcha/api/v1/auth/routes/struct.Auth.html +++ b/mcaptcha/api/v1/auth/routes/struct.Auth.html @@ -1,13 +1,13 @@ Auth in mcaptcha::api::v1::auth::routes - Rust

Struct mcaptcha::api::v1::auth::routes::Auth

source ·
pub struct Auth {
-    pub logout: &'static str,
-    pub login: &'static str,
-    pub register: &'static str,
-}

Fields§

§logout: &'static str§login: &'static str§register: &'static str

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.

+ pub logout: &'static str, + pub login: &'static str, + pub register: &'static str, +}

Fields§

§logout: &'static str§login: &'static str§register: &'static str

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/auth/runners/fn.login_runner.html b/mcaptcha/api/v1/auth/runners/fn.login_runner.html index fb304cff..354a9915 100644 --- a/mcaptcha/api/v1/auth/runners/fn.login_runner.html +++ b/mcaptcha/api/v1/auth/runners/fn.login_runner.html @@ -1,2 +1,2 @@ -login_runner in mcaptcha::api::v1::auth::runners - Rust

Function mcaptcha::api::v1::auth::runners::login_runner

source ·
pub async fn login_runner(
    payload: Login,
    data: &AppData
) -> Result<String, ServiceError>
Expand description

returns Ok(()) when everything checks out and the user is authenticated. Errors otherwise

-
\ No newline at end of file +login_runner in mcaptcha::api::v1::auth::runners - Rust

Function mcaptcha::api::v1::auth::runners::login_runner

source ·
pub async fn login_runner(
    payload: Login,
    data: &AppData
) -> Result<String, ServiceError>
Expand description

returns Ok(()) when everything checks out and the user is authenticated. Errors otherwise

+
\ No newline at end of file diff --git a/mcaptcha/api/v1/auth/runners/fn.register_runner.html b/mcaptcha/api/v1/auth/runners/fn.register_runner.html index d94a86a0..123067bc 100644 --- a/mcaptcha/api/v1/auth/runners/fn.register_runner.html +++ b/mcaptcha/api/v1/auth/runners/fn.register_runner.html @@ -1 +1 @@ -register_runner in mcaptcha::api::v1::auth::runners - Rust
pub async fn register_runner(
    payload: &Register,
    data: &AppData
) -> Result<(), ServiceError>
\ No newline at end of file +register_runner in mcaptcha::api::v1::auth::runners - Rust
pub async fn register_runner(
    payload: &Register,
    data: &AppData
) -> Result<(), ServiceError>
\ No newline at end of file diff --git a/mcaptcha/api/v1/auth/runners/index.html b/mcaptcha/api/v1/auth/runners/index.html index e974482d..f5b24641 100644 --- a/mcaptcha/api/v1/auth/runners/index.html +++ b/mcaptcha/api/v1/auth/runners/index.html @@ -1 +1 @@ -mcaptcha::api::v1::auth::runners - Rust

Module mcaptcha::api::v1::auth::runners

source ·

Structs

Functions

returns Ok(()) when everything checks out and the user is authenticated. Errors otherwise
\ No newline at end of file +mcaptcha::api::v1::auth::runners - Rust

Module mcaptcha::api::v1::auth::runners

source ·

Structs

Functions

returns Ok(()) when everything checks out and the user is authenticated. Errors otherwise
\ No newline at end of file diff --git a/mcaptcha/api/v1/auth/runners/struct.Login.html b/mcaptcha/api/v1/auth/runners/struct.Login.html index e9905e12..735d70e7 100644 --- a/mcaptcha/api/v1/auth/runners/struct.Login.html +++ b/mcaptcha/api/v1/auth/runners/struct.Login.html @@ -1,12 +1,12 @@ Login in mcaptcha::api::v1::auth::runners - Rust

Struct mcaptcha::api::v1::auth::runners::Login

source ·
pub struct Login {
-    pub login: String,
-    pub password: String,
-}

Fields§

§login: String§password: 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.

+ pub login: String, + pub password: String, +}

Fields§

§login: String§password: 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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/auth/runners/struct.Password.html b/mcaptcha/api/v1/auth/runners/struct.Password.html index 74165b57..6d9ae1f8 100644 --- a/mcaptcha/api/v1/auth/runners/struct.Password.html +++ b/mcaptcha/api/v1/auth/runners/struct.Password.html @@ -1,11 +1,11 @@ Password in mcaptcha::api::v1::auth::runners - Rust

Struct mcaptcha::api::v1::auth::runners::Password

source ·
pub struct Password {
-    pub password: String,
-}

Fields§

§password: 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.

+ pub password: String, +}

Fields§

§password: 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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/auth/runners/struct.Register.html b/mcaptcha/api/v1/auth/runners/struct.Register.html index 8f4786a2..9ac4b356 100644 --- a/mcaptcha/api/v1/auth/runners/struct.Register.html +++ b/mcaptcha/api/v1/auth/runners/struct.Register.html @@ -1,14 +1,14 @@ Register in mcaptcha::api::v1::auth::runners - Rust

Struct mcaptcha::api::v1::auth::runners::Register

source ·
pub struct Register {
-    pub username: String,
-    pub password: String,
-    pub confirm_password: String,
-    pub email: Option<String>,
-}

Fields§

§username: String§password: String§confirm_password: String§email: 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
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 username: String, + pub password: String, + pub confirm_password: String, + pub email: Option<String>, +}

Fields§

§username: String§password: String§confirm_password: String§email: 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
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/auth/struct.login.html b/mcaptcha/api/v1/auth/struct.login.html index d8579ee8..c14279f2 100644 --- a/mcaptcha/api/v1/auth/struct.login.html +++ b/mcaptcha/api/v1/auth/struct.login.html @@ -1,9 +1,9 @@ -login in mcaptcha::api::v1::auth - Rust

Struct mcaptcha::api::v1::auth::login

source ·
pub struct login;

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

+login in mcaptcha::api::v1::auth - Rust

Struct mcaptcha::api::v1::auth::login

source ·
pub struct login;

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

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

Calls U::from(self).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/auth/struct.register.html b/mcaptcha/api/v1/auth/struct.register.html index 1caf7bff..766e8dfb 100644 --- a/mcaptcha/api/v1/auth/struct.register.html +++ b/mcaptcha/api/v1/auth/struct.register.html @@ -1,9 +1,9 @@ -register in mcaptcha::api::v1::auth - Rust

Struct mcaptcha::api::v1::auth::register

source ·
pub struct register;

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

+register in mcaptcha::api::v1::auth - Rust

Struct mcaptcha::api::v1::auth::register

source ·
pub struct register;

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/auth/struct.signout.html b/mcaptcha/api/v1/auth/struct.signout.html index d7a5cd48..0c2149fd 100644 --- a/mcaptcha/api/v1/auth/struct.signout.html +++ b/mcaptcha/api/v1/auth/struct.signout.html @@ -1,9 +1,9 @@ -signout in mcaptcha::api::v1::auth - Rust

Struct mcaptcha::api::v1::auth::signout

source ·
pub struct signout;

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

+signout in mcaptcha::api::v1::auth - Rust

Struct mcaptcha::api::v1::auth::signout

source ·
pub struct signout;

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

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

Calls U::from(self).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/fn.get_middleware.html b/mcaptcha/api/v1/fn.get_middleware.html index 8e60a8f0..11e9b2a4 100644 --- a/mcaptcha/api/v1/fn.get_middleware.html +++ b/mcaptcha/api/v1/fn.get_middleware.html @@ -1 +1 @@ -get_middleware in mcaptcha::api::v1 - Rust

Function mcaptcha::api::v1::get_middleware

source ·
pub fn get_middleware() -> Authentication<Routes>
\ No newline at end of file +get_middleware in mcaptcha::api::v1 - Rust

Function mcaptcha::api::v1::get_middleware

source ·
pub fn get_middleware() -> Authentication<Routes>
\ No newline at end of file diff --git a/mcaptcha/api/v1/fn.services.html b/mcaptcha/api/v1/fn.services.html index 46218a39..6418ff2b 100644 --- a/mcaptcha/api/v1/fn.services.html +++ b/mcaptcha/api/v1/fn.services.html @@ -1 +1 @@ -services in mcaptcha::api::v1 - Rust

Function mcaptcha::api::v1::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::api::v1 - Rust

Function mcaptcha::api::v1::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/api/v1/index.html b/mcaptcha/api/v1/index.html index 1517902b..d234f825 100644 --- a/mcaptcha/api/v1/index.html +++ b/mcaptcha/api/v1/index.html @@ -1 +1 @@ -mcaptcha::api::v1 - Rust
\ No newline at end of file +mcaptcha::api::v1 - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/create/index.html b/mcaptcha/api/v1/mcaptcha/create/index.html index 4a805a2c..e0d8657f 100644 --- a/mcaptcha/api/v1/mcaptcha/create/index.html +++ b/mcaptcha/api/v1/mcaptcha/create/index.html @@ -1 +1 @@ -mcaptcha::api::v1::mcaptcha::create - Rust
\ No newline at end of file +mcaptcha::api::v1::mcaptcha::create - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/create/runner/fn.create.html b/mcaptcha/api/v1/mcaptcha/create/runner/fn.create.html index e5689aae..8daad7a5 100644 --- a/mcaptcha/api/v1/mcaptcha/create/runner/fn.create.html +++ b/mcaptcha/api/v1/mcaptcha/create/runner/fn.create.html @@ -1 +1 @@ -create in mcaptcha::api::v1::mcaptcha::create::runner - Rust

Function mcaptcha::api::v1::mcaptcha::create::runner::create

source ·
pub async fn create(
    payload: &CreateCaptcha,
    data: &AppData,
    username: &str
) -> Result<MCaptchaDetails, ServiceError>
\ No newline at end of file +create in mcaptcha::api::v1::mcaptcha::create::runner - Rust

Function mcaptcha::api::v1::mcaptcha::create::runner::create

source ·
pub async fn create(
    payload: &CreateCaptcha,
    data: &AppData,
    username: &str
) -> Result<MCaptchaDetails, ServiceError>
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/create/runner/index.html b/mcaptcha/api/v1/mcaptcha/create/runner/index.html index 2acba829..97fb5386 100644 --- a/mcaptcha/api/v1/mcaptcha/create/runner/index.html +++ b/mcaptcha/api/v1/mcaptcha/create/runner/index.html @@ -1 +1 @@ -mcaptcha::api::v1::mcaptcha::create::runner - Rust
\ No newline at end of file +mcaptcha::api::v1::mcaptcha::create::runner - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/create/struct.CreateCaptcha.html b/mcaptcha/api/v1/mcaptcha/create/struct.CreateCaptcha.html index b0ee3f5c..0dafe188 100644 --- a/mcaptcha/api/v1/mcaptcha/create/struct.CreateCaptcha.html +++ b/mcaptcha/api/v1/mcaptcha/create/struct.CreateCaptcha.html @@ -1,13 +1,13 @@ CreateCaptcha in mcaptcha::api::v1::mcaptcha::create - Rust
pub struct CreateCaptcha {
-    pub levels: Vec<Level>,
-    pub duration: u32,
-    pub description: String,
-}

Fields§

§levels: Vec<Level>§duration: u32§description: String

Trait Implementations§

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 levels: Vec<Level>, + pub duration: u32, + pub description: String, +}

Fields§

§levels: Vec<Level>§duration: u32§description: String

Trait Implementations§

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/create/struct.MCaptchaDetails.html b/mcaptcha/api/v1/mcaptcha/create/struct.MCaptchaDetails.html index 45b9f4ac..29a68035 100644 --- a/mcaptcha/api/v1/mcaptcha/create/struct.MCaptchaDetails.html +++ b/mcaptcha/api/v1/mcaptcha/create/struct.MCaptchaDetails.html @@ -1,12 +1,12 @@ MCaptchaDetails in mcaptcha::api::v1::mcaptcha::create - Rust
pub struct MCaptchaDetails {
-    pub name: String,
-    pub key: String,
-}

Fields§

§name: String§key: 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.

+ pub name: String, + pub key: String, +}

Fields§

§name: String§key: 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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/create/struct.create.html b/mcaptcha/api/v1/mcaptcha/create/struct.create.html index 73747025..89c4f5a3 100644 --- a/mcaptcha/api/v1/mcaptcha/create/struct.create.html +++ b/mcaptcha/api/v1/mcaptcha/create/struct.create.html @@ -1,9 +1,9 @@ -create in mcaptcha::api::v1::mcaptcha::create - Rust

Struct mcaptcha::api::v1::mcaptcha::create::create

source ·
pub struct create;

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.

+create in mcaptcha::api::v1::mcaptcha::create - Rust

Struct mcaptcha::api::v1::mcaptcha::create::create

source ·
pub struct create;

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/delete/index.html b/mcaptcha/api/v1/mcaptcha/delete/index.html index f7da1624..8f13bbe1 100644 --- a/mcaptcha/api/v1/mcaptcha/delete/index.html +++ b/mcaptcha/api/v1/mcaptcha/delete/index.html @@ -1 +1 @@ -mcaptcha::api::v1::mcaptcha::delete - Rust
\ No newline at end of file +mcaptcha::api::v1::mcaptcha::delete - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/delete/struct.DeleteCaptcha.html b/mcaptcha/api/v1/mcaptcha/delete/struct.DeleteCaptcha.html index 6e1fe74d..e2d6cffe 100644 --- a/mcaptcha/api/v1/mcaptcha/delete/struct.DeleteCaptcha.html +++ b/mcaptcha/api/v1/mcaptcha/delete/struct.DeleteCaptcha.html @@ -1,12 +1,12 @@ DeleteCaptcha in mcaptcha::api::v1::mcaptcha::delete - Rust
pub struct DeleteCaptcha {
-    pub key: String,
-    pub password: String,
-}

Fields§

§key: String§password: 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.

+ pub key: String, + pub password: String, +}

Fields§

§key: String§password: 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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/delete/struct.delete.html b/mcaptcha/api/v1/mcaptcha/delete/struct.delete.html index ac2f9539..1871ff51 100644 --- a/mcaptcha/api/v1/mcaptcha/delete/struct.delete.html +++ b/mcaptcha/api/v1/mcaptcha/delete/struct.delete.html @@ -1,9 +1,9 @@ -delete in mcaptcha::api::v1::mcaptcha::delete - Rust

Struct mcaptcha::api::v1::mcaptcha::delete::delete

source ·
pub struct delete;

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

+delete in mcaptcha::api::v1::mcaptcha::delete - Rust

Struct mcaptcha::api::v1::mcaptcha::delete::delete

source ·
pub struct delete;

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/easy/fn.calculate.html b/mcaptcha/api/v1/mcaptcha/easy/fn.calculate.html index fb1c715d..422b424f 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/fn.calculate.html +++ b/mcaptcha/api/v1/mcaptcha/easy/fn.calculate.html @@ -1 +1 @@ -calculate in mcaptcha::api::v1::mcaptcha::easy - Rust

Function mcaptcha::api::v1::mcaptcha::easy::calculate

source ·
pub fn calculate(
    tp: &TrafficPattern,
    strategy: &DefaultDifficultyStrategy
) -> Result<Vec<Level>, ServiceError>
\ No newline at end of file +calculate in mcaptcha::api::v1::mcaptcha::easy - Rust

Function mcaptcha::api::v1::mcaptcha::easy::calculate

source ·
pub fn calculate(
    tp: &TrafficPattern,
    strategy: &DefaultDifficultyStrategy
) -> Result<Vec<Level>, ServiceError>
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/easy/fn.services.html b/mcaptcha/api/v1/mcaptcha/easy/fn.services.html index d3d3c0fa..78969d51 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/fn.services.html +++ b/mcaptcha/api/v1/mcaptcha/easy/fn.services.html @@ -1 +1 @@ -services in mcaptcha::api::v1::mcaptcha::easy - Rust

Function mcaptcha::api::v1::mcaptcha::easy::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::api::v1::mcaptcha::easy - Rust

Function mcaptcha::api::v1::mcaptcha::easy::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/easy/index.html b/mcaptcha/api/v1/mcaptcha/easy/index.html index bc5d00b1..25c9a156 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/index.html +++ b/mcaptcha/api/v1/mcaptcha/easy/index.html @@ -1 +1 @@ -mcaptcha::api::v1::mcaptcha::easy - Rust

Module mcaptcha::api::v1::mcaptcha::easy

source ·

Modules

Structs

User’s traffic pattern; used in generating a captcha configuration

Functions

\ No newline at end of file +mcaptcha::api::v1::mcaptcha::easy - Rust

Module mcaptcha::api::v1::mcaptcha::easy

source ·

Modules

Structs

User’s traffic pattern; used in generating a captcha configuration

Functions

\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/easy/routes/index.html b/mcaptcha/api/v1/mcaptcha/easy/routes/index.html index 0741f438..14e65daa 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/routes/index.html +++ b/mcaptcha/api/v1/mcaptcha/easy/routes/index.html @@ -1 +1 @@ -mcaptcha::api::v1::mcaptcha::easy::routes - Rust
\ No newline at end of file +mcaptcha::api::v1::mcaptcha::easy::routes - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/easy/routes/struct.Easy.html b/mcaptcha/api/v1/mcaptcha/easy/routes/struct.Easy.html index 2ae1b6cc..54d967e6 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/routes/struct.Easy.html +++ b/mcaptcha/api/v1/mcaptcha/easy/routes/struct.Easy.html @@ -1,13 +1,13 @@ Easy in mcaptcha::api::v1::mcaptcha::easy::routes - Rust

Struct mcaptcha::api::v1::mcaptcha::easy::routes::Easy

source ·
pub struct Easy {
-    pub create: &'static str,
-    pub update: &'static str,
-}

Fields§

§create: &'static str

easy is using defaults

-
§update: &'static str

Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

+ pub create: &'static str, + pub update: &'static str, +}

Fields§

§create: &'static str

easy is using defaults

+
§update: &'static str

Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

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

Calls U::from(self).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/easy/struct.TrafficPatternRequest.html b/mcaptcha/api/v1/mcaptcha/easy/struct.TrafficPatternRequest.html index a5719af4..473af967 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/struct.TrafficPatternRequest.html +++ b/mcaptcha/api/v1/mcaptcha/easy/struct.TrafficPatternRequest.html @@ -1,19 +1,19 @@ TrafficPatternRequest in mcaptcha::api::v1::mcaptcha::easy - Rust
pub struct TrafficPatternRequest {
-    pub avg_traffic: u32,
-    pub peak_sustainable_traffic: u32,
-    pub broke_my_site_traffic: Option<u32>,
-    pub description: String,
+    pub avg_traffic: u32,
+    pub peak_sustainable_traffic: u32,
+    pub broke_my_site_traffic: Option<u32>,
+    pub description: String,
 }
Expand description

User’s traffic pattern; used in generating a captcha configuration

-

Fields§

§avg_traffic: u32

average traffic of user’s website

-
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

-
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

-
§description: String

Captcha description

-

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
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
Converts to this type from the input type.
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§

§avg_traffic: u32

average traffic of user’s website

+
§peak_sustainable_traffic: u32

the peak traffic that the user’s website can handle

+
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

+
§description: String

Captcha description

+

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
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
Converts to this type from the input type.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/easy/struct.UpdateTrafficPattern.html b/mcaptcha/api/v1/mcaptcha/easy/struct.UpdateTrafficPattern.html index 00fa4468..98d69e0f 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/struct.UpdateTrafficPattern.html +++ b/mcaptcha/api/v1/mcaptcha/easy/struct.UpdateTrafficPattern.html @@ -1,12 +1,12 @@ UpdateTrafficPattern in mcaptcha::api::v1::mcaptcha::easy - Rust
pub struct UpdateTrafficPattern {
     pub pattern: TrafficPatternRequest,
-    pub key: String,
-}

Fields§

§pattern: TrafficPatternRequest§key: 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.

+ pub key: String, +}

Fields§

§pattern: TrafficPatternRequest§key: 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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/easy/struct.create.html b/mcaptcha/api/v1/mcaptcha/easy/struct.create.html index 901aea15..744a68aa 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/struct.create.html +++ b/mcaptcha/api/v1/mcaptcha/easy/struct.create.html @@ -1,9 +1,9 @@ -create in mcaptcha::api::v1::mcaptcha::easy - Rust

Struct mcaptcha::api::v1::mcaptcha::easy::create

source ·
pub struct create;

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.

+create in mcaptcha::api::v1::mcaptcha::easy - Rust

Struct mcaptcha::api::v1::mcaptcha::easy::create

source ·
pub struct create;

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/easy/struct.update.html b/mcaptcha/api/v1/mcaptcha/easy/struct.update.html index 186b97cc..66c35acf 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/struct.update.html +++ b/mcaptcha/api/v1/mcaptcha/easy/struct.update.html @@ -1,9 +1,9 @@ -update in mcaptcha::api::v1::mcaptcha::easy - Rust

Struct mcaptcha::api::v1::mcaptcha::easy::update

source ·
pub struct update;

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

+update in mcaptcha::api::v1::mcaptcha::easy - Rust

Struct mcaptcha::api::v1::mcaptcha::easy::update

source ·
pub struct update;

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/fn.get_random.html b/mcaptcha/api/v1/mcaptcha/fn.get_random.html index f86d1bf0..c9052959 100644 --- a/mcaptcha/api/v1/mcaptcha/fn.get_random.html +++ b/mcaptcha/api/v1/mcaptcha/fn.get_random.html @@ -1 +1 @@ -get_random in mcaptcha::api::v1::mcaptcha - Rust

Function mcaptcha::api::v1::mcaptcha::get_random

source ·
pub fn get_random(len: usize) -> String
\ No newline at end of file +get_random in mcaptcha::api::v1::mcaptcha - Rust

Function mcaptcha::api::v1::mcaptcha::get_random

source ·
pub fn get_random(len: usize) -> String
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/fn.services.html b/mcaptcha/api/v1/mcaptcha/fn.services.html index 84ba7a90..6bdfc406 100644 --- a/mcaptcha/api/v1/mcaptcha/fn.services.html +++ b/mcaptcha/api/v1/mcaptcha/fn.services.html @@ -1 +1 @@ -services in mcaptcha::api::v1::mcaptcha - Rust

Function mcaptcha::api::v1::mcaptcha::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::api::v1::mcaptcha - Rust

Function mcaptcha::api::v1::mcaptcha::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/get/index.html b/mcaptcha/api/v1/mcaptcha/get/index.html index ba73d6c7..7d88584d 100644 --- a/mcaptcha/api/v1/mcaptcha/get/index.html +++ b/mcaptcha/api/v1/mcaptcha/get/index.html @@ -1 +1 @@ -mcaptcha::api::v1::mcaptcha::get - Rust
\ No newline at end of file +mcaptcha::api::v1::mcaptcha::get - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/get/struct.I32Levels.html b/mcaptcha/api/v1/mcaptcha/get/struct.I32Levels.html index 8bcd8df6..bb3d2703 100644 --- a/mcaptcha/api/v1/mcaptcha/get/struct.I32Levels.html +++ b/mcaptcha/api/v1/mcaptcha/get/struct.I32Levels.html @@ -1,12 +1,12 @@ I32Levels in mcaptcha::api::v1::mcaptcha::get - Rust

Struct mcaptcha::api::v1::mcaptcha::get::I32Levels

source ·
pub struct I32Levels {
-    pub difficulty_factor: i32,
-    pub visitor_threshold: i32,
-}

Fields§

§difficulty_factor: i32§visitor_threshold: i32

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 difficulty_factor: i32, + pub visitor_threshold: i32, +}

Fields§

§difficulty_factor: i32§visitor_threshold: i32

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/get/struct.Levels.html b/mcaptcha/api/v1/mcaptcha/get/struct.Levels.html index 386860af..8d40a77d 100644 --- a/mcaptcha/api/v1/mcaptcha/get/struct.Levels.html +++ b/mcaptcha/api/v1/mcaptcha/get/struct.Levels.html @@ -1,11 +1,11 @@ Levels in mcaptcha::api::v1::mcaptcha::get - Rust

Struct mcaptcha::api::v1::mcaptcha::get::Levels

source ·
pub struct Levels {
     levels: I32Levels,
-}

Fields§

§levels: I32Levels

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§

§levels: I32Levels

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/get/struct.get_captcha.html b/mcaptcha/api/v1/mcaptcha/get/struct.get_captcha.html index cd107932..bf7c177b 100644 --- a/mcaptcha/api/v1/mcaptcha/get/struct.get_captcha.html +++ b/mcaptcha/api/v1/mcaptcha/get/struct.get_captcha.html @@ -1,9 +1,9 @@ -get_captcha in mcaptcha::api::v1::mcaptcha::get - Rust
pub struct get_captcha;

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_captcha in mcaptcha::api::v1::mcaptcha::get - Rust
pub struct get_captcha;

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/index.html b/mcaptcha/api/v1/mcaptcha/index.html index 01919c48..b7a6d7d7 100644 --- a/mcaptcha/api/v1/mcaptcha/index.html +++ b/mcaptcha/api/v1/mcaptcha/index.html @@ -1 +1 @@ -mcaptcha::api::v1::mcaptcha - Rust
\ No newline at end of file +mcaptcha::api::v1::mcaptcha - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/routes/index.html b/mcaptcha/api/v1/mcaptcha/routes/index.html index 7b580b3f..5c9db6cb 100644 --- a/mcaptcha/api/v1/mcaptcha/routes/index.html +++ b/mcaptcha/api/v1/mcaptcha/routes/index.html @@ -1 +1 @@ -mcaptcha::api::v1::mcaptcha::routes - Rust
\ No newline at end of file +mcaptcha::api::v1::mcaptcha::routes - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/routes/struct.Captcha.html b/mcaptcha/api/v1/mcaptcha/routes/struct.Captcha.html index c455e150..276e7ff7 100644 --- a/mcaptcha/api/v1/mcaptcha/routes/struct.Captcha.html +++ b/mcaptcha/api/v1/mcaptcha/routes/struct.Captcha.html @@ -1,17 +1,17 @@ Captcha in mcaptcha::api::v1::mcaptcha::routes - Rust
pub struct Captcha {
-    pub create: &'static str,
-    pub update: &'static str,
-    pub get: &'static str,
-    pub delete: &'static str,
-    pub update_key: &'static str,
+    pub create: &'static str,
+    pub update: &'static str,
+    pub get: &'static str,
+    pub delete: &'static str,
+    pub update_key: &'static str,
     pub easy: Easy,
     pub stats: Stats,
-}

Fields§

§create: &'static str§update: &'static str§get: &'static str§delete: &'static str§update_key: &'static str§easy: Easy§stats: Stats

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§

§create: &'static str§update: &'static str§get: &'static str§delete: &'static str§update_key: &'static str§easy: Easy§stats: Stats

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/stats/index.html b/mcaptcha/api/v1/mcaptcha/stats/index.html index 58667c30..fbdf2ae7 100644 --- a/mcaptcha/api/v1/mcaptcha/stats/index.html +++ b/mcaptcha/api/v1/mcaptcha/stats/index.html @@ -1 +1 @@ -mcaptcha::api::v1::mcaptcha::stats - Rust
\ No newline at end of file +mcaptcha::api::v1::mcaptcha::stats - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/stats/routes/index.html b/mcaptcha/api/v1/mcaptcha/stats/routes/index.html index c8cb7fa3..511399a3 100644 --- a/mcaptcha/api/v1/mcaptcha/stats/routes/index.html +++ b/mcaptcha/api/v1/mcaptcha/stats/routes/index.html @@ -1 +1 @@ -mcaptcha::api::v1::mcaptcha::stats::routes - Rust
\ No newline at end of file +mcaptcha::api::v1::mcaptcha::stats::routes - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/stats/routes/struct.Stats.html b/mcaptcha/api/v1/mcaptcha/stats/routes/struct.Stats.html index 1eb3cf16..fe7e8003 100644 --- a/mcaptcha/api/v1/mcaptcha/stats/routes/struct.Stats.html +++ b/mcaptcha/api/v1/mcaptcha/stats/routes/struct.Stats.html @@ -1,11 +1,11 @@ Stats in mcaptcha::api::v1::mcaptcha::stats::routes - Rust
pub struct Stats {
-    pub get: &'static str,
-}

Fields§

§get: &'static str

Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

+ pub get: &'static str, +}

Fields§

§get: &'static str

Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

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

Calls U::from(self).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/stats/struct.StatsPayload.html b/mcaptcha/api/v1/mcaptcha/stats/struct.StatsPayload.html index 5d2485c9..c2943830 100644 --- a/mcaptcha/api/v1/mcaptcha/stats/struct.StatsPayload.html +++ b/mcaptcha/api/v1/mcaptcha/stats/struct.StatsPayload.html @@ -1,11 +1,11 @@ StatsPayload in mcaptcha::api::v1::mcaptcha::stats - Rust
pub struct StatsPayload {
-    pub key: String,
-}

Fields§

§key: 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.

+ pub key: String, +}

Fields§

§key: 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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/stats/struct.get.html b/mcaptcha/api/v1/mcaptcha/stats/struct.get.html index b25bcc78..d20450b4 100644 --- a/mcaptcha/api/v1/mcaptcha/stats/struct.get.html +++ b/mcaptcha/api/v1/mcaptcha/stats/struct.get.html @@ -1,9 +1,9 @@ -get in mcaptcha::api::v1::mcaptcha::stats - Rust

Struct mcaptcha::api::v1::mcaptcha::stats::get

source ·
pub struct get;

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 in mcaptcha::api::v1::mcaptcha::stats - Rust

Struct mcaptcha::api::v1::mcaptcha::stats::get

source ·
pub struct get;

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/update/index.html b/mcaptcha/api/v1/mcaptcha/update/index.html index e1c76f80..742ec97e 100644 --- a/mcaptcha/api/v1/mcaptcha/update/index.html +++ b/mcaptcha/api/v1/mcaptcha/update/index.html @@ -1 +1 @@ -mcaptcha::api::v1::mcaptcha::update - Rust
\ No newline at end of file +mcaptcha::api::v1::mcaptcha::update - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/update/runner/fn.update_captcha.html b/mcaptcha/api/v1/mcaptcha/update/runner/fn.update_captcha.html index 135cf1e0..29387abd 100644 --- a/mcaptcha/api/v1/mcaptcha/update/runner/fn.update_captcha.html +++ b/mcaptcha/api/v1/mcaptcha/update/runner/fn.update_captcha.html @@ -1 +1 @@ -update_captcha in mcaptcha::api::v1::mcaptcha::update::runner - Rust
pub async fn update_captcha(
    payload: &UpdateCaptcha,
    data: &AppData,
    username: &str
) -> Result<(), ServiceError>
\ No newline at end of file +update_captcha in mcaptcha::api::v1::mcaptcha::update::runner - Rust
pub async fn update_captcha(
    payload: &UpdateCaptcha,
    data: &AppData,
    username: &str
) -> Result<(), ServiceError>
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/update/runner/index.html b/mcaptcha/api/v1/mcaptcha/update/runner/index.html index 9863f16e..878f0d33 100644 --- a/mcaptcha/api/v1/mcaptcha/update/runner/index.html +++ b/mcaptcha/api/v1/mcaptcha/update/runner/index.html @@ -1 +1 @@ -mcaptcha::api::v1::mcaptcha::update::runner - Rust
\ No newline at end of file +mcaptcha::api::v1::mcaptcha::update::runner - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/update/struct.UpdateCaptcha.html b/mcaptcha/api/v1/mcaptcha/update/struct.UpdateCaptcha.html index b2087259..461bd9cf 100644 --- a/mcaptcha/api/v1/mcaptcha/update/struct.UpdateCaptcha.html +++ b/mcaptcha/api/v1/mcaptcha/update/struct.UpdateCaptcha.html @@ -1,14 +1,14 @@ UpdateCaptcha in mcaptcha::api::v1::mcaptcha::update - Rust
pub struct UpdateCaptcha {
-    pub levels: Vec<Level>,
-    pub duration: u32,
-    pub description: String,
-    pub key: String,
-}

Fields§

§levels: Vec<Level>§duration: u32§description: String§key: String

Trait Implementations§

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 levels: Vec<Level>, + pub duration: u32, + pub description: String, + pub key: String, +}

Fields§

§levels: Vec<Level>§duration: u32§description: String§key: String

Trait Implementations§

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/update/struct.update_captcha.html b/mcaptcha/api/v1/mcaptcha/update/struct.update_captcha.html index af9a0014..3d3b11c6 100644 --- a/mcaptcha/api/v1/mcaptcha/update/struct.update_captcha.html +++ b/mcaptcha/api/v1/mcaptcha/update/struct.update_captcha.html @@ -1,9 +1,9 @@ -update_captcha in mcaptcha::api::v1::mcaptcha::update - Rust
pub struct update_captcha;

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

+update_captcha in mcaptcha::api::v1::mcaptcha::update - Rust
pub struct update_captcha;

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/update/struct.update_key.html b/mcaptcha/api/v1/mcaptcha/update/struct.update_key.html index 52e02138..ece017fe 100644 --- a/mcaptcha/api/v1/mcaptcha/update/struct.update_key.html +++ b/mcaptcha/api/v1/mcaptcha/update/struct.update_key.html @@ -1,9 +1,9 @@ -update_key in mcaptcha::api::v1::mcaptcha::update - Rust
pub struct update_key;

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

+update_key in mcaptcha::api::v1::mcaptcha::update - Rust
pub struct update_key;

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/meta/enum.BuildDetailsBuilderError.html b/mcaptcha/api/v1/meta/enum.BuildDetailsBuilderError.html index f891405b..3624f403 100644 --- a/mcaptcha/api/v1/meta/enum.BuildDetailsBuilderError.html +++ b/mcaptcha/api/v1/meta/enum.BuildDetailsBuilderError.html @@ -1,17 +1,17 @@ BuildDetailsBuilderError in mcaptcha::api::v1::meta - Rust
#[non_exhaustive]
 pub enum BuildDetailsBuilderError {
-    UninitializedField(&'static str),
-    ValidationError(String),
+    UninitializedField(&'static str),
+    ValidationError(String),
 }
Expand description

Error type for BuildDetailsBuilder

-

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

UninitializedField(&'static str)

Uninitialized field

-
§

ValidationError(String)

Custom validation error

-

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.

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.

+

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

UninitializedField(&'static str)

Uninitialized field

+
§

ValidationError(String)

Custom validation error

+

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.

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

+Instrumented wrapper. Read more

Calls U::from(self).

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 +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 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/mcaptcha/api/v1/meta/enum.HealthBuilderError.html b/mcaptcha/api/v1/meta/enum.HealthBuilderError.html index 87e6f47d..84026400 100644 --- a/mcaptcha/api/v1/meta/enum.HealthBuilderError.html +++ b/mcaptcha/api/v1/meta/enum.HealthBuilderError.html @@ -1,17 +1,17 @@ HealthBuilderError in mcaptcha::api::v1::meta - Rust
#[non_exhaustive]
 pub enum HealthBuilderError {
-    UninitializedField(&'static str),
-    ValidationError(String),
+    UninitializedField(&'static str),
+    ValidationError(String),
 }
Expand description

Error type for HealthBuilder

-

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

UninitializedField(&'static str)

Uninitialized field

-
§

ValidationError(String)

Custom validation error

-

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.

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.

+

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

UninitializedField(&'static str)

Uninitialized field

+
§

ValidationError(String)

Custom validation error

+

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.

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

+Instrumented wrapper. Read more

Calls U::from(self).

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 +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 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/mcaptcha/api/v1/meta/fn.services.html b/mcaptcha/api/v1/meta/fn.services.html index 18ebdb5d..aab67c44 100644 --- a/mcaptcha/api/v1/meta/fn.services.html +++ b/mcaptcha/api/v1/meta/fn.services.html @@ -1 +1 @@ -services in mcaptcha::api::v1::meta - Rust

Function mcaptcha::api::v1::meta::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::api::v1::meta - Rust

Function mcaptcha::api::v1::meta::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/api/v1/meta/index.html b/mcaptcha/api/v1/meta/index.html index 4f21fbf3..2bc9ad9e 100644 --- a/mcaptcha/api/v1/meta/index.html +++ b/mcaptcha/api/v1/meta/index.html @@ -1 +1 @@ -mcaptcha::api::v1::meta - Rust

Module mcaptcha::api::v1::meta

source ·

Modules

Structs

Health check return datatype
Builder for Health.
emits build details of the bninary
checks all components of the system

Enums

Error type for BuildDetailsBuilder
Error type for HealthBuilder

Functions

\ No newline at end of file +mcaptcha::api::v1::meta - Rust

Module mcaptcha::api::v1::meta

source ·

Modules

Structs

Health check return datatype
Builder for Health.
emits build details of the bninary
checks all components of the system

Enums

Error type for BuildDetailsBuilder
Error type for HealthBuilder

Functions

\ No newline at end of file diff --git a/mcaptcha/api/v1/meta/routes/index.html b/mcaptcha/api/v1/meta/routes/index.html index 37b78136..f23bdfda 100644 --- a/mcaptcha/api/v1/meta/routes/index.html +++ b/mcaptcha/api/v1/meta/routes/index.html @@ -1 +1 @@ -mcaptcha::api::v1::meta::routes - Rust
\ No newline at end of file +mcaptcha::api::v1::meta::routes - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/meta/routes/struct.Meta.html b/mcaptcha/api/v1/meta/routes/struct.Meta.html index 7eea474e..63777d1f 100644 --- a/mcaptcha/api/v1/meta/routes/struct.Meta.html +++ b/mcaptcha/api/v1/meta/routes/struct.Meta.html @@ -1,12 +1,12 @@ Meta in mcaptcha::api::v1::meta::routes - Rust

Struct mcaptcha::api::v1::meta::routes::Meta

source ·
pub struct Meta {
-    pub build_details: &'static str,
-    pub health: &'static str,
-}

Fields§

§build_details: &'static str§health: &'static str

Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

+ pub build_details: &'static str, + pub health: &'static str, +}

Fields§

§build_details: &'static str§health: &'static str

Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

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

Calls U::from(self).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/meta/struct.BuildDetails.html b/mcaptcha/api/v1/meta/struct.BuildDetails.html index 8bb70031..9039a5c8 100644 --- a/mcaptcha/api/v1/meta/struct.BuildDetails.html +++ b/mcaptcha/api/v1/meta/struct.BuildDetails.html @@ -1,12 +1,12 @@ BuildDetails in mcaptcha::api::v1::meta - Rust

Struct mcaptcha::api::v1::meta::BuildDetails

source ·
pub struct BuildDetails {
-    pub version: &'static str,
-    pub git_commit_hash: &'static str,
-}

Fields§

§version: &'static str§git_commit_hash: &'static 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.

+ pub version: &'static str, + pub git_commit_hash: &'static str, +}

Fields§

§version: &'static str§git_commit_hash: &'static 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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/meta/struct.BuildDetailsBuilder.html b/mcaptcha/api/v1/meta/struct.BuildDetailsBuilder.html index 7fe61470..db5c5d97 100644 --- a/mcaptcha/api/v1/meta/struct.BuildDetailsBuilder.html +++ b/mcaptcha/api/v1/meta/struct.BuildDetailsBuilder.html @@ -1,17 +1,17 @@ BuildDetailsBuilder in mcaptcha::api::v1::meta - Rust
pub struct BuildDetailsBuilder {
-    version: Option<&'static str>,
-    git_commit_hash: Option<&'static str>,
+    version: Option<&'static str>,
+    git_commit_hash: Option<&'static str>,
 }
Expand description

Builder for BuildDetails.

-

Fields§

§version: Option<&'static str>§git_commit_hash: Option<&'static str>

Implementations§

Builds a new BuildDetails.

+

Fields§

§version: Option<&'static str>§git_commit_hash: Option<&'static str>

Implementations§

Builds a new BuildDetails.

Errors

If a required field has not been initialized.

Create an empty builder, with all fields set to None or PhantomData.

-

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns the “default value” for a type. 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
Returns the “default value” for a type. 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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/meta/struct.Health.html b/mcaptcha/api/v1/meta/struct.Health.html index cae0e2f3..79acd192 100644 --- a/mcaptcha/api/v1/meta/struct.Health.html +++ b/mcaptcha/api/v1/meta/struct.Health.html @@ -1,13 +1,13 @@ Health in mcaptcha::api::v1::meta - Rust

Struct mcaptcha::api::v1::meta::Health

source ·
pub struct Health {
-    db: bool,
-    redis: Option<bool>,
+    db: bool,
+    redis: Option<bool>,
 }
Expand description

Health check return datatype

-

Fields§

§db: bool§redis: Option<bool>

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§

§db: bool§redis: Option<bool>

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/meta/struct.HealthBuilder.html b/mcaptcha/api/v1/meta/struct.HealthBuilder.html index 842063e7..baf74066 100644 --- a/mcaptcha/api/v1/meta/struct.HealthBuilder.html +++ b/mcaptcha/api/v1/meta/struct.HealthBuilder.html @@ -1,17 +1,17 @@ HealthBuilder in mcaptcha::api::v1::meta - Rust

Struct mcaptcha::api::v1::meta::HealthBuilder

source ·
pub struct HealthBuilder {
-    db: Option<bool>,
-    redis: Option<Option<bool>>,
+    db: Option<bool>,
+    redis: Option<Option<bool>>,
 }
Expand description

Builder for Health.

-

Fields§

§db: Option<bool>§redis: Option<Option<bool>>

Implementations§

Builds a new Health.

+

Fields§

§db: Option<bool>§redis: Option<Option<bool>>

Implementations§

Builds a new Health.

Errors

If a required field has not been initialized.

Create an empty builder, with all fields set to None or PhantomData.

-

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns the “default value” for a type. 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
Returns the “default value” for a type. 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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/meta/struct.build_details.html b/mcaptcha/api/v1/meta/struct.build_details.html index 61755ce0..6bcd1544 100644 --- a/mcaptcha/api/v1/meta/struct.build_details.html +++ b/mcaptcha/api/v1/meta/struct.build_details.html @@ -1,10 +1,10 @@ build_details in mcaptcha::api::v1::meta - Rust

Struct mcaptcha::api::v1::meta::build_details

source ·
pub struct build_details;
Expand description

emits build details of the bninary

-

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.

+

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/meta/struct.health.html b/mcaptcha/api/v1/meta/struct.health.html index 2af3b9fd..8b4abc8c 100644 --- a/mcaptcha/api/v1/meta/struct.health.html +++ b/mcaptcha/api/v1/meta/struct.health.html @@ -1,10 +1,10 @@ health in mcaptcha::api::v1::meta - Rust

Struct mcaptcha::api::v1::meta::health

source ·
pub struct health;
Expand description

checks all components of the system

-

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

+

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/add/index.html b/mcaptcha/api/v1/notifications/add/index.html index b8b0f7be..a5126589 100644 --- a/mcaptcha/api/v1/notifications/add/index.html +++ b/mcaptcha/api/v1/notifications/add/index.html @@ -1 +1 @@ -mcaptcha::api::v1::notifications::add - Rust

Module mcaptcha::api::v1::notifications::add

source ·

Structs

route handler that adds a notification message
\ No newline at end of file +mcaptcha::api::v1::notifications::add - Rust

Module mcaptcha::api::v1::notifications::add

source ·

Structs

route handler that adds a notification message
\ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/add/struct.AddNotificationRequest.html b/mcaptcha/api/v1/notifications/add/struct.AddNotificationRequest.html index c6b3cd2e..11f5cb07 100644 --- a/mcaptcha/api/v1/notifications/add/struct.AddNotificationRequest.html +++ b/mcaptcha/api/v1/notifications/add/struct.AddNotificationRequest.html @@ -1,15 +1,15 @@ AddNotificationRequest in mcaptcha::api::v1::notifications::add - Rust
pub struct AddNotificationRequest {
-    pub to: String,
-    pub heading: String,
-    pub message: String,
-}

Fields§

§to: String§heading: String§message: 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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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 to: String, + pub heading: String, + pub message: String, +}

Fields§

§to: String§heading: String§message: 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
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/add/struct.add_notification.html b/mcaptcha/api/v1/notifications/add/struct.add_notification.html index 3b97e867..74fc221b 100644 --- a/mcaptcha/api/v1/notifications/add/struct.add_notification.html +++ b/mcaptcha/api/v1/notifications/add/struct.add_notification.html @@ -1,10 +1,10 @@ add_notification in mcaptcha::api::v1::notifications::add - Rust
pub struct add_notification;
Expand description

route handler that adds a notification message

-

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.

+

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/fn.services.html b/mcaptcha/api/v1/notifications/fn.services.html index 4e92b08b..aaa3d63f 100644 --- a/mcaptcha/api/v1/notifications/fn.services.html +++ b/mcaptcha/api/v1/notifications/fn.services.html @@ -1 +1 @@ -services in mcaptcha::api::v1::notifications - Rust
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::api::v1::notifications - Rust
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/get/index.html b/mcaptcha/api/v1/notifications/get/index.html index 188e1ea6..7c2e8a2a 100644 --- a/mcaptcha/api/v1/notifications/get/index.html +++ b/mcaptcha/api/v1/notifications/get/index.html @@ -1 +1 @@ -mcaptcha::api::v1::notifications::get - Rust

Module mcaptcha::api::v1::notifications::get

source ·

Structs

route handler that gets all unread notifications
\ No newline at end of file +mcaptcha::api::v1::notifications::get - Rust

Module mcaptcha::api::v1::notifications::get

source ·

Structs

route handler that gets all unread notifications
\ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/get/struct.NotificationResp.html b/mcaptcha/api/v1/notifications/get/struct.NotificationResp.html index c65d9426..d9ac2869 100644 --- a/mcaptcha/api/v1/notifications/get/struct.NotificationResp.html +++ b/mcaptcha/api/v1/notifications/get/struct.NotificationResp.html @@ -1,17 +1,17 @@ NotificationResp in mcaptcha::api::v1::notifications::get - Rust
pub struct NotificationResp {
-    pub name: String,
-    pub heading: String,
-    pub message: String,
-    pub received: i64,
-    pub id: i32,
-}

Fields§

§name: String§heading: String§message: String§received: i64§id: i32

Implementations§

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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 name: String, + pub heading: String, + pub message: String, + pub received: i64, + pub id: i32, +}

Fields§

§name: String§heading: String§message: String§received: i64§id: i32

Implementations§

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns the “default value” for a type. 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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/get/struct.get_notification.html b/mcaptcha/api/v1/notifications/get/struct.get_notification.html index a1424788..f52442ec 100644 --- a/mcaptcha/api/v1/notifications/get/struct.get_notification.html +++ b/mcaptcha/api/v1/notifications/get/struct.get_notification.html @@ -1,10 +1,10 @@ get_notification in mcaptcha::api::v1::notifications::get - Rust
pub struct get_notification;
Expand description

route handler that gets all unread notifications

-

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.

+

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/index.html b/mcaptcha/api/v1/notifications/index.html index 5a26db1e..880a25f8 100644 --- a/mcaptcha/api/v1/notifications/index.html +++ b/mcaptcha/api/v1/notifications/index.html @@ -1 +1 @@ -mcaptcha::api::v1::notifications - Rust
\ No newline at end of file +mcaptcha::api::v1::notifications - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/mark_read/index.html b/mcaptcha/api/v1/notifications/mark_read/index.html index acb68069..59920f4d 100644 --- a/mcaptcha/api/v1/notifications/mark_read/index.html +++ b/mcaptcha/api/v1/notifications/mark_read/index.html @@ -1 +1 @@ -mcaptcha::api::v1::notifications::mark_read - Rust

Structs

route handler that marks a notification read
\ No newline at end of file +mcaptcha::api::v1::notifications::mark_read - Rust

Structs

route handler that marks a notification read
\ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/mark_read/struct.MarkReadReq.html b/mcaptcha/api/v1/notifications/mark_read/struct.MarkReadReq.html index 49f810b0..1415a303 100644 --- a/mcaptcha/api/v1/notifications/mark_read/struct.MarkReadReq.html +++ b/mcaptcha/api/v1/notifications/mark_read/struct.MarkReadReq.html @@ -1,11 +1,11 @@ MarkReadReq in mcaptcha::api::v1::notifications::mark_read - Rust
pub struct MarkReadReq {
-    pub id: i32,
-}

Fields§

§id: i32

Trait Implementations§

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 id: i32, +}

Fields§

§id: i32

Trait Implementations§

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/mark_read/struct.mark_read.html b/mcaptcha/api/v1/notifications/mark_read/struct.mark_read.html index ccda7cbe..a7ce2db7 100644 --- a/mcaptcha/api/v1/notifications/mark_read/struct.mark_read.html +++ b/mcaptcha/api/v1/notifications/mark_read/struct.mark_read.html @@ -1,10 +1,10 @@ mark_read in mcaptcha::api::v1::notifications::mark_read - Rust
pub struct mark_read;
Expand description

route handler that marks a notification read

-

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.

+

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/routes/index.html b/mcaptcha/api/v1/notifications/routes/index.html index dfc0c98f..989ad5da 100644 --- a/mcaptcha/api/v1/notifications/routes/index.html +++ b/mcaptcha/api/v1/notifications/routes/index.html @@ -1 +1 @@ -mcaptcha::api::v1::notifications::routes - Rust
\ No newline at end of file +mcaptcha::api::v1::notifications::routes - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/routes/struct.Notifications.html b/mcaptcha/api/v1/notifications/routes/struct.Notifications.html index dc38aa9e..d052ba16 100644 --- a/mcaptcha/api/v1/notifications/routes/struct.Notifications.html +++ b/mcaptcha/api/v1/notifications/routes/struct.Notifications.html @@ -1,13 +1,13 @@ Notifications in mcaptcha::api::v1::notifications::routes - Rust
pub struct Notifications {
-    pub add: &'static str,
-    pub mark_read: &'static str,
-    pub get: &'static str,
-}

Fields§

§add: &'static str§mark_read: &'static str§get: &'static str

Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

+ pub add: &'static str, + pub mark_read: &'static str, + pub get: &'static str, +}

Fields§

§add: &'static str§mark_read: &'static str§get: &'static str

Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

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

Calls U::from(self).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/pow/fn.services.html b/mcaptcha/api/v1/pow/fn.services.html index 4c81afd2..d976862f 100644 --- a/mcaptcha/api/v1/pow/fn.services.html +++ b/mcaptcha/api/v1/pow/fn.services.html @@ -1 +1 @@ -services in mcaptcha::api::v1::pow - Rust

Function mcaptcha::api::v1::pow::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::api::v1::pow - Rust

Function mcaptcha::api::v1::pow::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/api/v1/pow/get_config/fn.init_mcaptcha.html b/mcaptcha/api/v1/pow/get_config/fn.init_mcaptcha.html index 2b6285da..60f9201e 100644 --- a/mcaptcha/api/v1/pow/get_config/fn.init_mcaptcha.html +++ b/mcaptcha/api/v1/pow/get_config/fn.init_mcaptcha.html @@ -1,4 +1,4 @@ -init_mcaptcha in mcaptcha::api::v1::pow::get_config - Rust
pub async fn init_mcaptcha(data: &AppData, key: &str) -> Result<(), ServiceError>
Expand description

Call this when [MCaptcha][libmcaptcha::MCaptcha] is not in master.

+init_mcaptcha in mcaptcha::api::v1::pow::get_config - Rust
pub async fn init_mcaptcha(data: &AppData, key: &str) -> Result<(), ServiceError>
Expand description

Call this when [MCaptcha][libmcaptcha::MCaptcha] is not in master.

This fn gets mcaptcha config from database, builds [Defense][libmcaptcha::Defense], creates [MCaptcha][libmcaptcha::MCaptcha] and adds it to [Master][libmcaptcha::Defense]

-
\ No newline at end of file +
\ No newline at end of file diff --git a/mcaptcha/api/v1/pow/get_config/index.html b/mcaptcha/api/v1/pow/get_config/index.html index 94cc3079..a8a6c82d 100644 --- a/mcaptcha/api/v1/pow/get_config/index.html +++ b/mcaptcha/api/v1/pow/get_config/index.html @@ -1 +1 @@ -mcaptcha::api::v1::pow::get_config - Rust

Module mcaptcha::api::v1::pow::get_config

source ·

Structs

get PoW configuration for an mcaptcha key

Functions

Call this when [MCaptcha][libmcaptcha::MCaptcha] is not in master.
\ No newline at end of file +mcaptcha::api::v1::pow::get_config - Rust

Module mcaptcha::api::v1::pow::get_config

source ·

Structs

get PoW configuration for an mcaptcha key

Functions

Call this when [MCaptcha][libmcaptcha::MCaptcha] is not in master.
\ No newline at end of file diff --git a/mcaptcha/api/v1/pow/get_config/struct.GetConfigPayload.html b/mcaptcha/api/v1/pow/get_config/struct.GetConfigPayload.html index 3e88f170..7a057b6b 100644 --- a/mcaptcha/api/v1/pow/get_config/struct.GetConfigPayload.html +++ b/mcaptcha/api/v1/pow/get_config/struct.GetConfigPayload.html @@ -1,11 +1,11 @@ GetConfigPayload in mcaptcha::api::v1::pow::get_config - Rust
pub struct GetConfigPayload {
-    pub key: String,
-}

Fields§

§key: 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.

+ pub key: String, +}

Fields§

§key: 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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/pow/get_config/struct.get_config.html b/mcaptcha/api/v1/pow/get_config/struct.get_config.html index bcc03305..ff0baa7c 100644 --- a/mcaptcha/api/v1/pow/get_config/struct.get_config.html +++ b/mcaptcha/api/v1/pow/get_config/struct.get_config.html @@ -1,10 +1,10 @@ get_config in mcaptcha::api::v1::pow::get_config - Rust
pub struct get_config;
Expand description

get PoW configuration for an mcaptcha key

-

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.

+

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/pow/index.html b/mcaptcha/api/v1/pow/index.html index 5b30f71f..91215aab 100644 --- a/mcaptcha/api/v1/pow/index.html +++ b/mcaptcha/api/v1/pow/index.html @@ -1 +1 @@ -mcaptcha::api::v1::pow - Rust

Module mcaptcha::api::v1::pow

source ·

Re-exports

pub use super::mcaptcha::get::I32Levels;

Modules

PoW Verification module
PoW success token module

Functions

\ No newline at end of file +mcaptcha::api::v1::pow - Rust

Module mcaptcha::api::v1::pow

source ·

Re-exports

pub use super::mcaptcha::get::I32Levels;

Modules

PoW Verification module
PoW success token module

Functions

\ No newline at end of file diff --git a/mcaptcha/api/v1/pow/routes/index.html b/mcaptcha/api/v1/pow/routes/index.html index df54513e..728b4601 100644 --- a/mcaptcha/api/v1/pow/routes/index.html +++ b/mcaptcha/api/v1/pow/routes/index.html @@ -1 +1 @@ -mcaptcha::api::v1::pow::routes - Rust
\ No newline at end of file +mcaptcha::api::v1::pow::routes - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/pow/routes/macro.rm_scope.html b/mcaptcha/api/v1/pow/routes/macro.rm_scope.html index 81763334..bdb90ff7 100644 --- a/mcaptcha/api/v1/pow/routes/macro.rm_scope.html +++ b/mcaptcha/api/v1/pow/routes/macro.rm_scope.html @@ -1,4 +1,4 @@ rm_scope in mcaptcha::api::v1::pow::routes - Rust

Macro mcaptcha::api::v1::pow::routes::rm_scope

source ·
macro_rules! rm_scope {
     ($name:ident) => { ... };
 }
-
\ No newline at end of file +
\ No newline at end of file diff --git a/mcaptcha/api/v1/pow/routes/struct.PoW.html b/mcaptcha/api/v1/pow/routes/struct.PoW.html index bbb48b68..a4e800b5 100644 --- a/mcaptcha/api/v1/pow/routes/struct.PoW.html +++ b/mcaptcha/api/v1/pow/routes/struct.PoW.html @@ -1,17 +1,17 @@ PoW in mcaptcha::api::v1::pow::routes - Rust

Struct mcaptcha::api::v1::pow::routes::PoW

source ·
pub struct PoW {
-    pub get_config: &'static str,
-    pub verify_pow: &'static str,
-    pub validate_captcha_token: &'static str,
-    pub scope: &'static str,
-}

Fields§

§get_config: &'static str§verify_pow: &'static str§validate_captcha_token: &'static str§scope: &'static str

Implementations§

remove scope for $name route

-

remove scope for $name route

-

remove scope for $name route

-

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 get_config: &'static str, + pub verify_pow: &'static str, + pub validate_captcha_token: &'static str, + pub scope: &'static str, +}

Fields§

§get_config: &'static str§verify_pow: &'static str§validate_captcha_token: &'static str§scope: &'static str

Implementations§

remove scope for $name route

+

remove scope for $name route

+

remove scope for $name route

+

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/pow/verify_pow/index.html b/mcaptcha/api/v1/pow/verify_pow/index.html index 6f53d6d9..047b30bf 100644 --- a/mcaptcha/api/v1/pow/verify_pow/index.html +++ b/mcaptcha/api/v1/pow/verify_pow/index.html @@ -1,4 +1,4 @@ mcaptcha::api::v1::pow::verify_pow - Rust

Module mcaptcha::api::v1::pow::verify_pow

source ·
Expand description

PoW Verification module

Structs

validation token that clients receive as proof for submiting valid PoW
route handler that verifies PoW and issues a solution token -if verification is successful
\ No newline at end of file +if verification is successful
\ No newline at end of file diff --git a/mcaptcha/api/v1/pow/verify_pow/struct.ValidationToken.html b/mcaptcha/api/v1/pow/verify_pow/struct.ValidationToken.html index aa795d89..c75622c4 100644 --- a/mcaptcha/api/v1/pow/verify_pow/struct.ValidationToken.html +++ b/mcaptcha/api/v1/pow/verify_pow/struct.ValidationToken.html @@ -1,13 +1,13 @@ ValidationToken in mcaptcha::api::v1::pow::verify_pow - Rust
pub struct ValidationToken {
-    pub token: String,
+    pub token: String,
 }
Expand description

validation token that clients receive as proof for submiting valid PoW

-

Fields§

§token: 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§

§token: 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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/pow/verify_pow/struct.verify_pow.html b/mcaptcha/api/v1/pow/verify_pow/struct.verify_pow.html index ca3d1c96..5798a706 100644 --- a/mcaptcha/api/v1/pow/verify_pow/struct.verify_pow.html +++ b/mcaptcha/api/v1/pow/verify_pow/struct.verify_pow.html @@ -1,11 +1,11 @@ verify_pow in mcaptcha::api::v1::pow::verify_pow - Rust
pub struct verify_pow;
Expand description

route handler that verifies PoW and issues a solution token if verification is successful

-

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.

+

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/pow/verify_token/index.html b/mcaptcha/api/v1/pow/verify_token/index.html index fc2feeb2..ab229b58 100644 --- a/mcaptcha/api/v1/pow/verify_token/index.html +++ b/mcaptcha/api/v1/pow/verify_token/index.html @@ -1,2 +1,2 @@ mcaptcha::api::v1::pow::verify_token - Rust

Module mcaptcha::api::v1::pow::verify_token

source ·
Expand description

PoW success token module

-

Structs

route handler that validates a PoW solution token
\ No newline at end of file +

Structs

route handler that validates a PoW solution token
\ No newline at end of file diff --git a/mcaptcha/api/v1/pow/verify_token/struct.CaptchaValidateResp.html b/mcaptcha/api/v1/pow/verify_token/struct.CaptchaValidateResp.html index 4c2517d2..161d8c68 100644 --- a/mcaptcha/api/v1/pow/verify_token/struct.CaptchaValidateResp.html +++ b/mcaptcha/api/v1/pow/verify_token/struct.CaptchaValidateResp.html @@ -1,11 +1,11 @@ CaptchaValidateResp in mcaptcha::api::v1::pow::verify_token - Rust
pub struct CaptchaValidateResp {
-    pub valid: bool,
-}

Fields§

§valid: 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.

+ pub valid: bool, +}

Fields§

§valid: 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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/pow/verify_token/struct.VerifyCaptchaResultPayload.html b/mcaptcha/api/v1/pow/verify_token/struct.VerifyCaptchaResultPayload.html index efdaea65..d3a7009b 100644 --- a/mcaptcha/api/v1/pow/verify_token/struct.VerifyCaptchaResultPayload.html +++ b/mcaptcha/api/v1/pow/verify_token/struct.VerifyCaptchaResultPayload.html @@ -1,13 +1,13 @@ VerifyCaptchaResultPayload in mcaptcha::api::v1::pow::verify_token - Rust
pub struct VerifyCaptchaResultPayload {
-    pub secret: String,
-    pub key: String,
-    pub token: String,
-}

Fields§

§secret: String§key: String§token: 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
Converts to this type from the input type.
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 secret: String, + pub key: String, + pub token: String, +}

Fields§

§secret: String§key: String§token: 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
Converts to this type from the input type.
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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/pow/verify_token/struct.validate_captcha_token.html b/mcaptcha/api/v1/pow/verify_token/struct.validate_captcha_token.html index fd71c8e1..e8ae388f 100644 --- a/mcaptcha/api/v1/pow/verify_token/struct.validate_captcha_token.html +++ b/mcaptcha/api/v1/pow/verify_token/struct.validate_captcha_token.html @@ -1,10 +1,10 @@ validate_captcha_token in mcaptcha::api::v1::pow::verify_token - Rust
pub struct validate_captcha_token;
Expand description

route handler that validates a PoW solution token

-

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.

+

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/routes/constant.ROUTES.html b/mcaptcha/api/v1/routes/constant.ROUTES.html index 184e25cc..12360794 100644 --- a/mcaptcha/api/v1/routes/constant.ROUTES.html +++ b/mcaptcha/api/v1/routes/constant.ROUTES.html @@ -1 +1 @@ -ROUTES in mcaptcha::api::v1::routes - Rust

Constant mcaptcha::api::v1::routes::ROUTES

source ·
pub const ROUTES: Routes;
\ No newline at end of file +ROUTES in mcaptcha::api::v1::routes - Rust

Constant mcaptcha::api::v1::routes::ROUTES

source ·
pub const ROUTES: Routes;
\ No newline at end of file diff --git a/mcaptcha/api/v1/routes/index.html b/mcaptcha/api/v1/routes/index.html index 7ffda304..051c56ef 100644 --- a/mcaptcha/api/v1/routes/index.html +++ b/mcaptcha/api/v1/routes/index.html @@ -1 +1 @@ -mcaptcha::api::v1::routes - Rust
\ No newline at end of file +mcaptcha::api::v1::routes - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/routes/struct.Routes.html b/mcaptcha/api/v1/routes/struct.Routes.html index 7d04d699..d8b71f45 100644 --- a/mcaptcha/api/v1/routes/struct.Routes.html +++ b/mcaptcha/api/v1/routes/struct.Routes.html @@ -5,12 +5,12 @@ pub meta: Meta, pub pow: PoW, pub notifications: Notifications, -}

Fields§

§auth: Auth§account: Account§captcha: Captcha§meta: Meta§pow: PoW§notifications: Notifications

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§

§auth: Auth§account: Account§captcha: Captcha§meta: Meta§pow: PoW§notifications: Notifications

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/api/v1/struct.RedirectQuery.html b/mcaptcha/api/v1/struct.RedirectQuery.html index 58408340..0d9269e0 100644 --- a/mcaptcha/api/v1/struct.RedirectQuery.html +++ b/mcaptcha/api/v1/struct.RedirectQuery.html @@ -1,11 +1,11 @@ RedirectQuery in mcaptcha::api::v1 - Rust

Struct mcaptcha::api::v1::RedirectQuery

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

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

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/constant.CACHE_AGE.html b/mcaptcha/constant.CACHE_AGE.html index 120f85f2..8be302cd 100644 --- a/mcaptcha/constant.CACHE_AGE.html +++ b/mcaptcha/constant.CACHE_AGE.html @@ -1 +1 @@ -CACHE_AGE in mcaptcha - Rust

Constant mcaptcha::CACHE_AGE

source ·
pub const CACHE_AGE: u32 = 604800;
\ No newline at end of file +CACHE_AGE in mcaptcha - Rust

Constant mcaptcha::CACHE_AGE

source ·
pub const CACHE_AGE: u32 = 604800;
\ No newline at end of file diff --git a/mcaptcha/constant.COMPILED_DATE.html b/mcaptcha/constant.COMPILED_DATE.html index 16c7f243..ab88d625 100644 --- a/mcaptcha/constant.COMPILED_DATE.html +++ b/mcaptcha/constant.COMPILED_DATE.html @@ -1 +1 @@ -COMPILED_DATE in mcaptcha - Rust

Constant mcaptcha::COMPILED_DATE

source ·
pub const COMPILED_DATE: &str = _;
\ No newline at end of file +COMPILED_DATE in mcaptcha - Rust

Constant mcaptcha::COMPILED_DATE

source ·
pub const COMPILED_DATE: &str = _;
\ No newline at end of file diff --git a/mcaptcha/constant.DOCS.html b/mcaptcha/constant.DOCS.html index 1a80ebf4..b1829412 100644 --- a/mcaptcha/constant.DOCS.html +++ b/mcaptcha/constant.DOCS.html @@ -1 +1 @@ -DOCS in mcaptcha - Rust

Constant mcaptcha::DOCS

source ·
pub const DOCS: Docs;
\ No newline at end of file +DOCS in mcaptcha - Rust

Constant mcaptcha::DOCS

source ·
pub const DOCS: Docs;
\ No newline at end of file diff --git a/mcaptcha/constant.GIT_COMMIT_HASH.html b/mcaptcha/constant.GIT_COMMIT_HASH.html index a358fd51..3179aa5a 100644 --- a/mcaptcha/constant.GIT_COMMIT_HASH.html +++ b/mcaptcha/constant.GIT_COMMIT_HASH.html @@ -1 +1 @@ -GIT_COMMIT_HASH in mcaptcha - Rust

Constant mcaptcha::GIT_COMMIT_HASH

source ·
pub const GIT_COMMIT_HASH: &str = _;
\ No newline at end of file +GIT_COMMIT_HASH in mcaptcha - Rust

Constant mcaptcha::GIT_COMMIT_HASH

source ·
pub const GIT_COMMIT_HASH: &str = _;
\ No newline at end of file diff --git a/mcaptcha/constant.PAGES.html b/mcaptcha/constant.PAGES.html index 63ad9f44..abaf5faa 100644 --- a/mcaptcha/constant.PAGES.html +++ b/mcaptcha/constant.PAGES.html @@ -1 +1 @@ -PAGES in mcaptcha - Rust

Constant mcaptcha::PAGES

source ·
pub const PAGES: Routes;
\ No newline at end of file +PAGES in mcaptcha - Rust

Constant mcaptcha::PAGES

source ·
pub const PAGES: Routes;
\ No newline at end of file diff --git a/mcaptcha/constant.PKG_DESCRIPTION.html b/mcaptcha/constant.PKG_DESCRIPTION.html index b3ad0219..1af9392d 100644 --- a/mcaptcha/constant.PKG_DESCRIPTION.html +++ b/mcaptcha/constant.PKG_DESCRIPTION.html @@ -1 +1 @@ -PKG_DESCRIPTION in mcaptcha - Rust

Constant mcaptcha::PKG_DESCRIPTION

source ·
pub const PKG_DESCRIPTION: &str = _;
\ No newline at end of file +PKG_DESCRIPTION in mcaptcha - Rust

Constant mcaptcha::PKG_DESCRIPTION

source ·
pub const PKG_DESCRIPTION: &str = _;
\ No newline at end of file diff --git a/mcaptcha/constant.PKG_HOMEPAGE.html b/mcaptcha/constant.PKG_HOMEPAGE.html index 69227059..366a7549 100644 --- a/mcaptcha/constant.PKG_HOMEPAGE.html +++ b/mcaptcha/constant.PKG_HOMEPAGE.html @@ -1 +1 @@ -PKG_HOMEPAGE in mcaptcha - Rust

Constant mcaptcha::PKG_HOMEPAGE

source ·
pub const PKG_HOMEPAGE: &str = _;
\ No newline at end of file +PKG_HOMEPAGE in mcaptcha - Rust

Constant mcaptcha::PKG_HOMEPAGE

source ·
pub const PKG_HOMEPAGE: &str = _;
\ No newline at end of file diff --git a/mcaptcha/constant.PKG_NAME.html b/mcaptcha/constant.PKG_NAME.html index 1fa59a6d..17e1d218 100644 --- a/mcaptcha/constant.PKG_NAME.html +++ b/mcaptcha/constant.PKG_NAME.html @@ -1 +1 @@ -PKG_NAME in mcaptcha - Rust

Constant mcaptcha::PKG_NAME

source ·
pub const PKG_NAME: &str = _;
\ No newline at end of file +PKG_NAME in mcaptcha - Rust

Constant mcaptcha::PKG_NAME

source ·
pub const PKG_NAME: &str = _;
\ No newline at end of file diff --git a/mcaptcha/constant.V1_API_ROUTES.html b/mcaptcha/constant.V1_API_ROUTES.html index db17668e..f0df96b3 100644 --- a/mcaptcha/constant.V1_API_ROUTES.html +++ b/mcaptcha/constant.V1_API_ROUTES.html @@ -1 +1 @@ -V1_API_ROUTES in mcaptcha - Rust

Constant mcaptcha::V1_API_ROUTES

source ·
pub const V1_API_ROUTES: Routes;
\ No newline at end of file +V1_API_ROUTES in mcaptcha - Rust

Constant mcaptcha::V1_API_ROUTES

source ·
pub const V1_API_ROUTES: Routes;
\ No newline at end of file diff --git a/mcaptcha/constant.VERSION.html b/mcaptcha/constant.VERSION.html index d66cad73..81030ef5 100644 --- a/mcaptcha/constant.VERSION.html +++ b/mcaptcha/constant.VERSION.html @@ -1 +1 @@ -VERSION in mcaptcha - Rust

Constant mcaptcha::VERSION

source ·
pub const VERSION: &str = _;
\ No newline at end of file +VERSION in mcaptcha - Rust

Constant mcaptcha::VERSION

source ·
pub const VERSION: &str = _;
\ No newline at end of file diff --git a/mcaptcha/constant.WIDGET_ROUTES.html b/mcaptcha/constant.WIDGET_ROUTES.html index 20580c04..334f9d25 100644 --- a/mcaptcha/constant.WIDGET_ROUTES.html +++ b/mcaptcha/constant.WIDGET_ROUTES.html @@ -1 +1 @@ -WIDGET_ROUTES in mcaptcha - Rust

Constant mcaptcha::WIDGET_ROUTES

source ·
pub const WIDGET_ROUTES: Widget;
\ No newline at end of file +WIDGET_ROUTES in mcaptcha - Rust

Constant mcaptcha::WIDGET_ROUTES

source ·
pub const WIDGET_ROUTES: Widget;
\ No newline at end of file diff --git a/mcaptcha/data/enum.SystemGroup.html b/mcaptcha/data/enum.SystemGroup.html index 4413b4c0..12df7496 100644 --- a/mcaptcha/data/enum.SystemGroup.html +++ b/mcaptcha/data/enum.SystemGroup.html @@ -4,12 +4,12 @@ }
Expand description

Represents mCaptcha cache and master system. When Redis is configured, SystemGroup::Redis is used and in its absence, SystemGroup::Embedded is used

-

Variants§

§

Embedded(System<HashCache, EmbeddedMaster>)

§

Redis(System<RedisCache, RedisMaster>)

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.

+

Variants§

§

Embedded(System<HashCache, EmbeddedMaster>)

§

Redis(System<RedisCache, RedisMaster>)

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/data/index.html b/mcaptcha/data/index.html index 82573549..cf3d8036 100644 --- a/mcaptcha/data/index.html +++ b/mcaptcha/data/index.html @@ -1,4 +1,4 @@ mcaptcha::data - Rust

Module mcaptcha::data

source ·
Expand description

App data: redis cache, database connections, etc.

Macros

Structs

App data

Enums

Represents mCaptcha cache and master system. When Redis is configured, SystemGroup::Redis is used and -in its absence, SystemGroup::Embedded is used

Type Definitions

Mailer data type AsyncSmtpTransport
\ No newline at end of file +in its absence, SystemGroup::Embedded is used

Type Definitions

Mailer data type AsyncSmtpTransport
\ No newline at end of file diff --git a/mcaptcha/data/macro.enum_system_actor.html b/mcaptcha/data/macro.enum_system_actor.html index 7ebf0a09..9bbce487 100644 --- a/mcaptcha/data/macro.enum_system_actor.html +++ b/mcaptcha/data/macro.enum_system_actor.html @@ -1,4 +1,4 @@ enum_system_actor in mcaptcha::data - Rust
macro_rules! enum_system_actor {
     ($name:ident, $type:ident) => { ... };
 }
-
\ No newline at end of file +
\ No newline at end of file diff --git a/mcaptcha/data/macro.enum_system_wrapper.html b/mcaptcha/data/macro.enum_system_wrapper.html index bbfb907a..0d2499a2 100644 --- a/mcaptcha/data/macro.enum_system_wrapper.html +++ b/mcaptcha/data/macro.enum_system_wrapper.html @@ -1,4 +1,4 @@ enum_system_wrapper in mcaptcha::data - Rust
macro_rules! enum_system_wrapper {
     ($name:ident, $type:ty, $return_type:ty) => { ... };
 }
-
\ No newline at end of file +
\ No newline at end of file diff --git a/mcaptcha/data/struct.Data.html b/mcaptcha/data/struct.Data.html index cbedf16a..4eb5b541 100644 --- a/mcaptcha/data/struct.Data.html +++ b/mcaptcha/data/struct.Data.html @@ -1,24 +1,24 @@ Data in mcaptcha::data - Rust

Struct mcaptcha::data::Data

source ·
pub struct Data {
-    pub db: Box<dyn MCDatabase>,
+    pub db: Box<dyn MCDatabase>,
     pub creds: Config,
     pub captcha: SystemGroup,
-    pub mailer: Option<AsyncSmtpTransport<Tokio1Executor>>,
+    pub mailer: Option<AsyncSmtpTransport<Tokio1Executor>>,
     pub settings: Settings,
-    pub stats: Box<dyn Stats>,
+    pub stats: Box<dyn Stats>,
 }
Expand description

App data

-

Fields§

§db: Box<dyn MCDatabase>

database ops defined by db crates

+

Fields§

§db: Box<dyn MCDatabase>

database ops defined by db crates

§creds: Config

credential management configuration

§captcha: SystemGroup

mCaptcha system: Redis cache, etc.

-
§mailer: Option<AsyncSmtpTransport<Tokio1Executor>>

email client

+
§mailer: Option<AsyncSmtpTransport<Tokio1Executor>>

email client

§settings: Settings

app settings

-
§stats: Box<dyn Stats>

stats recorder

-

Implementations§

create new instance of app data

-

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.

+
§stats: Box<dyn Stats>

stats recorder

+

Implementations§

create new instance of app data

+

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/data/type.Mailer.html b/mcaptcha/data/type.Mailer.html index 868de21b..a5324180 100644 --- a/mcaptcha/data/type.Mailer.html +++ b/mcaptcha/data/type.Mailer.html @@ -1,2 +1,2 @@ Mailer in mcaptcha::data - Rust

Type Definition mcaptcha::data::Mailer

source ·
Expand description

Mailer data type AsyncSmtpTransport

-
\ No newline at end of file +
\ No newline at end of file diff --git a/mcaptcha/date/constant.DAY.html b/mcaptcha/date/constant.DAY.html index 3a18bee8..10ffec64 100644 --- a/mcaptcha/date/constant.DAY.html +++ b/mcaptcha/date/constant.DAY.html @@ -1 +1 @@ -DAY in mcaptcha::date - Rust

Constant mcaptcha::date::DAY

source ·
pub const DAY: i64 = _; // 86_400i64
\ No newline at end of file +DAY in mcaptcha::date - Rust

Constant mcaptcha::date::DAY

source ·
pub const DAY: i64 = _; // 86_400i64
\ No newline at end of file diff --git a/mcaptcha/date/constant.HOUR.html b/mcaptcha/date/constant.HOUR.html index 22562fa7..f72befe2 100644 --- a/mcaptcha/date/constant.HOUR.html +++ b/mcaptcha/date/constant.HOUR.html @@ -1 +1 @@ -HOUR in mcaptcha::date - Rust

Constant mcaptcha::date::HOUR

source ·
pub const HOUR: i64 = _; // 3_600i64
\ No newline at end of file +HOUR in mcaptcha::date - Rust

Constant mcaptcha::date::HOUR

source ·
pub const HOUR: i64 = _; // 3_600i64
\ No newline at end of file diff --git a/mcaptcha/date/constant.MINUTE.html b/mcaptcha/date/constant.MINUTE.html index a43ea4b9..b5413907 100644 --- a/mcaptcha/date/constant.MINUTE.html +++ b/mcaptcha/date/constant.MINUTE.html @@ -1 +1 @@ -MINUTE in mcaptcha::date - Rust

Constant mcaptcha::date::MINUTE

source ·
pub const MINUTE: i64 = 60;
\ No newline at end of file +MINUTE in mcaptcha::date - Rust

Constant mcaptcha::date::MINUTE

source ·
pub const MINUTE: i64 = 60;
\ No newline at end of file diff --git a/mcaptcha/date/constant.WEEK.html b/mcaptcha/date/constant.WEEK.html index 6cf047b9..2762ae58 100644 --- a/mcaptcha/date/constant.WEEK.html +++ b/mcaptcha/date/constant.WEEK.html @@ -1 +1 @@ -WEEK in mcaptcha::date - Rust

Constant mcaptcha::date::WEEK

source ·
pub const WEEK: i64 = _; // 604_800i64
\ No newline at end of file +WEEK in mcaptcha::date - Rust

Constant mcaptcha::date::WEEK

source ·
pub const WEEK: i64 = _; // 604_800i64
\ No newline at end of file diff --git a/mcaptcha/date/index.html b/mcaptcha/date/index.html index 7796a2f7..32dc2e74 100644 --- a/mcaptcha/date/index.html +++ b/mcaptcha/date/index.html @@ -1 +1 @@ -mcaptcha::date - Rust
\ No newline at end of file +mcaptcha::date - Rust
\ No newline at end of file diff --git a/mcaptcha/date/struct.Date.html b/mcaptcha/date/struct.Date.html index d7473aa7..78aea730 100644 --- a/mcaptcha/date/struct.Date.html +++ b/mcaptcha/date/struct.Date.html @@ -1,13 +1,13 @@ Date in mcaptcha::date - Rust

Struct mcaptcha::date::Date

source ·
pub struct Date {
     pub time: OffsetDateTime,
-}

Fields§

§time: OffsetDateTime

Implementations§

print relative time from date

-

print date

-

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

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§

§time: OffsetDateTime

Implementations§

print relative time from date

+

print date

+

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

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/db/index.html b/mcaptcha/db/index.html index a8fcaea0..0996b160 100644 --- a/mcaptcha/db/index.html +++ b/mcaptcha/db/index.html @@ -1 +1 @@ -mcaptcha::db - Rust
\ No newline at end of file +mcaptcha::db - Rust
\ No newline at end of file diff --git a/mcaptcha/db/maria/fn.get_data.html b/mcaptcha/db/maria/fn.get_data.html index 01112fd3..79505541 100644 --- a/mcaptcha/db/maria/fn.get_data.html +++ b/mcaptcha/db/maria/fn.get_data.html @@ -1 +1 @@ -get_data in mcaptcha::db::maria - Rust

Function mcaptcha::db::maria::get_data

source ·
pub async fn get_data(settings: Option<Settings>) -> Box<dyn MCDatabase>
\ No newline at end of file +get_data in mcaptcha::db::maria - Rust

Function mcaptcha::db::maria::get_data

source ·
pub async fn get_data(settings: Option<Settings>) -> Box<dyn MCDatabase>
\ No newline at end of file diff --git a/mcaptcha/db/maria/index.html b/mcaptcha/db/maria/index.html index 41ed0fef..9c3ba9be 100644 --- a/mcaptcha/db/maria/index.html +++ b/mcaptcha/db/maria/index.html @@ -1 +1 @@ -mcaptcha::db::maria - Rust
\ No newline at end of file +mcaptcha::db::maria - Rust
\ No newline at end of file diff --git a/mcaptcha/db/pg/fn.get_data.html b/mcaptcha/db/pg/fn.get_data.html index 307fc457..fbc8b6cd 100644 --- a/mcaptcha/db/pg/fn.get_data.html +++ b/mcaptcha/db/pg/fn.get_data.html @@ -1 +1 @@ -get_data in mcaptcha::db::pg - Rust

Function mcaptcha::db::pg::get_data

source ·
pub async fn get_data(settings: Option<Settings>) -> Box<dyn MCDatabase>
\ No newline at end of file +get_data in mcaptcha::db::pg - Rust

Function mcaptcha::db::pg::get_data

source ·
pub async fn get_data(settings: Option<Settings>) -> Box<dyn MCDatabase>
\ No newline at end of file diff --git a/mcaptcha/db/pg/index.html b/mcaptcha/db/pg/index.html index 9d74568a..22107731 100644 --- a/mcaptcha/db/pg/index.html +++ b/mcaptcha/db/pg/index.html @@ -1 +1 @@ -mcaptcha::db::pg - Rust
\ No newline at end of file +mcaptcha::db::pg - Rust
\ No newline at end of file diff --git a/mcaptcha/db/type.BoxDB.html b/mcaptcha/db/type.BoxDB.html index 430ec951..e7a0a92f 100644 --- a/mcaptcha/db/type.BoxDB.html +++ b/mcaptcha/db/type.BoxDB.html @@ -1 +1 @@ -BoxDB in mcaptcha::db - Rust

Type Definition mcaptcha::db::BoxDB

source ·
pub type BoxDB = Box<dyn MCDatabase>;
\ No newline at end of file +BoxDB in mcaptcha::db - Rust

Type Definition mcaptcha::db::BoxDB

source ·
pub type BoxDB = Box<dyn MCDatabase>;
\ No newline at end of file diff --git a/mcaptcha/demo/constant.DEMO_PASSWORD.html b/mcaptcha/demo/constant.DEMO_PASSWORD.html index 185437ad..1b9b54ed 100644 --- a/mcaptcha/demo/constant.DEMO_PASSWORD.html +++ b/mcaptcha/demo/constant.DEMO_PASSWORD.html @@ -1,2 +1,2 @@ -DEMO_PASSWORD in mcaptcha::demo - Rust

Constant mcaptcha::demo::DEMO_PASSWORD

source ·
pub const DEMO_PASSWORD: &str = "password";
Expand description

Demo password

-
\ No newline at end of file +DEMO_PASSWORD in mcaptcha::demo - Rust

Constant mcaptcha::demo::DEMO_PASSWORD

source ·
pub const DEMO_PASSWORD: &str = "password";
Expand description

Demo password

+
\ No newline at end of file diff --git a/mcaptcha/demo/constant.DEMO_USER.html b/mcaptcha/demo/constant.DEMO_USER.html index 7bffd335..40341b5e 100644 --- a/mcaptcha/demo/constant.DEMO_USER.html +++ b/mcaptcha/demo/constant.DEMO_USER.html @@ -1,2 +1,2 @@ -DEMO_USER in mcaptcha::demo - Rust

Constant mcaptcha::demo::DEMO_USER

source ·
pub const DEMO_USER: &str = "aaronsw";
Expand description

Demo username

-
\ No newline at end of file +DEMO_USER in mcaptcha::demo - Rust

Constant mcaptcha::demo::DEMO_USER

source ·
pub const DEMO_USER: &str = "aaronsw";
Expand description

Demo username

+
\ No newline at end of file diff --git a/mcaptcha/demo/index.html b/mcaptcha/demo/index.html index 505b7e57..b6fe57e7 100644 --- a/mcaptcha/demo/index.html +++ b/mcaptcha/demo/index.html @@ -1 +1 @@ -mcaptcha::demo - Rust

Module mcaptcha::demo

source ·

Structs

Constants

Demo password
Demo username
\ No newline at end of file +mcaptcha::demo - Rust

Module mcaptcha::demo

source ·

Structs

Constants

Demo password
Demo username
\ No newline at end of file diff --git a/mcaptcha/demo/struct.DemoUser.html b/mcaptcha/demo/struct.DemoUser.html index c34a47e7..4b99807d 100644 --- a/mcaptcha/demo/struct.DemoUser.html +++ b/mcaptcha/demo/struct.DemoUser.html @@ -1,12 +1,12 @@ DemoUser in mcaptcha::demo - Rust

Struct mcaptcha::demo::DemoUser

source ·
pub struct DemoUser {
-    handle: JoinHandle<()>,
-}

Fields§

§handle: JoinHandle<()>

Implementations§

register demo user runner

-

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.

+ handle: JoinHandle<()>, +}

Fields§

§handle: JoinHandle<()>

Implementations§

register demo user runner

+

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/docs/constant.DOCS.html b/mcaptcha/docs/constant.DOCS.html index d0fb8b11..76999c0e 100644 --- a/mcaptcha/docs/constant.DOCS.html +++ b/mcaptcha/docs/constant.DOCS.html @@ -1 +1 @@ -DOCS in mcaptcha::docs - Rust

Constant mcaptcha::docs::DOCS

source ·
pub const DOCS: Docs;
\ No newline at end of file +DOCS in mcaptcha::docs - Rust

Constant mcaptcha::docs::DOCS

source ·
pub const DOCS: Docs;
\ No newline at end of file diff --git a/mcaptcha/docs/constant.OPEN_API_SPEC.html b/mcaptcha/docs/constant.OPEN_API_SPEC.html index 170771a0..19c07242 100644 --- a/mcaptcha/docs/constant.OPEN_API_SPEC.html +++ b/mcaptcha/docs/constant.OPEN_API_SPEC.html @@ -1 +1 @@ -OPEN_API_SPEC in mcaptcha::docs - Rust

Constant mcaptcha::docs::OPEN_API_SPEC

source ·
const OPEN_API_SPEC: &str = _;
\ No newline at end of file +OPEN_API_SPEC in mcaptcha::docs - Rust

Constant mcaptcha::docs::OPEN_API_SPEC

source ·
const OPEN_API_SPEC: &str = _;
\ No newline at end of file diff --git a/mcaptcha/docs/fn.handle_embedded_file.html b/mcaptcha/docs/fn.handle_embedded_file.html index 7f08961f..a5b4b2d7 100644 --- a/mcaptcha/docs/fn.handle_embedded_file.html +++ b/mcaptcha/docs/fn.handle_embedded_file.html @@ -1 +1 @@ -handle_embedded_file in mcaptcha::docs - Rust
pub fn handle_embedded_file(path: &str) -> HttpResponse
\ No newline at end of file +handle_embedded_file in mcaptcha::docs - Rust
pub fn handle_embedded_file(path: &str) -> HttpResponse
\ No newline at end of file diff --git a/mcaptcha/docs/fn.services.html b/mcaptcha/docs/fn.services.html index fe1379d8..17470618 100644 --- a/mcaptcha/docs/fn.services.html +++ b/mcaptcha/docs/fn.services.html @@ -1 +1 @@ -services in mcaptcha::docs - Rust

Function mcaptcha::docs::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::docs - Rust

Function mcaptcha::docs::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/docs/index.html b/mcaptcha/docs/index.html index 0ac1f4a3..4783c749 100644 --- a/mcaptcha/docs/index.html +++ b/mcaptcha/docs/index.html @@ -1 +1 @@ -mcaptcha::docs - Rust
\ No newline at end of file +mcaptcha::docs - Rust
\ No newline at end of file diff --git a/mcaptcha/docs/routes/index.html b/mcaptcha/docs/routes/index.html index 8bce4f9e..94207573 100644 --- a/mcaptcha/docs/routes/index.html +++ b/mcaptcha/docs/routes/index.html @@ -1 +1 @@ -mcaptcha::docs::routes - Rust
\ No newline at end of file +mcaptcha::docs::routes - Rust
\ No newline at end of file diff --git a/mcaptcha/docs/routes/struct.Docs.html b/mcaptcha/docs/routes/struct.Docs.html index 465f40f7..ec921057 100644 --- a/mcaptcha/docs/routes/struct.Docs.html +++ b/mcaptcha/docs/routes/struct.Docs.html @@ -1,13 +1,13 @@ Docs in mcaptcha::docs::routes - Rust

Struct mcaptcha::docs::routes::Docs

source ·
pub struct Docs {
-    pub home: &'static str,
-    pub spec: &'static str,
-    pub assets: &'static str,
-}

Fields§

§home: &'static str§spec: &'static str§assets: &'static str

Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

+ pub home: &'static str, + pub spec: &'static str, + pub assets: &'static str, +}

Fields§

§home: &'static str§spec: &'static str§assets: &'static str

Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

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

Calls U::from(self).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/docs/struct.Asset.html b/mcaptcha/docs/struct.Asset.html index 70c67ecf..b4b2388a 100644 --- a/mcaptcha/docs/struct.Asset.html +++ b/mcaptcha/docs/struct.Asset.html @@ -1,11 +1,11 @@ -Asset in mcaptcha::docs - Rust

Struct mcaptcha::docs::Asset

source ·
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 mcaptcha::docs - Rust

Struct mcaptcha::docs::Asset

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/docs/struct.dist.html b/mcaptcha/docs/struct.dist.html index 3eab2f88..0a331f4b 100644 --- a/mcaptcha/docs/struct.dist.html +++ b/mcaptcha/docs/struct.dist.html @@ -1,9 +1,9 @@ -dist in mcaptcha::docs - Rust

Struct mcaptcha::docs::dist

source ·
pub struct dist;

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.

+dist in mcaptcha::docs - Rust

Struct mcaptcha::docs::dist

source ·
pub struct dist;

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/docs/struct.index.html b/mcaptcha/docs/struct.index.html index 92415730..18c627f6 100644 --- a/mcaptcha/docs/struct.index.html +++ b/mcaptcha/docs/struct.index.html @@ -1,9 +1,9 @@ -index in mcaptcha::docs - Rust

Struct mcaptcha::docs::index

source ·
pub struct index;

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

+index in mcaptcha::docs - Rust

Struct mcaptcha::docs::index

source ·
pub struct index;

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

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

Returns the argument unchanged.

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

Calls U::from(self).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/docs/struct.spec.html b/mcaptcha/docs/struct.spec.html index ffe4b7b4..bf1401aa 100644 --- a/mcaptcha/docs/struct.spec.html +++ b/mcaptcha/docs/struct.spec.html @@ -1,9 +1,9 @@ -spec in mcaptcha::docs - Rust

Struct mcaptcha::docs::spec

source ·
pub struct spec;

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.

+spec in mcaptcha::docs - Rust

Struct mcaptcha::docs::spec

source ·
pub struct spec;

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/email/index.html b/mcaptcha/email/index.html index 63a5b022..43719599 100644 --- a/mcaptcha/email/index.html +++ b/mcaptcha/email/index.html @@ -1 +1 @@ -mcaptcha::email - Rust

Module mcaptcha::email

source ·

Modules

Email operations: verification, notification, etc
\ No newline at end of file +mcaptcha::email - Rust

Module mcaptcha::email

source ·

Modules

Email operations: verification, notification, etc
\ No newline at end of file diff --git a/mcaptcha/email/verification/constant.PAGE.html b/mcaptcha/email/verification/constant.PAGE.html index 9cc3fde9..0d28b710 100644 --- a/mcaptcha/email/verification/constant.PAGE.html +++ b/mcaptcha/email/verification/constant.PAGE.html @@ -1 +1 @@ -PAGE in mcaptcha::email::verification - Rust

Constant mcaptcha::email::verification::PAGE

source ·
const PAGE: &str = "Login";
\ No newline at end of file +PAGE in mcaptcha::email::verification - Rust

Constant mcaptcha::email::verification::PAGE

source ·
const PAGE: &str = "Login";
\ No newline at end of file diff --git a/mcaptcha/email/verification/fn.verification.html b/mcaptcha/email/verification/fn.verification.html index 1125545e..724428d8 100644 --- a/mcaptcha/email/verification/fn.verification.html +++ b/mcaptcha/email/verification/fn.verification.html @@ -1 +1 @@ -verification in mcaptcha::email::verification - Rust
async fn verification(
    data: &Data,
    to: &str,
    verification_link: &str
) -> Result<(), ServiceError>
\ No newline at end of file +verification in mcaptcha::email::verification - Rust
async fn verification(
    data: &Data,
    to: &str,
    verification_link: &str
) -> Result<(), ServiceError>
\ No newline at end of file diff --git a/mcaptcha/email/verification/index.html b/mcaptcha/email/verification/index.html index e8ec8cda..8c38a6fd 100644 --- a/mcaptcha/email/verification/index.html +++ b/mcaptcha/email/verification/index.html @@ -1,2 +1,2 @@ mcaptcha::email::verification - Rust
Expand description

Email operations: verification, notification, etc

-

Structs

IndexPage 🔒

Constants

PAGE 🔒

Functions

\ No newline at end of file +

Structs

IndexPage 🔒

Constants

PAGE 🔒

Functions

\ No newline at end of file diff --git a/mcaptcha/email/verification/struct.IndexPage.html b/mcaptcha/email/verification/struct.IndexPage.html index 49d73d1f..8e83aa39 100644 --- a/mcaptcha/email/verification/struct.IndexPage.html +++ b/mcaptcha/email/verification/struct.IndexPage.html @@ -1,11 +1,11 @@ IndexPage in mcaptcha::email::verification - Rust
struct IndexPage<'a> {
-    verification_link: &'a str,
-}

Fields§

§verification_link: &'a str

Implementations§

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Render the template and return the rendering result as RenderResult Read more
Render the template and append the result to buf. 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.

+ verification_link: &'a str, +}

Fields§

§verification_link: &'a str

Implementations§

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Render the template and return the rendering result as RenderResult Read more
Render the template and append the result to buf. 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).

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/errors/enum.PageError.html b/mcaptcha/errors/enum.PageError.html index 7ad6a31e..f469c189 100644 --- a/mcaptcha/errors/enum.PageError.html +++ b/mcaptcha/errors/enum.PageError.html @@ -1,15 +1,15 @@ PageError in mcaptcha::errors - Rust
pub enum PageError {
     InternalServerError,
     ServiceError(ServiceError),
-}

Variants§

§

InternalServerError

§

ServiceError(ServiceError)

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

+}

Variants§

§

InternalServerError

§

ServiceError(ServiceError)

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.
This method tests for self and other values to be equal, and is used +by ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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 Instrumented wrapper. Read more
Instruments this type with the current Span, returning an -Instrumented wrapper. Read more

Calls U::from(self).

+Instrumented wrapper. Read more

Calls U::from(self).

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 +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 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/mcaptcha/errors/enum.ServiceError.html b/mcaptcha/errors/enum.ServiceError.html index 8723cdbf..cd8b0886 100644 --- a/mcaptcha/errors/enum.ServiceError.html +++ b/mcaptcha/errors/enum.ServiceError.html @@ -32,15 +32,15 @@ profile

§

TokenNotFound

token not found

§

CaptchaError(CaptchaError)

§

DBError(DBErrorWrapper)

§

CaptchaNotFound

captcha not found

§

TrafficPatternNotFound

Traffic pattern not found

-

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.
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 ==.
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
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.

+

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.
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 ==.
This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
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 Instrumented wrapper. Read more
Instruments this type with the current Span, returning an -Instrumented wrapper. Read more

Calls U::from(self).

+Instrumented wrapper. Read more

Calls U::from(self).

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 +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 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/mcaptcha/errors/index.html b/mcaptcha/errors/index.html index 61643ac6..5af0bd5e 100644 --- a/mcaptcha/errors/index.html +++ b/mcaptcha/errors/index.html @@ -1 +1 @@ -mcaptcha::errors - Rust
\ No newline at end of file +mcaptcha::errors - Rust
\ No newline at end of file diff --git a/mcaptcha/errors/struct.DBErrorWrapper.html b/mcaptcha/errors/struct.DBErrorWrapper.html index 555a5b17..246a7912 100644 --- a/mcaptcha/errors/struct.DBErrorWrapper.html +++ b/mcaptcha/errors/struct.DBErrorWrapper.html @@ -1,12 +1,12 @@ -DBErrorWrapper in mcaptcha::errors - Rust
pub struct DBErrorWrapper(DBError);

Tuple Fields§

§0: DBError

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

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.

+DBErrorWrapper in mcaptcha::errors - Rust
pub struct DBErrorWrapper(DBError);

Tuple Fields§

§0: DBError

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

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

+Instrumented wrapper. Read more

Calls U::from(self).

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 +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 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/mcaptcha/errors/struct.ErrorToResponse.html b/mcaptcha/errors/struct.ErrorToResponse.html index 0ebc5c8b..63ab1799 100644 --- a/mcaptcha/errors/struct.ErrorToResponse.html +++ b/mcaptcha/errors/struct.ErrorToResponse.html @@ -1,11 +1,11 @@ ErrorToResponse in mcaptcha::errors - Rust
pub struct ErrorToResponse {
-    pub error: String,
-}

Fields§

§error: String

Trait Implementations§

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 error: String, +}

Fields§

§error: String

Trait Implementations§

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

+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 +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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/mcaptcha/errors/struct.SmtpErrorWrapper.html b/mcaptcha/errors/struct.SmtpErrorWrapper.html index d25ee01c..a8311f50 100644 --- a/mcaptcha/errors/struct.SmtpErrorWrapper.html +++ b/mcaptcha/errors/struct.SmtpErrorWrapper.html @@ -1,12 +1,12 @@ -SmtpErrorWrapper in mcaptcha::errors - Rust
pub struct SmtpErrorWrapper(SmtpError);

Tuple Fields§

§0: SmtpError

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

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.

+SmtpErrorWrapper in mcaptcha::errors - Rust
pub struct SmtpErrorWrapper(SmtpError);

Tuple Fields§

§0: SmtpError

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

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

+Instrumented wrapper. Read more

Calls U::from(self).

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 +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 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/mcaptcha/errors/type.PageResult.html b/mcaptcha/errors/type.PageResult.html index b50cdb90..f4c7e6c5 100644 --- a/mcaptcha/errors/type.PageResult.html +++ b/mcaptcha/errors/type.PageResult.html @@ -1 +1 @@ -PageResult in mcaptcha::errors - Rust

Type Definition mcaptcha::errors::PageResult

source ·
pub type PageResult<V> = Result<V, PageError>;
\ No newline at end of file +PageResult in mcaptcha::errors - Rust

Type Definition mcaptcha::errors::PageResult

source ·
pub type PageResult<V> = Result<V, PageError>;
\ No newline at end of file diff --git a/mcaptcha/errors/type.ServiceResult.html b/mcaptcha/errors/type.ServiceResult.html index ef084953..64f99a7b 100644 --- a/mcaptcha/errors/type.ServiceResult.html +++ b/mcaptcha/errors/type.ServiceResult.html @@ -1 +1 @@ -ServiceResult in mcaptcha::errors - Rust

Type Definition mcaptcha::errors::ServiceResult

source ·
pub type ServiceResult<V> = Result<V, ServiceError>;
\ No newline at end of file +ServiceResult in mcaptcha::errors - Rust

Type Definition mcaptcha::errors::ServiceResult

source ·
pub type ServiceResult<V> = Result<V, ServiceError>;
\ No newline at end of file diff --git a/mcaptcha/fn.get_identity_service.html b/mcaptcha/fn.get_identity_service.html index d658a143..fd61ba36 100644 --- a/mcaptcha/fn.get_identity_service.html +++ b/mcaptcha/fn.get_identity_service.html @@ -1 +1 @@ -get_identity_service in mcaptcha - Rust
pub fn get_identity_service(
    settings: &Settings
) -> IdentityService<CookieIdentityPolicy>
\ No newline at end of file +get_identity_service in mcaptcha - Rust
pub fn get_identity_service(
    settings: &Settings
) -> IdentityService<CookieIdentityPolicy>
\ No newline at end of file diff --git a/mcaptcha/fn.get_json_err.html b/mcaptcha/fn.get_json_err.html index 3f1c9162..817af2c4 100644 --- a/mcaptcha/fn.get_json_err.html +++ b/mcaptcha/fn.get_json_err.html @@ -1 +1 @@ -get_json_err in mcaptcha - Rust

Function mcaptcha::get_json_err

source ·
pub fn get_json_err() -> JsonConfig
\ No newline at end of file +get_json_err in mcaptcha - Rust

Function mcaptcha::get_json_err

source ·
pub fn get_json_err() -> JsonConfig
\ No newline at end of file diff --git a/mcaptcha/fn.main.html b/mcaptcha/fn.main.html index cf0c7790..ab027a4b 100644 --- a/mcaptcha/fn.main.html +++ b/mcaptcha/fn.main.html @@ -1 +1 @@ -main in mcaptcha - Rust

Function mcaptcha::main

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

Function mcaptcha::main

source ·
pub(crate) fn main() -> Result<()>
\ No newline at end of file diff --git a/mcaptcha/index.html b/mcaptcha/index.html index ddafd68d..0169a7d5 100644 --- a/mcaptcha/index.html +++ b/mcaptcha/index.html @@ -1 +1 @@ -mcaptcha - Rust
\ No newline at end of file +mcaptcha - Rust
\ No newline at end of file diff --git a/mcaptcha/pages/auth/fn.services.html b/mcaptcha/pages/auth/fn.services.html index 3a83e902..69e57859 100644 --- a/mcaptcha/pages/auth/fn.services.html +++ b/mcaptcha/pages/auth/fn.services.html @@ -1 +1 @@ -services in mcaptcha::pages::auth - Rust

Function mcaptcha::pages::auth::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::pages::auth - Rust

Function mcaptcha::pages::auth::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/pages/auth/index.html b/mcaptcha/pages/auth/index.html index a7fc6e4a..697599aa 100644 --- a/mcaptcha/pages/auth/index.html +++ b/mcaptcha/pages/auth/index.html @@ -1 +1 @@ -mcaptcha::pages::auth - Rust
\ No newline at end of file +mcaptcha::pages::auth - Rust
\ No newline at end of file diff --git a/mcaptcha/pages/auth/login/constant.PAGE.html b/mcaptcha/pages/auth/login/constant.PAGE.html index d5c4aff8..51d781b2 100644 --- a/mcaptcha/pages/auth/login/constant.PAGE.html +++ b/mcaptcha/pages/auth/login/constant.PAGE.html @@ -1 +1 @@ -PAGE in mcaptcha::pages::auth::login - Rust

Constant mcaptcha::pages::auth::login::PAGE

source ·
const PAGE: &str = "Login";
\ No newline at end of file +PAGE in mcaptcha::pages::auth::login - Rust

Constant mcaptcha::pages::auth::login::PAGE

source ·
const PAGE: &str = "Login";
\ No newline at end of file diff --git a/mcaptcha/pages/auth/login/index.html b/mcaptcha/pages/auth/login/index.html index 1ed15312..abd9c818 100644 --- a/mcaptcha/pages/auth/login/index.html +++ b/mcaptcha/pages/auth/login/index.html @@ -1 +1 @@ -mcaptcha::pages::auth::login - Rust
\ No newline at end of file +mcaptcha::pages::auth::login - Rust
\ No newline at end of file diff --git a/mcaptcha/pages/auth/login/struct.INDEX.html b/mcaptcha/pages/auth/login/struct.INDEX.html index b6dc0ffe..348af045 100644 --- a/mcaptcha/pages/auth/login/struct.INDEX.html +++ b/mcaptcha/pages/auth/login/struct.INDEX.html @@ -1,28 +1,28 @@ INDEX in mcaptcha::pages::auth::login - Rust

Struct mcaptcha::pages::auth::login::INDEX

source ·
struct INDEX {
-    __private_field: (),
-}

Fields§

§__private_field: ()

Methods from Deref<Target = String>§

Extracts a string slice containing the entire String.

+ __private_field: (), +}

Fields§

§__private_field: ()

Methods from Deref<Target = String>§

Extracts a string slice containing the entire String.

Examples

Basic usage:

let s = String::from("foo");
 
 assert_eq!("foo", s.as_str());
-

Returns this String’s capacity, in bytes.

+

Returns this String’s capacity, in bytes.

Examples

Basic usage:

let s = String::with_capacity(10);
 
 assert!(s.capacity() >= 10);
-

Returns a byte slice of this String’s contents.

-

The inverse of this method is from_utf8.

+

Returns a byte slice of this String’s contents.

+

The inverse of this method is from_utf8.

Examples

Basic usage:

let s = String::from("hello");
 
 assert_eq!(&[104, 101, 108, 108, 111], s.as_bytes());
-

Returns the length of this String, in bytes, not chars or +

Returns the length of this String, in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

Examples
@@ -34,7 +34,7 @@ length of the string.

let fancy_f = String::from("ƒoo"); assert_eq!(fancy_f.len(), 4); assert_eq!(fancy_f.chars().count(), 3);
-

Returns true if this String has a length of zero, and false otherwise.

+

Returns true if this String has a length of zero, and false otherwise.

Examples

Basic usage:

@@ -43,8 +43,8 @@ length of the string.

v.push('a'); assert!(!v.is_empty());
-

Methods from Deref<Target = str>§

Returns the length of self.

-

This length is in bytes, not chars or graphemes. In other words, +

Methods from Deref<Target = 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:

@@ -54,7 +54,7 @@ it might not be what a human considers the length of the string.

assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
-

Returns true if self has a length of zero bytes.

+

Returns true if self has a length of zero bytes.

Examples

Basic usage:

@@ -63,7 +63,7 @@ it might not be what a human considers the length of the string.

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

Checks that index-th byte is the first byte in a UTF-8 code point +

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.

@@ -80,7 +80,7 @@ considered to be boundaries.

// 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 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 @@ -95,8 +95,8 @@ includes 🧑 (person) instead.

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 +

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

@@ -109,14 +109,14 @@ for more details.

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.

+

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 mutable string slice to a mutable byte slice.

+

Converts a mutable string slice to a mutable byte slice.

Safety

The caller must ensure that the content of the slice is valid UTF-8 before the borrow ends and the underlying str is used.

@@ -142,26 +142,26 @@ before the borrow ends and the underlying str is used.

} assert_eq!("🍔∈🌏", s);
-

Converts a string slice to a raw pointer.

+

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

+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();
-

Converts a mutable string slice to a raw pointer.

+

Converts a mutable 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 +u8. This pointer will be pointing to the first byte of the string slice.

It is your responsibility to make sure that the string slice only gets modified in a way that it remains valid UTF-8.

-

Returns a subslice of str.

+

Returns a subslice of str.

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

+None whenever equivalent indexing operation would panic.

Examples
let v = String::from("🗻∈🌏");
 
@@ -173,9 +173,9 @@ modified in a way that it remains valid UTF-8.

// out of bounds assert!(v.get(..42).is_none());
-

Returns a mutable subslice of str.

+

Returns a mutable subslice of str.

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

+None whenever equivalent indexing operation would panic.

Examples
let mut v = String::from("hello");
 // correct length
@@ -194,7 +194,7 @@ modified in a way that it remains valid UTF-8.

assert_eq!(Some("HE"), s); } assert_eq!("HEllo", v);
-

Returns an unchecked subslice of str.

+

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 @@ -213,7 +213,7 @@ violate the invariants communicated by the str type.

assert_eq!("∈", v.get_unchecked(4..7)); assert_eq!("🌏", v.get_unchecked(7..11)); }
-

Returns a mutable, unchecked subslice of str.

+

Returns a mutable, unchecked subslice of str.

This is the unchecked alternative to indexing the str.

Safety

Callers of this function are responsible that these preconditions are @@ -232,14 +232,14 @@ violate the invariants communicated by the str type.

assert_eq!("∈", v.get_unchecked_mut(4..7)); assert_eq!("🌏", v.get_unchecked_mut(7..11)); }
-
👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

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

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

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

+slice_mut_unchecked method.

Safety

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

@@ -262,14 +262,14 @@ satisfied:

unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
-
👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

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

👎Deprecated since 1.29.0: use get_unchecked_mut(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 IndexMut.

+alternative see str and IndexMut.

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

To get an immutable string slice instead, see the -slice_unchecked method.

+slice_unchecked method.

Safety

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

@@ -278,12 +278,12 @@ satisfied:

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

    Divide one string slice into two at an index.

    +

    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 +

    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 @@ -297,12 +297,12 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -

    Divide one mutable string slice into two at an index.

    +

    Divide one mutable 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 immutable string slices instead, see the split_at method.

    +

    To get immutable string slices instead, see the split_at 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.

    @@ -317,10 +317,10 @@ past the end of the last code point of the string slice.

    assert_eq!(" Martin-Löf", last); } assert_eq!("PER Martin-Löf", s);
    -

    Returns an iterator over the chars of a string slice.

    +

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

    @@ -343,7 +343,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -353,12 +353,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -

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

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

    @@ -379,7 +379,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -393,7 +393,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    An iterator over the bytes of a string slice.

    +

    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
    @@ -407,12 +407,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -

    Splits a string slice by whitespace.

    +

    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.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -437,10 +437,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -

    Splits a string slice by ASCII whitespace.

    +

    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.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -465,7 +465,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -

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

    +

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

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -495,8 +495,8 @@ without a final line ending.

    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.

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

    @@ -506,10 +506,10 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -

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

    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 +

    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:

    @@ -518,10 +518,10 @@ function or closure that determines if a character matches.

    assert!(bananas.contains("nana")); assert!(!bananas.contains("apples"));
    -

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

    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 +

    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:

    @@ -530,10 +530,10 @@ function or closure that determines if a character matches.

    assert!(bananas.starts_with("bana")); assert!(!bananas.starts_with("nana"));
    -

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

    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 +

    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:

    @@ -542,10 +542,10 @@ function or closure that determines if a character matches.

    assert!(bananas.ends_with("anas")); assert!(!bananas.ends_with("nana"));
    -

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

    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 +

    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:

    @@ -569,10 +569,10 @@ function or closure that determines if a character matches.

    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 +

    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 +

    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:

    @@ -594,16 +594,16 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -

    An iterator over substrings of this string slice, separated by +

    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 +

    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 +

    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.

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

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -666,12 +666,12 @@ when whitespace is used as the separator. This code is correct:

    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 +

    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 +

    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."
    @@ -684,15 +684,15 @@ 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 +

    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 +

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

    +

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

    Examples

    Simple patterns:

    @@ -711,20 +711,20 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rsplit_terminator method can be used.

    Examples

    Basic usage:

    @@ -736,11 +736,11 @@ from a forward search, the 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 +

    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 +

    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 +

    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.

    @@ -748,7 +748,7 @@ rather than separated by a pattern.

    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 +

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

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -759,16 +759,16 @@ used.

    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 +

    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 +

    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 +

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

    Examples

    Simple patterns:

    @@ -788,17 +788,17 @@ used.

    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 +

    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 +

    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.

    +

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

    Examples

    Simple patterns:

    @@ -814,29 +814,29 @@ efficient to support.

    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 +

    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 +

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rmatches method can be used.

    Examples

    Basic usage:

    @@ -845,15 +845,15 @@ from a forward search, the 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, +

    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 +

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

    +

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

    Examples

    Basic usage:

    @@ -862,18 +862,18 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rmatch_indices method can be used.

    Examples

    Basic usage:

    @@ -885,17 +885,17 @@ from a forward search, the 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, +

    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 +

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

    +

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

    Examples

    Basic usage:

    @@ -907,7 +907,7 @@ search yields the same elements.

    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.

    +

    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
    @@ -916,7 +916,7 @@ Core Property White_Space, which includes newlines.

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

    Returns a string slice with leading whitespace removed.

    +

    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
    @@ -936,7 +936,7 @@ Arabic or Hebrew, this will be the right side.

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

    Returns a string slice with trailing whitespace removed.

    +

    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
    @@ -956,7 +956,7 @@ Arabic or Hebrew, this will be the left side.

    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.

    +
    👎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
    @@ -977,7 +977,7 @@ the right side, not the left.

    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.

    +
    👎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
    @@ -998,9 +998,9 @@ the left side, not the right.

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

    Returns a string slice with all prefixes and suffixes that match a +

    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 +

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

    Examples

    Simple patterns:

    @@ -1013,9 +1013,9 @@ or closure that determines if a character matches.

    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 +

    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 +

    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 @@ -1030,29 +1030,29 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -

    Returns a string slice with the prefix removed.

    +

    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 +

    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.

    +

    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 +

    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 +

    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 +

    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 @@ -1070,9 +1070,9 @@ Arabic or Hebrew, this will be the left side.

    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 +

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

    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 @@ -1087,9 +1087,9 @@ the right side, not the left.

    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 +

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

    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 @@ -1107,15 +1107,15 @@ the left side, not the right.

    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.

    +

    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.

    +

    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 +

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

    Examples

    Basic usage

    @@ -1133,21 +1133,21 @@ the desired type.

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

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

    +

    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.

    +

    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"));
    -

    Converts this string to its ASCII upper case equivalent in-place.

    +

    Converts this string to its ASCII upper case equivalent in-place.

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

    To return a new uppercased value without modifying the existing one, use @@ -1158,7 +1158,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_uppercase(); assert_eq!("GRüßE, JüRGEN ❤", s);
    -

    Converts this string to its ASCII lower case equivalent in-place.

    +

    Converts this string to its ASCII lower case equivalent in-place.

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

    To return a new lowercased value without modifying the existing one, use @@ -1169,7 +1169,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_lowercase(); assert_eq!("grÜße, jÜrgen ❤", s);
    -

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

    +

    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
    @@ -1188,7 +1188,7 @@ escaped.

    Using to_string:

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

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

    +

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

    Examples

    As an iterator:

    @@ -1205,7 +1205,7 @@ escaped.

    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.

    +

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

    Examples

    As an iterator:

    @@ -1222,8 +1222,8 @@ escaped.

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

    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
    @@ -1237,8 +1237,8 @@ replaces them with the replacement string slice.

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

    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
    @@ -1252,11 +1252,11 @@ replaces them with the replacement string slice at most count times
    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.

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1279,11 +1279,11 @@ parameter in-place.

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

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

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1301,7 +1301,7 @@ parameter in-place.

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

    Creates a new String by repeating a string n times.

    +

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1312,34 +1312,34 @@ parameter in-place.

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

    Returns a copy of this string where each character is mapped to its +

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

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

    +

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/auth/login/struct.IndexPage.html b/mcaptcha/pages/auth/login/struct.IndexPage.html index fcee8336..725741ad 100644 --- a/mcaptcha/pages/auth/login/struct.IndexPage.html +++ b/mcaptcha/pages/auth/login/struct.IndexPage.html @@ -1,9 +1,9 @@ -IndexPage in mcaptcha::pages::auth::login - Rust
    struct IndexPage;

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Returns the “default value” for a type. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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.

    +IndexPage in mcaptcha::pages::auth::login - Rust
    struct IndexPage;

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Returns the “default value” for a type. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/auth/login/struct.login.html b/mcaptcha/pages/auth/login/struct.login.html index a07ad356..cda7e0c2 100644 --- a/mcaptcha/pages/auth/login/struct.login.html +++ b/mcaptcha/pages/auth/login/struct.login.html @@ -1,9 +1,9 @@ -login in mcaptcha::pages::auth::login - Rust

    Struct mcaptcha::pages::auth::login::login

    source ·
    pub struct login;

    Trait Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

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

    Returns the argument unchanged.

    +login in mcaptcha::pages::auth::login - Rust

    Struct mcaptcha::pages::auth::login::login

    source ·
    pub struct login;

    Trait Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

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

    Returns the argument unchanged.

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

    Calls U::from(self).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/auth/register/constant.PAGE.html b/mcaptcha/pages/auth/register/constant.PAGE.html index c00cd069..fa413942 100644 --- a/mcaptcha/pages/auth/register/constant.PAGE.html +++ b/mcaptcha/pages/auth/register/constant.PAGE.html @@ -1 +1 @@ -PAGE in mcaptcha::pages::auth::register - Rust

    Constant mcaptcha::pages::auth::register::PAGE

    source ·
    const PAGE: &str = "Join";
    \ No newline at end of file +PAGE in mcaptcha::pages::auth::register - Rust

    Constant mcaptcha::pages::auth::register::PAGE

    source ·
    const PAGE: &str = "Join";
    \ No newline at end of file diff --git a/mcaptcha/pages/auth/register/index.html b/mcaptcha/pages/auth/register/index.html index 9f9b2e00..320bda51 100644 --- a/mcaptcha/pages/auth/register/index.html +++ b/mcaptcha/pages/auth/register/index.html @@ -1 +1 @@ -mcaptcha::pages::auth::register - Rust
    \ No newline at end of file +mcaptcha::pages::auth::register - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/auth/register/struct.INDEX.html b/mcaptcha/pages/auth/register/struct.INDEX.html index 86927ce7..baa2cdb8 100644 --- a/mcaptcha/pages/auth/register/struct.INDEX.html +++ b/mcaptcha/pages/auth/register/struct.INDEX.html @@ -1,28 +1,28 @@ INDEX in mcaptcha::pages::auth::register - Rust

    Struct mcaptcha::pages::auth::register::INDEX

    source ·
    struct INDEX {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    Extracts a string slice containing the entire String.

    + __private_field: (), +}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    Extracts a string slice containing the entire String.

    Examples

    Basic usage:

    let s = String::from("foo");
     
     assert_eq!("foo", s.as_str());
    -

    Returns this String’s capacity, in bytes.

    +

    Returns this String’s capacity, in bytes.

    Examples

    Basic usage:

    let s = String::with_capacity(10);
     
     assert!(s.capacity() >= 10);
    -

    Returns a byte slice of this String’s contents.

    -

    The inverse of this method is from_utf8.

    +

    Returns a byte slice of this String’s contents.

    +

    The inverse of this method is from_utf8.

    Examples

    Basic usage:

    let s = String::from("hello");
     
     assert_eq!(&[104, 101, 108, 108, 111], s.as_bytes());
    -

    Returns the length of this String, in bytes, not chars or +

    Returns the length of this String, in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    @@ -34,7 +34,7 @@ length of the string.

    let fancy_f = String::from("ƒoo"); assert_eq!(fancy_f.len(), 4); assert_eq!(fancy_f.chars().count(), 3);
    -

    Returns true if this String has a length of zero, and false otherwise.

    +

    Returns true if this String has a length of zero, and false otherwise.

    Examples

    Basic usage:

    @@ -43,8 +43,8 @@ length of the string.

    v.push('a'); assert!(!v.is_empty());
    -

    Methods from Deref<Target = str>§

    Returns the length of self.

    -

    This length is in bytes, not chars or graphemes. In other words, +

    Methods from Deref<Target = 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:

    @@ -54,7 +54,7 @@ it might not be what a human considers the length of the string.

    assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
    -

    Returns true if self has a length of zero bytes.

    +

    Returns true if self has a length of zero bytes.

    Examples

    Basic usage:

    @@ -63,7 +63,7 @@ it might not be what a human considers the length of the string.

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

    Checks that index-th byte is the first byte in a UTF-8 code point +

    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.

    @@ -80,7 +80,7 @@ considered to be boundaries.

    // 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 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 @@ -95,8 +95,8 @@ includes 🧑 (person) instead.

    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 +

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

    @@ -109,14 +109,14 @@ for more details.

    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.

    +

    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 mutable string slice to a mutable byte slice.

    +

    Converts a mutable string slice to a mutable byte slice.

    Safety

    The caller must ensure that the content of the slice is valid UTF-8 before the borrow ends and the underlying str is used.

    @@ -142,26 +142,26 @@ before the borrow ends and the underlying str is used.

    } assert_eq!("🍔∈🌏", s);
    -

    Converts a string slice to a raw pointer.

    +

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

    +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();
    -

    Converts a mutable string slice to a raw pointer.

    +

    Converts a mutable 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 +u8. This pointer will be pointing to the first byte of the string slice.

    It is your responsibility to make sure that the string slice only gets modified in a way that it remains valid UTF-8.

    -

    Returns a subslice of str.

    +

    Returns a subslice of str.

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

    +None whenever equivalent indexing operation would panic.

    Examples
    let v = String::from("🗻∈🌏");
     
    @@ -173,9 +173,9 @@ modified in a way that it remains valid UTF-8.

    // out of bounds assert!(v.get(..42).is_none());
    -

    Returns a mutable subslice of str.

    +

    Returns a mutable subslice of str.

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

    +None whenever equivalent indexing operation would panic.

    Examples
    let mut v = String::from("hello");
     // correct length
    @@ -194,7 +194,7 @@ modified in a way that it remains valid UTF-8.

    assert_eq!(Some("HE"), s); } assert_eq!("HEllo", v);
    -

    Returns an unchecked subslice of str.

    +

    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 @@ -213,7 +213,7 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked(4..7)); assert_eq!("🌏", v.get_unchecked(7..11)); }
    -

    Returns a mutable, unchecked subslice of str.

    +

    Returns a mutable, unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -232,14 +232,14 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked_mut(4..7)); assert_eq!("🌏", v.get_unchecked_mut(7..11)); }
    -
    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

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

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

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

    +slice_mut_unchecked method.

    Safety

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

    @@ -262,14 +262,14 @@ satisfied:

    unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
    -
    👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

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

    👎Deprecated since 1.29.0: use get_unchecked_mut(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 IndexMut.

    +alternative see str and IndexMut.

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

    To get an immutable string slice instead, see the -slice_unchecked method.

    +slice_unchecked method.

    Safety

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

    @@ -278,12 +278,12 @@ satisfied:

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

    Divide one string slice into two at an index.

    +

    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 +

    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 @@ -297,12 +297,12 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -

    Divide one mutable string slice into two at an index.

    +

    Divide one mutable 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 immutable string slices instead, see the split_at method.

    +

    To get immutable string slices instead, see the split_at 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.

    @@ -317,10 +317,10 @@ past the end of the last code point of the string slice.

    assert_eq!(" Martin-Löf", last); } assert_eq!("PER Martin-Löf", s);
    -

    Returns an iterator over the chars of a string slice.

    +

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

    @@ -343,7 +343,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -353,12 +353,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -

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

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

    @@ -379,7 +379,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -393,7 +393,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    An iterator over the bytes of a string slice.

    +

    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
    @@ -407,12 +407,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -

    Splits a string slice by whitespace.

    +

    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.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -437,10 +437,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -

    Splits a string slice by ASCII whitespace.

    +

    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.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -465,7 +465,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -

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

    +

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

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -495,8 +495,8 @@ without a final line ending.

    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.

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

    @@ -506,10 +506,10 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -

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

    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 +

    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:

    @@ -518,10 +518,10 @@ function or closure that determines if a character matches.

    assert!(bananas.contains("nana")); assert!(!bananas.contains("apples"));
    -

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

    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 +

    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:

    @@ -530,10 +530,10 @@ function or closure that determines if a character matches.

    assert!(bananas.starts_with("bana")); assert!(!bananas.starts_with("nana"));
    -

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

    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 +

    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:

    @@ -542,10 +542,10 @@ function or closure that determines if a character matches.

    assert!(bananas.ends_with("anas")); assert!(!bananas.ends_with("nana"));
    -

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

    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 +

    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:

    @@ -569,10 +569,10 @@ function or closure that determines if a character matches.

    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 +

    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 +

    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:

    @@ -594,16 +594,16 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -

    An iterator over substrings of this string slice, separated by +

    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 +

    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 +

    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.

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

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -666,12 +666,12 @@ when whitespace is used as the separator. This code is correct:

    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 +

    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 +

    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."
    @@ -684,15 +684,15 @@ 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 +

    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 +

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

    +

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

    Examples

    Simple patterns:

    @@ -711,20 +711,20 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rsplit_terminator method can be used.

    Examples

    Basic usage:

    @@ -736,11 +736,11 @@ from a forward search, the 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 +

    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 +

    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 +

    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.

    @@ -748,7 +748,7 @@ rather than separated by a pattern.

    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 +

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

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -759,16 +759,16 @@ used.

    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 +

    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 +

    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 +

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

    Examples

    Simple patterns:

    @@ -788,17 +788,17 @@ used.

    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 +

    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 +

    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.

    +

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

    Examples

    Simple patterns:

    @@ -814,29 +814,29 @@ efficient to support.

    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 +

    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 +

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rmatches method can be used.

    Examples

    Basic usage:

    @@ -845,15 +845,15 @@ from a forward search, the 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, +

    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 +

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

    +

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

    Examples

    Basic usage:

    @@ -862,18 +862,18 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rmatch_indices method can be used.

    Examples

    Basic usage:

    @@ -885,17 +885,17 @@ from a forward search, the 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, +

    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 +

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

    +

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

    Examples

    Basic usage:

    @@ -907,7 +907,7 @@ search yields the same elements.

    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.

    +

    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
    @@ -916,7 +916,7 @@ Core Property White_Space, which includes newlines.

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

    Returns a string slice with leading whitespace removed.

    +

    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
    @@ -936,7 +936,7 @@ Arabic or Hebrew, this will be the right side.

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

    Returns a string slice with trailing whitespace removed.

    +

    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
    @@ -956,7 +956,7 @@ Arabic or Hebrew, this will be the left side.

    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.

    +
    👎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
    @@ -977,7 +977,7 @@ the right side, not the left.

    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.

    +
    👎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
    @@ -998,9 +998,9 @@ the left side, not the right.

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

    Returns a string slice with all prefixes and suffixes that match a +

    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 +

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

    Examples

    Simple patterns:

    @@ -1013,9 +1013,9 @@ or closure that determines if a character matches.

    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 +

    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 +

    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 @@ -1030,29 +1030,29 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -

    Returns a string slice with the prefix removed.

    +

    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 +

    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.

    +

    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 +

    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 +

    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 +

    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 @@ -1070,9 +1070,9 @@ Arabic or Hebrew, this will be the left side.

    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 +

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

    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 @@ -1087,9 +1087,9 @@ the right side, not the left.

    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 +

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

    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 @@ -1107,15 +1107,15 @@ the left side, not the right.

    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.

    +

    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.

    +

    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 +

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

    Examples

    Basic usage

    @@ -1133,21 +1133,21 @@ the desired type.

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

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

    +

    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.

    +

    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"));
    -

    Converts this string to its ASCII upper case equivalent in-place.

    +

    Converts this string to its ASCII upper case equivalent in-place.

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

    To return a new uppercased value without modifying the existing one, use @@ -1158,7 +1158,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_uppercase(); assert_eq!("GRüßE, JüRGEN ❤", s);
    -

    Converts this string to its ASCII lower case equivalent in-place.

    +

    Converts this string to its ASCII lower case equivalent in-place.

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

    To return a new lowercased value without modifying the existing one, use @@ -1169,7 +1169,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_lowercase(); assert_eq!("grÜße, jÜrgen ❤", s);
    -

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

    +

    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
    @@ -1188,7 +1188,7 @@ escaped.

    Using to_string:

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

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

    +

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

    Examples

    As an iterator:

    @@ -1205,7 +1205,7 @@ escaped.

    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.

    +

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

    Examples

    As an iterator:

    @@ -1222,8 +1222,8 @@ escaped.

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

    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
    @@ -1237,8 +1237,8 @@ replaces them with the replacement string slice.

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

    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
    @@ -1252,11 +1252,11 @@ replaces them with the replacement string slice at most count times
    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.

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1279,11 +1279,11 @@ parameter in-place.

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

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

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1301,7 +1301,7 @@ parameter in-place.

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

    Creates a new String by repeating a string n times.

    +

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1312,34 +1312,34 @@ parameter in-place.

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

    Returns a copy of this string where each character is mapped to its +

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

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

    +

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/auth/register/struct.IndexPage.html b/mcaptcha/pages/auth/register/struct.IndexPage.html index 64af5913..74f9eaa5 100644 --- a/mcaptcha/pages/auth/register/struct.IndexPage.html +++ b/mcaptcha/pages/auth/register/struct.IndexPage.html @@ -1,9 +1,9 @@ -IndexPage in mcaptcha::pages::auth::register - Rust
    struct IndexPage;

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Returns the “default value” for a type. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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.

    +IndexPage in mcaptcha::pages::auth::register - Rust
    struct IndexPage;

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Returns the “default value” for a type. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/auth/register/struct.join.html b/mcaptcha/pages/auth/register/struct.join.html index 2798c6aa..b773670e 100644 --- a/mcaptcha/pages/auth/register/struct.join.html +++ b/mcaptcha/pages/auth/register/struct.join.html @@ -1,9 +1,9 @@ -join in mcaptcha::pages::auth::register - Rust

    Struct mcaptcha::pages::auth::register::join

    source ·
    pub struct join;

    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.

    +join in mcaptcha::pages::auth::register - Rust

    Struct mcaptcha::pages::auth::register::join

    source ·
    pub struct join;

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/auth/routes/index.html b/mcaptcha/pages/auth/routes/index.html index f15015d9..8ae1dead 100644 --- a/mcaptcha/pages/auth/routes/index.html +++ b/mcaptcha/pages/auth/routes/index.html @@ -1 +1 @@ -mcaptcha::pages::auth::routes - Rust
    \ No newline at end of file +mcaptcha::pages::auth::routes - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/auth/routes/struct.Auth.html b/mcaptcha/pages/auth/routes/struct.Auth.html index 5263b197..5750e100 100644 --- a/mcaptcha/pages/auth/routes/struct.Auth.html +++ b/mcaptcha/pages/auth/routes/struct.Auth.html @@ -1,12 +1,12 @@ Auth in mcaptcha::pages::auth::routes - Rust

    Struct mcaptcha::pages::auth::routes::Auth

    source ·
    pub struct Auth {
    -    pub login: &'static str,
    -    pub join: &'static str,
    -}

    Fields§

    §login: &'static str§join: &'static str

    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.

    + pub login: &'static str, + pub join: &'static str, +}

    Fields§

    §login: &'static str§join: &'static str

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/auth/sudo/constant.PAGE.html b/mcaptcha/pages/auth/sudo/constant.PAGE.html index cb319c0a..801f58e5 100644 --- a/mcaptcha/pages/auth/sudo/constant.PAGE.html +++ b/mcaptcha/pages/auth/sudo/constant.PAGE.html @@ -1 +1 @@ -PAGE in mcaptcha::pages::auth::sudo - Rust

    Constant mcaptcha::pages::auth::sudo::PAGE

    source ·
    pub const PAGE: &str = "Confirm Access";
    \ No newline at end of file +PAGE in mcaptcha::pages::auth::sudo - Rust

    Constant mcaptcha::pages::auth::sudo::PAGE

    source ·
    pub const PAGE: &str = "Confirm Access";
    \ No newline at end of file diff --git a/mcaptcha/pages/auth/sudo/index.html b/mcaptcha/pages/auth/sudo/index.html index 5ba9db24..1fba538e 100644 --- a/mcaptcha/pages/auth/sudo/index.html +++ b/mcaptcha/pages/auth/sudo/index.html @@ -1 +1 @@ -mcaptcha::pages::auth::sudo - Rust
    \ No newline at end of file +mcaptcha::pages::auth::sudo - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/auth/sudo/struct.SudoPage.html b/mcaptcha/pages/auth/sudo/struct.SudoPage.html index ba9cf73b..665a7561 100644 --- a/mcaptcha/pages/auth/sudo/struct.SudoPage.html +++ b/mcaptcha/pages/auth/sudo/struct.SudoPage.html @@ -1,12 +1,12 @@ -SudoPage in mcaptcha::pages::auth::sudo - Rust

    Struct mcaptcha::pages::auth::sudo::SudoPage

    source ·
    pub struct SudoPage<'a, K, V>where
        K: Display + Render,
        V: Display + Render,
    { - url: &'a str, - data: Option<Vec<(K, V)>>, -}

    Fields§

    §url: &'a str§data: Option<Vec<(K, V)>>

    Implementations§

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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.

    +SudoPage in mcaptcha::pages::auth::sudo - Rust

    Struct mcaptcha::pages::auth::sudo::SudoPage

    source ·
    pub struct SudoPage<'a, K, V>where
        K: Display + Render,
        V: Display + Render,
    { + url: &'a str, + data: Option<Vec<(K, V)>>, +}

    Fields§

    §url: &'a str§data: Option<Vec<(K, V)>>

    Implementations§

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/constant.NAME.html b/mcaptcha/pages/constant.NAME.html index dbfbcaf6..7535b55e 100644 --- a/mcaptcha/pages/constant.NAME.html +++ b/mcaptcha/pages/constant.NAME.html @@ -1 +1 @@ -NAME in mcaptcha::pages - Rust

    Constant mcaptcha::pages::NAME

    source ·
    pub const NAME: &str = "mCaptcha";
    \ No newline at end of file +NAME in mcaptcha::pages - Rust

    Constant mcaptcha::pages::NAME

    source ·
    pub const NAME: &str = "mCaptcha";
    \ No newline at end of file diff --git a/mcaptcha/pages/errors/constant.ERROR_ROUTE.html b/mcaptcha/pages/errors/constant.ERROR_ROUTE.html index df4ac136..bed0dca6 100644 --- a/mcaptcha/pages/errors/constant.ERROR_ROUTE.html +++ b/mcaptcha/pages/errors/constant.ERROR_ROUTE.html @@ -1 +1 @@ -ERROR_ROUTE in mcaptcha::pages::errors - Rust

    Constant mcaptcha::pages::errors::ERROR_ROUTE

    source ·
    const ERROR_ROUTE: &str = "/error/{id}";
    \ No newline at end of file +ERROR_ROUTE in mcaptcha::pages::errors - Rust

    Constant mcaptcha::pages::errors::ERROR_ROUTE

    source ·
    const ERROR_ROUTE: &str = "/error/{id}";
    \ No newline at end of file diff --git a/mcaptcha/pages/errors/constant.PAGE.html b/mcaptcha/pages/errors/constant.PAGE.html index 4c51f821..5beb4023 100644 --- a/mcaptcha/pages/errors/constant.PAGE.html +++ b/mcaptcha/pages/errors/constant.PAGE.html @@ -1 +1 @@ -PAGE in mcaptcha::pages::errors - Rust

    Constant mcaptcha::pages::errors::PAGE

    source ·
    const PAGE: &str = "Error";
    \ No newline at end of file +PAGE in mcaptcha::pages::errors - Rust

    Constant mcaptcha::pages::errors::PAGE

    source ·
    const PAGE: &str = "Error";
    \ No newline at end of file diff --git a/mcaptcha/pages/errors/fn.services.html b/mcaptcha/pages/errors/fn.services.html index 9e14a57d..6e5d4224 100644 --- a/mcaptcha/pages/errors/fn.services.html +++ b/mcaptcha/pages/errors/fn.services.html @@ -1 +1 @@ -services in mcaptcha::pages::errors - Rust

    Function mcaptcha::pages::errors::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file +services in mcaptcha::pages::errors - Rust

    Function mcaptcha::pages::errors::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file diff --git a/mcaptcha/pages/errors/index.html b/mcaptcha/pages/errors/index.html index e0728b04..821e27ee 100644 --- a/mcaptcha/pages/errors/index.html +++ b/mcaptcha/pages/errors/index.html @@ -1 +1 @@ -mcaptcha::pages::errors - Rust
    \ No newline at end of file +mcaptcha::pages::errors - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/errors/routes/index.html b/mcaptcha/pages/errors/routes/index.html index 7cbb7615..ad50f461 100644 --- a/mcaptcha/pages/errors/routes/index.html +++ b/mcaptcha/pages/errors/routes/index.html @@ -1 +1 @@ -mcaptcha::pages::errors::routes - Rust
    \ No newline at end of file +mcaptcha::pages::errors::routes - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/errors/routes/struct.Errors.html b/mcaptcha/pages/errors/routes/struct.Errors.html index 6ce2db7d..f22e4ccd 100644 --- a/mcaptcha/pages/errors/routes/struct.Errors.html +++ b/mcaptcha/pages/errors/routes/struct.Errors.html @@ -1,12 +1,12 @@ Errors in mcaptcha::pages::errors::routes - Rust
    pub struct Errors {
    -    pub internal_server_error: &'static str,
    -    pub unknown_error: &'static str,
    -}

    Fields§

    §internal_server_error: &'static str§unknown_error: &'static str

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

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

    Returns the argument unchanged.

    + pub internal_server_error: &'static str, + pub unknown_error: &'static str, +}

    Fields§

    §internal_server_error: &'static str§unknown_error: &'static str

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

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

    Returns the argument unchanged.

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

    Calls U::from(self).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/errors/struct.ErrorPage.html b/mcaptcha/pages/errors/struct.ErrorPage.html index 920dd302..77184254 100644 --- a/mcaptcha/pages/errors/struct.ErrorPage.html +++ b/mcaptcha/pages/errors/struct.ErrorPage.html @@ -1,12 +1,12 @@ ErrorPage in mcaptcha::pages::errors - Rust
    struct ErrorPage<'a> {
    -    title: &'a str,
    -    message: &'a str,
    -}

    Fields§

    §title: &'a str§message: &'a str

    Implementations§

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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.

    + title: &'a str, + message: &'a str, +}

    Fields§

    §title: &'a str§message: &'a str

    Implementations§

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/errors/struct.INTERNAL_SERVER_ERROR_BODY.html b/mcaptcha/pages/errors/struct.INTERNAL_SERVER_ERROR_BODY.html index 288fc974..28fe8d97 100644 --- a/mcaptcha/pages/errors/struct.INTERNAL_SERVER_ERROR_BODY.html +++ b/mcaptcha/pages/errors/struct.INTERNAL_SERVER_ERROR_BODY.html @@ -1,28 +1,28 @@ INTERNAL_SERVER_ERROR_BODY in mcaptcha::pages::errors - Rust
    struct INTERNAL_SERVER_ERROR_BODY {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    Extracts a string slice containing the entire String.

    + __private_field: (), +}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    Extracts a string slice containing the entire String.

    Examples

    Basic usage:

    let s = String::from("foo");
     
     assert_eq!("foo", s.as_str());
    -

    Returns this String’s capacity, in bytes.

    +

    Returns this String’s capacity, in bytes.

    Examples

    Basic usage:

    let s = String::with_capacity(10);
     
     assert!(s.capacity() >= 10);
    -

    Returns a byte slice of this String’s contents.

    -

    The inverse of this method is from_utf8.

    +

    Returns a byte slice of this String’s contents.

    +

    The inverse of this method is from_utf8.

    Examples

    Basic usage:

    let s = String::from("hello");
     
     assert_eq!(&[104, 101, 108, 108, 111], s.as_bytes());
    -

    Returns the length of this String, in bytes, not chars or +

    Returns the length of this String, in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    @@ -34,7 +34,7 @@ length of the string.

    let fancy_f = String::from("ƒoo"); assert_eq!(fancy_f.len(), 4); assert_eq!(fancy_f.chars().count(), 3);
    -

    Returns true if this String has a length of zero, and false otherwise.

    +

    Returns true if this String has a length of zero, and false otherwise.

    Examples

    Basic usage:

    @@ -43,8 +43,8 @@ length of the string.

    v.push('a'); assert!(!v.is_empty());
    -

    Methods from Deref<Target = str>§

    Returns the length of self.

    -

    This length is in bytes, not chars or graphemes. In other words, +

    Methods from Deref<Target = 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:

    @@ -54,7 +54,7 @@ it might not be what a human considers the length of the string.

    assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
    -

    Returns true if self has a length of zero bytes.

    +

    Returns true if self has a length of zero bytes.

    Examples

    Basic usage:

    @@ -63,7 +63,7 @@ it might not be what a human considers the length of the string.

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

    Checks that index-th byte is the first byte in a UTF-8 code point +

    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.

    @@ -80,7 +80,7 @@ considered to be boundaries.

    // 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 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 @@ -95,8 +95,8 @@ includes 🧑 (person) instead.

    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 +

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

    @@ -109,14 +109,14 @@ for more details.

    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.

    +

    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 mutable string slice to a mutable byte slice.

    +

    Converts a mutable string slice to a mutable byte slice.

    Safety

    The caller must ensure that the content of the slice is valid UTF-8 before the borrow ends and the underlying str is used.

    @@ -142,26 +142,26 @@ before the borrow ends and the underlying str is used.

    } assert_eq!("🍔∈🌏", s);
    -

    Converts a string slice to a raw pointer.

    +

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

    +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();
    -

    Converts a mutable string slice to a raw pointer.

    +

    Converts a mutable 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 +u8. This pointer will be pointing to the first byte of the string slice.

    It is your responsibility to make sure that the string slice only gets modified in a way that it remains valid UTF-8.

    -

    Returns a subslice of str.

    +

    Returns a subslice of str.

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

    +None whenever equivalent indexing operation would panic.

    Examples
    let v = String::from("🗻∈🌏");
     
    @@ -173,9 +173,9 @@ modified in a way that it remains valid UTF-8.

    // out of bounds assert!(v.get(..42).is_none());
    -

    Returns a mutable subslice of str.

    +

    Returns a mutable subslice of str.

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

    +None whenever equivalent indexing operation would panic.

    Examples
    let mut v = String::from("hello");
     // correct length
    @@ -194,7 +194,7 @@ modified in a way that it remains valid UTF-8.

    assert_eq!(Some("HE"), s); } assert_eq!("HEllo", v);
    -

    Returns an unchecked subslice of str.

    +

    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 @@ -213,7 +213,7 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked(4..7)); assert_eq!("🌏", v.get_unchecked(7..11)); }
    -

    Returns a mutable, unchecked subslice of str.

    +

    Returns a mutable, unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -232,14 +232,14 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked_mut(4..7)); assert_eq!("🌏", v.get_unchecked_mut(7..11)); }
    -
    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

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

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

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

    +slice_mut_unchecked method.

    Safety

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

    @@ -262,14 +262,14 @@ satisfied:

    unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
    -
    👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

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

    👎Deprecated since 1.29.0: use get_unchecked_mut(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 IndexMut.

    +alternative see str and IndexMut.

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

    To get an immutable string slice instead, see the -slice_unchecked method.

    +slice_unchecked method.

    Safety

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

    @@ -278,12 +278,12 @@ satisfied:

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

    Divide one string slice into two at an index.

    +

    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 +

    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 @@ -297,12 +297,12 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -

    Divide one mutable string slice into two at an index.

    +

    Divide one mutable 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 immutable string slices instead, see the split_at method.

    +

    To get immutable string slices instead, see the split_at 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.

    @@ -317,10 +317,10 @@ past the end of the last code point of the string slice.

    assert_eq!(" Martin-Löf", last); } assert_eq!("PER Martin-Löf", s);
    -

    Returns an iterator over the chars of a string slice.

    +

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

    @@ -343,7 +343,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -353,12 +353,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -

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

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

    @@ -379,7 +379,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -393,7 +393,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    An iterator over the bytes of a string slice.

    +

    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
    @@ -407,12 +407,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -

    Splits a string slice by whitespace.

    +

    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.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -437,10 +437,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -

    Splits a string slice by ASCII whitespace.

    +

    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.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -465,7 +465,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -

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

    +

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

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -495,8 +495,8 @@ without a final line ending.

    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.

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

    @@ -506,10 +506,10 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -

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

    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 +

    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:

    @@ -518,10 +518,10 @@ function or closure that determines if a character matches.

    assert!(bananas.contains("nana")); assert!(!bananas.contains("apples"));
    -

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

    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 +

    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:

    @@ -530,10 +530,10 @@ function or closure that determines if a character matches.

    assert!(bananas.starts_with("bana")); assert!(!bananas.starts_with("nana"));
    -

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

    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 +

    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:

    @@ -542,10 +542,10 @@ function or closure that determines if a character matches.

    assert!(bananas.ends_with("anas")); assert!(!bananas.ends_with("nana"));
    -

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

    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 +

    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:

    @@ -569,10 +569,10 @@ function or closure that determines if a character matches.

    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 +

    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 +

    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:

    @@ -594,16 +594,16 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -

    An iterator over substrings of this string slice, separated by +

    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 +

    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 +

    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.

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

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -666,12 +666,12 @@ when whitespace is used as the separator. This code is correct:

    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 +

    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 +

    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."
    @@ -684,15 +684,15 @@ 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 +

    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 +

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

    +

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

    Examples

    Simple patterns:

    @@ -711,20 +711,20 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rsplit_terminator method can be used.

    Examples

    Basic usage:

    @@ -736,11 +736,11 @@ from a forward search, the 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 +

    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 +

    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 +

    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.

    @@ -748,7 +748,7 @@ rather than separated by a pattern.

    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 +

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

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -759,16 +759,16 @@ used.

    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 +

    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 +

    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 +

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

    Examples

    Simple patterns:

    @@ -788,17 +788,17 @@ used.

    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 +

    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 +

    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.

    +

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

    Examples

    Simple patterns:

    @@ -814,29 +814,29 @@ efficient to support.

    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 +

    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 +

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rmatches method can be used.

    Examples

    Basic usage:

    @@ -845,15 +845,15 @@ from a forward search, the 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, +

    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 +

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

    +

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

    Examples

    Basic usage:

    @@ -862,18 +862,18 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rmatch_indices method can be used.

    Examples

    Basic usage:

    @@ -885,17 +885,17 @@ from a forward search, the 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, +

    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 +

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

    +

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

    Examples

    Basic usage:

    @@ -907,7 +907,7 @@ search yields the same elements.

    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.

    +

    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
    @@ -916,7 +916,7 @@ Core Property White_Space, which includes newlines.

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

    Returns a string slice with leading whitespace removed.

    +

    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
    @@ -936,7 +936,7 @@ Arabic or Hebrew, this will be the right side.

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

    Returns a string slice with trailing whitespace removed.

    +

    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
    @@ -956,7 +956,7 @@ Arabic or Hebrew, this will be the left side.

    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.

    +
    👎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
    @@ -977,7 +977,7 @@ the right side, not the left.

    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.

    +
    👎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
    @@ -998,9 +998,9 @@ the left side, not the right.

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

    Returns a string slice with all prefixes and suffixes that match a +

    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 +

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

    Examples

    Simple patterns:

    @@ -1013,9 +1013,9 @@ or closure that determines if a character matches.

    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 +

    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 +

    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 @@ -1030,29 +1030,29 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -

    Returns a string slice with the prefix removed.

    +

    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 +

    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.

    +

    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 +

    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 +

    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 +

    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 @@ -1070,9 +1070,9 @@ Arabic or Hebrew, this will be the left side.

    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 +

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

    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 @@ -1087,9 +1087,9 @@ the right side, not the left.

    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 +

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

    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 @@ -1107,15 +1107,15 @@ the left side, not the right.

    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.

    +

    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.

    +

    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 +

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

    Examples

    Basic usage

    @@ -1133,21 +1133,21 @@ the desired type.

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

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

    +

    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.

    +

    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"));
    -

    Converts this string to its ASCII upper case equivalent in-place.

    +

    Converts this string to its ASCII upper case equivalent in-place.

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

    To return a new uppercased value without modifying the existing one, use @@ -1158,7 +1158,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_uppercase(); assert_eq!("GRüßE, JüRGEN ❤", s);
    -

    Converts this string to its ASCII lower case equivalent in-place.

    +

    Converts this string to its ASCII lower case equivalent in-place.

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

    To return a new lowercased value without modifying the existing one, use @@ -1169,7 +1169,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_lowercase(); assert_eq!("grÜße, jÜrgen ❤", s);
    -

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

    +

    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
    @@ -1188,7 +1188,7 @@ escaped.

    Using to_string:

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

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

    +

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

    Examples

    As an iterator:

    @@ -1205,7 +1205,7 @@ escaped.

    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.

    +

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

    Examples

    As an iterator:

    @@ -1222,8 +1222,8 @@ escaped.

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

    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
    @@ -1237,8 +1237,8 @@ replaces them with the replacement string slice.

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

    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
    @@ -1252,11 +1252,11 @@ replaces them with the replacement string slice at most count times
    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.

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1279,11 +1279,11 @@ parameter in-place.

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

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

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1301,7 +1301,7 @@ parameter in-place.

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

    Creates a new String by repeating a string n times.

    +

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1312,34 +1312,34 @@ parameter in-place.

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

    Returns a copy of this string where each character is mapped to its +

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

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

    +

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/errors/struct.UNKNOWN_ERROR_BODY.html b/mcaptcha/pages/errors/struct.UNKNOWN_ERROR_BODY.html index 80151f91..9d5c4ab3 100644 --- a/mcaptcha/pages/errors/struct.UNKNOWN_ERROR_BODY.html +++ b/mcaptcha/pages/errors/struct.UNKNOWN_ERROR_BODY.html @@ -1,28 +1,28 @@ UNKNOWN_ERROR_BODY in mcaptcha::pages::errors - Rust
    struct UNKNOWN_ERROR_BODY {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    Extracts a string slice containing the entire String.

    + __private_field: (), +}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    Extracts a string slice containing the entire String.

    Examples

    Basic usage:

    let s = String::from("foo");
     
     assert_eq!("foo", s.as_str());
    -

    Returns this String’s capacity, in bytes.

    +

    Returns this String’s capacity, in bytes.

    Examples

    Basic usage:

    let s = String::with_capacity(10);
     
     assert!(s.capacity() >= 10);
    -

    Returns a byte slice of this String’s contents.

    -

    The inverse of this method is from_utf8.

    +

    Returns a byte slice of this String’s contents.

    +

    The inverse of this method is from_utf8.

    Examples

    Basic usage:

    let s = String::from("hello");
     
     assert_eq!(&[104, 101, 108, 108, 111], s.as_bytes());
    -

    Returns the length of this String, in bytes, not chars or +

    Returns the length of this String, in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    @@ -34,7 +34,7 @@ length of the string.

    let fancy_f = String::from("ƒoo"); assert_eq!(fancy_f.len(), 4); assert_eq!(fancy_f.chars().count(), 3);
    -

    Returns true if this String has a length of zero, and false otherwise.

    +

    Returns true if this String has a length of zero, and false otherwise.

    Examples

    Basic usage:

    @@ -43,8 +43,8 @@ length of the string.

    v.push('a'); assert!(!v.is_empty());
    -

    Methods from Deref<Target = str>§

    Returns the length of self.

    -

    This length is in bytes, not chars or graphemes. In other words, +

    Methods from Deref<Target = 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:

    @@ -54,7 +54,7 @@ it might not be what a human considers the length of the string.

    assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
    -

    Returns true if self has a length of zero bytes.

    +

    Returns true if self has a length of zero bytes.

    Examples

    Basic usage:

    @@ -63,7 +63,7 @@ it might not be what a human considers the length of the string.

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

    Checks that index-th byte is the first byte in a UTF-8 code point +

    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.

    @@ -80,7 +80,7 @@ considered to be boundaries.

    // 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 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 @@ -95,8 +95,8 @@ includes 🧑 (person) instead.

    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 +

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

    @@ -109,14 +109,14 @@ for more details.

    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.

    +

    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 mutable string slice to a mutable byte slice.

    +

    Converts a mutable string slice to a mutable byte slice.

    Safety

    The caller must ensure that the content of the slice is valid UTF-8 before the borrow ends and the underlying str is used.

    @@ -142,26 +142,26 @@ before the borrow ends and the underlying str is used.

    } assert_eq!("🍔∈🌏", s);
    -

    Converts a string slice to a raw pointer.

    +

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

    +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();
    -

    Converts a mutable string slice to a raw pointer.

    +

    Converts a mutable 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 +u8. This pointer will be pointing to the first byte of the string slice.

    It is your responsibility to make sure that the string slice only gets modified in a way that it remains valid UTF-8.

    -

    Returns a subslice of str.

    +

    Returns a subslice of str.

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

    +None whenever equivalent indexing operation would panic.

    Examples
    let v = String::from("🗻∈🌏");
     
    @@ -173,9 +173,9 @@ modified in a way that it remains valid UTF-8.

    // out of bounds assert!(v.get(..42).is_none());
    -

    Returns a mutable subslice of str.

    +

    Returns a mutable subslice of str.

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

    +None whenever equivalent indexing operation would panic.

    Examples
    let mut v = String::from("hello");
     // correct length
    @@ -194,7 +194,7 @@ modified in a way that it remains valid UTF-8.

    assert_eq!(Some("HE"), s); } assert_eq!("HEllo", v);
    -

    Returns an unchecked subslice of str.

    +

    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 @@ -213,7 +213,7 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked(4..7)); assert_eq!("🌏", v.get_unchecked(7..11)); }
    -

    Returns a mutable, unchecked subslice of str.

    +

    Returns a mutable, unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -232,14 +232,14 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked_mut(4..7)); assert_eq!("🌏", v.get_unchecked_mut(7..11)); }
    -
    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

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

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

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

    +slice_mut_unchecked method.

    Safety

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

    @@ -262,14 +262,14 @@ satisfied:

    unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
    -
    👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

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

    👎Deprecated since 1.29.0: use get_unchecked_mut(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 IndexMut.

    +alternative see str and IndexMut.

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

    To get an immutable string slice instead, see the -slice_unchecked method.

    +slice_unchecked method.

    Safety

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

    @@ -278,12 +278,12 @@ satisfied:

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

    Divide one string slice into two at an index.

    +

    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 +

    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 @@ -297,12 +297,12 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -

    Divide one mutable string slice into two at an index.

    +

    Divide one mutable 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 immutable string slices instead, see the split_at method.

    +

    To get immutable string slices instead, see the split_at 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.

    @@ -317,10 +317,10 @@ past the end of the last code point of the string slice.

    assert_eq!(" Martin-Löf", last); } assert_eq!("PER Martin-Löf", s);
    -

    Returns an iterator over the chars of a string slice.

    +

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

    @@ -343,7 +343,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -353,12 +353,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -

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

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

    @@ -379,7 +379,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -393,7 +393,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    An iterator over the bytes of a string slice.

    +

    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
    @@ -407,12 +407,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -

    Splits a string slice by whitespace.

    +

    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.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -437,10 +437,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -

    Splits a string slice by ASCII whitespace.

    +

    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.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -465,7 +465,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -

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

    +

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

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -495,8 +495,8 @@ without a final line ending.

    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.

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

    @@ -506,10 +506,10 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -

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

    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 +

    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:

    @@ -518,10 +518,10 @@ function or closure that determines if a character matches.

    assert!(bananas.contains("nana")); assert!(!bananas.contains("apples"));
    -

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

    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 +

    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:

    @@ -530,10 +530,10 @@ function or closure that determines if a character matches.

    assert!(bananas.starts_with("bana")); assert!(!bananas.starts_with("nana"));
    -

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

    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 +

    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:

    @@ -542,10 +542,10 @@ function or closure that determines if a character matches.

    assert!(bananas.ends_with("anas")); assert!(!bananas.ends_with("nana"));
    -

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

    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 +

    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:

    @@ -569,10 +569,10 @@ function or closure that determines if a character matches.

    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 +

    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 +

    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:

    @@ -594,16 +594,16 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -

    An iterator over substrings of this string slice, separated by +

    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 +

    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 +

    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.

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

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -666,12 +666,12 @@ when whitespace is used as the separator. This code is correct:

    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 +

    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 +

    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."
    @@ -684,15 +684,15 @@ 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 +

    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 +

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

    +

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

    Examples

    Simple patterns:

    @@ -711,20 +711,20 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rsplit_terminator method can be used.

    Examples

    Basic usage:

    @@ -736,11 +736,11 @@ from a forward search, the 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 +

    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 +

    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 +

    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.

    @@ -748,7 +748,7 @@ rather than separated by a pattern.

    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 +

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

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -759,16 +759,16 @@ used.

    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 +

    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 +

    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 +

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

    Examples

    Simple patterns:

    @@ -788,17 +788,17 @@ used.

    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 +

    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 +

    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.

    +

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

    Examples

    Simple patterns:

    @@ -814,29 +814,29 @@ efficient to support.

    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 +

    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 +

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rmatches method can be used.

    Examples

    Basic usage:

    @@ -845,15 +845,15 @@ from a forward search, the 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, +

    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 +

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

    +

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

    Examples

    Basic usage:

    @@ -862,18 +862,18 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rmatch_indices method can be used.

    Examples

    Basic usage:

    @@ -885,17 +885,17 @@ from a forward search, the 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, +

    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 +

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

    +

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

    Examples

    Basic usage:

    @@ -907,7 +907,7 @@ search yields the same elements.

    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.

    +

    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
    @@ -916,7 +916,7 @@ Core Property White_Space, which includes newlines.

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

    Returns a string slice with leading whitespace removed.

    +

    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
    @@ -936,7 +936,7 @@ Arabic or Hebrew, this will be the right side.

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

    Returns a string slice with trailing whitespace removed.

    +

    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
    @@ -956,7 +956,7 @@ Arabic or Hebrew, this will be the left side.

    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.

    +
    👎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
    @@ -977,7 +977,7 @@ the right side, not the left.

    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.

    +
    👎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
    @@ -998,9 +998,9 @@ the left side, not the right.

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

    Returns a string slice with all prefixes and suffixes that match a +

    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 +

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

    Examples

    Simple patterns:

    @@ -1013,9 +1013,9 @@ or closure that determines if a character matches.

    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 +

    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 +

    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 @@ -1030,29 +1030,29 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -

    Returns a string slice with the prefix removed.

    +

    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 +

    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.

    +

    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 +

    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 +

    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 +

    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 @@ -1070,9 +1070,9 @@ Arabic or Hebrew, this will be the left side.

    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 +

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

    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 @@ -1087,9 +1087,9 @@ the right side, not the left.

    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 +

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

    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 @@ -1107,15 +1107,15 @@ the left side, not the right.

    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.

    +

    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.

    +

    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 +

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

    Examples

    Basic usage

    @@ -1133,21 +1133,21 @@ the desired type.

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

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

    +

    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.

    +

    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"));
    -

    Converts this string to its ASCII upper case equivalent in-place.

    +

    Converts this string to its ASCII upper case equivalent in-place.

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

    To return a new uppercased value without modifying the existing one, use @@ -1158,7 +1158,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_uppercase(); assert_eq!("GRüßE, JüRGEN ❤", s);
    -

    Converts this string to its ASCII lower case equivalent in-place.

    +

    Converts this string to its ASCII lower case equivalent in-place.

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

    To return a new lowercased value without modifying the existing one, use @@ -1169,7 +1169,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_lowercase(); assert_eq!("grÜße, jÜrgen ❤", s);
    -

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

    +

    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
    @@ -1188,7 +1188,7 @@ escaped.

    Using to_string:

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

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

    +

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

    Examples

    As an iterator:

    @@ -1205,7 +1205,7 @@ escaped.

    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.

    +

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

    Examples

    As an iterator:

    @@ -1222,8 +1222,8 @@ escaped.

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

    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
    @@ -1237,8 +1237,8 @@ replaces them with the replacement string slice.

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

    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
    @@ -1252,11 +1252,11 @@ replaces them with the replacement string slice at most count times
    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.

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1279,11 +1279,11 @@ parameter in-place.

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

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

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1301,7 +1301,7 @@ parameter in-place.

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

    Creates a new String by repeating a string n times.

    +

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1312,34 +1312,34 @@ parameter in-place.

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

    Returns a copy of this string where each character is mapped to its +

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

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

    +

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/errors/struct.error.html b/mcaptcha/pages/errors/struct.error.html index 4e2a8951..aca4156c 100644 --- a/mcaptcha/pages/errors/struct.error.html +++ b/mcaptcha/pages/errors/struct.error.html @@ -1,9 +1,9 @@ -error in mcaptcha::pages::errors - Rust

    Struct mcaptcha::pages::errors::error

    source ·
    pub struct error;

    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.

    +error in mcaptcha::pages::errors - Rust

    Struct mcaptcha::pages::errors::error

    source ·
    pub struct error;

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/fn.get_middleware.html b/mcaptcha/pages/fn.get_middleware.html index 6e3d1775..9b592885 100644 --- a/mcaptcha/pages/fn.get_middleware.html +++ b/mcaptcha/pages/fn.get_middleware.html @@ -1 +1 @@ -get_middleware in mcaptcha::pages - Rust

    Function mcaptcha::pages::get_middleware

    source ·
    pub fn get_middleware() -> Authentication<Routes>
    \ No newline at end of file +get_middleware in mcaptcha::pages - Rust

    Function mcaptcha::pages::get_middleware

    source ·
    pub fn get_middleware() -> Authentication<Routes>
    \ No newline at end of file diff --git a/mcaptcha/pages/fn.services.html b/mcaptcha/pages/fn.services.html index 53e45a30..26e28c75 100644 --- a/mcaptcha/pages/fn.services.html +++ b/mcaptcha/pages/fn.services.html @@ -1 +1 @@ -services in mcaptcha::pages - Rust

    Function mcaptcha::pages::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file +services in mcaptcha::pages - Rust

    Function mcaptcha::pages::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file diff --git a/mcaptcha/pages/index.html b/mcaptcha/pages/index.html index 61f62e0c..a7683e5f 100644 --- a/mcaptcha/pages/index.html +++ b/mcaptcha/pages/index.html @@ -1 +1 @@ -mcaptcha::pages - Rust
    \ No newline at end of file +mcaptcha::pages - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/constant.PAGE.html b/mcaptcha/pages/panel/constant.PAGE.html index 69d41695..4a80ac82 100644 --- a/mcaptcha/pages/panel/constant.PAGE.html +++ b/mcaptcha/pages/panel/constant.PAGE.html @@ -1 +1 @@ -PAGE in mcaptcha::pages::panel - Rust

    Constant mcaptcha::pages::panel::PAGE

    source ·
    const PAGE: &str = "Dashboard";
    \ No newline at end of file +PAGE in mcaptcha::pages::panel - Rust

    Constant mcaptcha::pages::panel::PAGE

    source ·
    const PAGE: &str = "Dashboard";
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/fn.services.html b/mcaptcha/pages/panel/fn.services.html index b08230cd..9b2a076d 100644 --- a/mcaptcha/pages/panel/fn.services.html +++ b/mcaptcha/pages/panel/fn.services.html @@ -1 +1 @@ -services in mcaptcha::pages::panel - Rust

    Function mcaptcha::pages::panel::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file +services in mcaptcha::pages::panel - Rust

    Function mcaptcha::pages::panel::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/index.html b/mcaptcha/pages/panel/index.html index e852d70f..c22ce802 100644 --- a/mcaptcha/pages/panel/index.html +++ b/mcaptcha/pages/panel/index.html @@ -1 +1 @@ -mcaptcha::pages::panel - Rust
    \ No newline at end of file +mcaptcha::pages::panel - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/notifications/constant.PAGE.html b/mcaptcha/pages/panel/notifications/constant.PAGE.html index c449b6b4..b73e427a 100644 --- a/mcaptcha/pages/panel/notifications/constant.PAGE.html +++ b/mcaptcha/pages/panel/notifications/constant.PAGE.html @@ -1 +1 @@ -PAGE in mcaptcha::pages::panel::notifications - Rust
    const PAGE: &str = "Notifications";
    \ No newline at end of file +PAGE in mcaptcha::pages::panel::notifications - Rust
    const PAGE: &str = "Notifications";
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/notifications/index.html b/mcaptcha/pages/panel/notifications/index.html index abdd2509..cc215066 100644 --- a/mcaptcha/pages/panel/notifications/index.html +++ b/mcaptcha/pages/panel/notifications/index.html @@ -1 +1 @@ -mcaptcha::pages::panel::notifications - Rust
    \ No newline at end of file +mcaptcha::pages::panel::notifications - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/notifications/struct.IndexPage.html b/mcaptcha/pages/panel/notifications/struct.IndexPage.html index 71014f87..4b602ca0 100644 --- a/mcaptcha/pages/panel/notifications/struct.IndexPage.html +++ b/mcaptcha/pages/panel/notifications/struct.IndexPage.html @@ -1,12 +1,12 @@ IndexPage in mcaptcha::pages::panel::notifications - Rust
    pub struct IndexPage {
    -    n: Vec<Notification>,
    -}

    Fields§

    §n: Vec<Notification>

    notifications

    -

    Implementations§

    Trait Implementations§

    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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.

    + n: Vec<Notification>, +}

    Fields§

    §n: Vec<Notification>

    notifications

    +

    Implementations§

    Trait Implementations§

    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/notifications/struct.Notification.html b/mcaptcha/pages/panel/notifications/struct.Notification.html index ee46cef3..e15422bd 100644 --- a/mcaptcha/pages/panel/notifications/struct.Notification.html +++ b/mcaptcha/pages/panel/notifications/struct.Notification.html @@ -1,15 +1,15 @@ Notification in mcaptcha::pages::panel::notifications - Rust
    pub struct Notification {
    -    pub name: String,
    -    pub heading: String,
    -    pub message: String,
    +    pub name: String,
    +    pub heading: String,
    +    pub message: String,
         pub received: OffsetDateTime,
    -    pub id: i32,
    -}

    Fields§

    §name: String§heading: String§message: String§received: OffsetDateTime§id: i32

    Implementations§

    Trait Implementations§

    Converts to this type from the input type.

    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 id: i32, +}

    Fields§

    §name: String§heading: String§message: String§received: OffsetDateTime§id: i32

    Implementations§

    Trait Implementations§

    Converts to this type from the input type.

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/notifications/struct.notifications.html b/mcaptcha/pages/panel/notifications/struct.notifications.html index ddd5c0d6..84adead3 100644 --- a/mcaptcha/pages/panel/notifications/struct.notifications.html +++ b/mcaptcha/pages/panel/notifications/struct.notifications.html @@ -1,9 +1,9 @@ -notifications in mcaptcha::pages::panel::notifications - Rust
    pub struct notifications;

    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.

    +notifications in mcaptcha::pages::panel::notifications - Rust
    pub struct notifications;

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/routes/index.html b/mcaptcha/pages/panel/routes/index.html index 3a84af10..eaf20ae5 100644 --- a/mcaptcha/pages/panel/routes/index.html +++ b/mcaptcha/pages/panel/routes/index.html @@ -1 +1 @@ -mcaptcha::pages::panel::routes - Rust
    \ No newline at end of file +mcaptcha::pages::panel::routes - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/routes/struct.Panel.html b/mcaptcha/pages/panel/routes/struct.Panel.html index 2fb93eb0..1e1e8b43 100644 --- a/mcaptcha/pages/panel/routes/struct.Panel.html +++ b/mcaptcha/pages/panel/routes/struct.Panel.html @@ -1,14 +1,14 @@ Panel in mcaptcha::pages::panel::routes - Rust

    Struct mcaptcha::pages::panel::routes::Panel

    source ·
    pub struct Panel {
    -    pub home: &'static str,
    +    pub home: &'static str,
         pub sitekey: Sitekey,
    -    pub notifications: &'static str,
    +    pub notifications: &'static str,
         pub settings: Settings,
    -}

    Fields§

    §home: &'static str§sitekey: Sitekey§notifications: &'static str§settings: Settings

    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§

    §home: &'static str§sitekey: Sitekey§notifications: &'static str§settings: Settings

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/settings/constant.PAGE.html b/mcaptcha/pages/panel/settings/constant.PAGE.html index e38255f0..f3f8e03f 100644 --- a/mcaptcha/pages/panel/settings/constant.PAGE.html +++ b/mcaptcha/pages/panel/settings/constant.PAGE.html @@ -1 +1 @@ -PAGE in mcaptcha::pages::panel::settings - Rust

    Constant mcaptcha::pages::panel::settings::PAGE

    source ·
    const PAGE: &str = "Settings";
    \ No newline at end of file +PAGE in mcaptcha::pages::panel::settings - Rust

    Constant mcaptcha::pages::panel::settings::PAGE

    source ·
    const PAGE: &str = "Settings";
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/settings/fn.services.html b/mcaptcha/pages/panel/settings/fn.services.html index ffa722ad..6a943a23 100644 --- a/mcaptcha/pages/panel/settings/fn.services.html +++ b/mcaptcha/pages/panel/settings/fn.services.html @@ -1 +1 @@ -services in mcaptcha::pages::panel::settings - Rust
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file +services in mcaptcha::pages::panel::settings - Rust
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/settings/index.html b/mcaptcha/pages/panel/settings/index.html index 170b7489..5512ba60 100644 --- a/mcaptcha/pages/panel/settings/index.html +++ b/mcaptcha/pages/panel/settings/index.html @@ -1 +1 @@ -mcaptcha::pages::panel::settings - Rust
    \ No newline at end of file +mcaptcha::pages::panel::settings - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/settings/routes/index.html b/mcaptcha/pages/panel/settings/routes/index.html index dff083df..6e86df1c 100644 --- a/mcaptcha/pages/panel/settings/routes/index.html +++ b/mcaptcha/pages/panel/settings/routes/index.html @@ -1 +1 @@ -mcaptcha::pages::panel::settings::routes - Rust
    \ No newline at end of file +mcaptcha::pages::panel::settings::routes - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/settings/routes/struct.Settings.html b/mcaptcha/pages/panel/settings/routes/struct.Settings.html index 6ee774a9..5d321a5b 100644 --- a/mcaptcha/pages/panel/settings/routes/struct.Settings.html +++ b/mcaptcha/pages/panel/settings/routes/struct.Settings.html @@ -1,13 +1,13 @@ Settings in mcaptcha::pages::panel::settings::routes - Rust
    pub struct Settings {
    -    pub home: &'static str,
    -    pub delete_account: &'static str,
    -    pub update_secret: &'static str,
    -}

    Fields§

    §home: &'static str§delete_account: &'static str§update_secret: &'static str

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

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

    Returns the argument unchanged.

    + pub home: &'static str, + pub delete_account: &'static str, + pub update_secret: &'static str, +}

    Fields§

    §home: &'static str§delete_account: &'static str§update_secret: &'static str

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

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

    Returns the argument unchanged.

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

    Calls U::from(self).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/settings/struct.IndexPage.html b/mcaptcha/pages/panel/settings/struct.IndexPage.html index feb4f798..07383715 100644 --- a/mcaptcha/pages/panel/settings/struct.IndexPage.html +++ b/mcaptcha/pages/panel/settings/struct.IndexPage.html @@ -1,13 +1,13 @@ IndexPage in mcaptcha::pages::panel::settings - Rust
    pub struct IndexPage<'a> {
    -    email: Option<String>,
    -    secret: String,
    -    username: &'a str,
    -}

    Fields§

    §email: Option<String>§secret: String§username: &'a str

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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: Option<String>, + secret: String, + username: &'a str, +}

    Fields§

    §email: Option<String>§secret: String§username: &'a str

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/settings/struct.delete_account.html b/mcaptcha/pages/panel/settings/struct.delete_account.html index d4a21c34..62e724c3 100644 --- a/mcaptcha/pages/panel/settings/struct.delete_account.html +++ b/mcaptcha/pages/panel/settings/struct.delete_account.html @@ -1,9 +1,9 @@ -delete_account in mcaptcha::pages::panel::settings - Rust
    pub struct delete_account;

    Trait Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

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

    Returns the argument unchanged.

    +delete_account in mcaptcha::pages::panel::settings - Rust
    pub struct delete_account;

    Trait Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

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

    Returns the argument unchanged.

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

    Calls U::from(self).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/settings/struct.settings.html b/mcaptcha/pages/panel/settings/struct.settings.html index c539548c..a3968a39 100644 --- a/mcaptcha/pages/panel/settings/struct.settings.html +++ b/mcaptcha/pages/panel/settings/struct.settings.html @@ -1,9 +1,9 @@ -settings in mcaptcha::pages::panel::settings - Rust
    pub struct settings;

    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.

    +settings in mcaptcha::pages::panel::settings - Rust
    pub struct settings;

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/settings/struct.update_secret.html b/mcaptcha/pages/panel/settings/struct.update_secret.html index 195b7365..7262adea 100644 --- a/mcaptcha/pages/panel/settings/struct.update_secret.html +++ b/mcaptcha/pages/panel/settings/struct.update_secret.html @@ -1,9 +1,9 @@ -update_secret in mcaptcha::pages::panel::settings - Rust
    pub struct update_secret;

    Trait Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

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

    Returns the argument unchanged.

    +update_secret in mcaptcha::pages::panel::settings - Rust
    pub struct update_secret;

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/add/constant.PAGE.html b/mcaptcha/pages/panel/sitekey/add/constant.PAGE.html index a2de5354..cf029ff4 100644 --- a/mcaptcha/pages/panel/sitekey/add/constant.PAGE.html +++ b/mcaptcha/pages/panel/sitekey/add/constant.PAGE.html @@ -1 +1 @@ -PAGE in mcaptcha::pages::panel::sitekey::add - Rust

    Constant mcaptcha::pages::panel::sitekey::add::PAGE

    source ·
    const PAGE: &str = "Add Sitekey";
    \ No newline at end of file +PAGE in mcaptcha::pages::panel::sitekey::add - Rust

    Constant mcaptcha::pages::panel::sitekey::add::PAGE

    source ·
    const PAGE: &str = "Add Sitekey";
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/add/index.html b/mcaptcha/pages/panel/sitekey/add/index.html index 7d5f537d..a224e5fb 100644 --- a/mcaptcha/pages/panel/sitekey/add/index.html +++ b/mcaptcha/pages/panel/sitekey/add/index.html @@ -1 +1 @@ -mcaptcha::pages::panel::sitekey::add - Rust
    \ No newline at end of file +mcaptcha::pages::panel::sitekey::add - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/add/struct.ADVANCE_INDEX.html b/mcaptcha/pages/panel/sitekey/add/struct.ADVANCE_INDEX.html index 4e8bc194..c9dec36f 100644 --- a/mcaptcha/pages/panel/sitekey/add/struct.ADVANCE_INDEX.html +++ b/mcaptcha/pages/panel/sitekey/add/struct.ADVANCE_INDEX.html @@ -1,28 +1,28 @@ ADVANCE_INDEX in mcaptcha::pages::panel::sitekey::add - Rust
    struct ADVANCE_INDEX {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    Extracts a string slice containing the entire String.

    + __private_field: (), +}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    Extracts a string slice containing the entire String.

    Examples

    Basic usage:

    let s = String::from("foo");
     
     assert_eq!("foo", s.as_str());
    -

    Returns this String’s capacity, in bytes.

    +

    Returns this String’s capacity, in bytes.

    Examples

    Basic usage:

    let s = String::with_capacity(10);
     
     assert!(s.capacity() >= 10);
    -

    Returns a byte slice of this String’s contents.

    -

    The inverse of this method is from_utf8.

    +

    Returns a byte slice of this String’s contents.

    +

    The inverse of this method is from_utf8.

    Examples

    Basic usage:

    let s = String::from("hello");
     
     assert_eq!(&[104, 101, 108, 108, 111], s.as_bytes());
    -

    Returns the length of this String, in bytes, not chars or +

    Returns the length of this String, in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    @@ -34,7 +34,7 @@ length of the string.

    let fancy_f = String::from("ƒoo"); assert_eq!(fancy_f.len(), 4); assert_eq!(fancy_f.chars().count(), 3);
    -

    Returns true if this String has a length of zero, and false otherwise.

    +

    Returns true if this String has a length of zero, and false otherwise.

    Examples

    Basic usage:

    @@ -43,8 +43,8 @@ length of the string.

    v.push('a'); assert!(!v.is_empty());
    -

    Methods from Deref<Target = str>§

    Returns the length of self.

    -

    This length is in bytes, not chars or graphemes. In other words, +

    Methods from Deref<Target = 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:

    @@ -54,7 +54,7 @@ it might not be what a human considers the length of the string.

    assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
    -

    Returns true if self has a length of zero bytes.

    +

    Returns true if self has a length of zero bytes.

    Examples

    Basic usage:

    @@ -63,7 +63,7 @@ it might not be what a human considers the length of the string.

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

    Checks that index-th byte is the first byte in a UTF-8 code point +

    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.

    @@ -80,7 +80,7 @@ considered to be boundaries.

    // 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 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 @@ -95,8 +95,8 @@ includes 🧑 (person) instead.

    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 +

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

    @@ -109,14 +109,14 @@ for more details.

    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.

    +

    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 mutable string slice to a mutable byte slice.

    +

    Converts a mutable string slice to a mutable byte slice.

    Safety

    The caller must ensure that the content of the slice is valid UTF-8 before the borrow ends and the underlying str is used.

    @@ -142,26 +142,26 @@ before the borrow ends and the underlying str is used.

    } assert_eq!("🍔∈🌏", s);
    -

    Converts a string slice to a raw pointer.

    +

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

    +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();
    -

    Converts a mutable string slice to a raw pointer.

    +

    Converts a mutable 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 +u8. This pointer will be pointing to the first byte of the string slice.

    It is your responsibility to make sure that the string slice only gets modified in a way that it remains valid UTF-8.

    -

    Returns a subslice of str.

    +

    Returns a subslice of str.

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

    +None whenever equivalent indexing operation would panic.

    Examples
    let v = String::from("🗻∈🌏");
     
    @@ -173,9 +173,9 @@ modified in a way that it remains valid UTF-8.

    // out of bounds assert!(v.get(..42).is_none());
    -

    Returns a mutable subslice of str.

    +

    Returns a mutable subslice of str.

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

    +None whenever equivalent indexing operation would panic.

    Examples
    let mut v = String::from("hello");
     // correct length
    @@ -194,7 +194,7 @@ modified in a way that it remains valid UTF-8.

    assert_eq!(Some("HE"), s); } assert_eq!("HEllo", v);
    -

    Returns an unchecked subslice of str.

    +

    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 @@ -213,7 +213,7 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked(4..7)); assert_eq!("🌏", v.get_unchecked(7..11)); }
    -

    Returns a mutable, unchecked subslice of str.

    +

    Returns a mutable, unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -232,14 +232,14 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked_mut(4..7)); assert_eq!("🌏", v.get_unchecked_mut(7..11)); }
    -
    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

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

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

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

    +slice_mut_unchecked method.

    Safety

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

    @@ -262,14 +262,14 @@ satisfied:

    unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
    -
    👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

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

    👎Deprecated since 1.29.0: use get_unchecked_mut(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 IndexMut.

    +alternative see str and IndexMut.

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

    To get an immutable string slice instead, see the -slice_unchecked method.

    +slice_unchecked method.

    Safety

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

    @@ -278,12 +278,12 @@ satisfied:

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

    Divide one string slice into two at an index.

    +

    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 +

    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 @@ -297,12 +297,12 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -

    Divide one mutable string slice into two at an index.

    +

    Divide one mutable 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 immutable string slices instead, see the split_at method.

    +

    To get immutable string slices instead, see the split_at 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.

    @@ -317,10 +317,10 @@ past the end of the last code point of the string slice.

    assert_eq!(" Martin-Löf", last); } assert_eq!("PER Martin-Löf", s);
    -

    Returns an iterator over the chars of a string slice.

    +

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

    @@ -343,7 +343,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -353,12 +353,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -

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

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

    @@ -379,7 +379,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -393,7 +393,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    An iterator over the bytes of a string slice.

    +

    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
    @@ -407,12 +407,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -

    Splits a string slice by whitespace.

    +

    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.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -437,10 +437,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -

    Splits a string slice by ASCII whitespace.

    +

    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.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -465,7 +465,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -

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

    +

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

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -495,8 +495,8 @@ without a final line ending.

    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.

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

    @@ -506,10 +506,10 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -

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

    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 +

    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:

    @@ -518,10 +518,10 @@ function or closure that determines if a character matches.

    assert!(bananas.contains("nana")); assert!(!bananas.contains("apples"));
    -

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

    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 +

    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:

    @@ -530,10 +530,10 @@ function or closure that determines if a character matches.

    assert!(bananas.starts_with("bana")); assert!(!bananas.starts_with("nana"));
    -

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

    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 +

    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:

    @@ -542,10 +542,10 @@ function or closure that determines if a character matches.

    assert!(bananas.ends_with("anas")); assert!(!bananas.ends_with("nana"));
    -

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

    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 +

    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:

    @@ -569,10 +569,10 @@ function or closure that determines if a character matches.

    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 +

    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 +

    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:

    @@ -594,16 +594,16 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -

    An iterator over substrings of this string slice, separated by +

    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 +

    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 +

    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.

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

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -666,12 +666,12 @@ when whitespace is used as the separator. This code is correct:

    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 +

    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 +

    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."
    @@ -684,15 +684,15 @@ 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 +

    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 +

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

    +

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

    Examples

    Simple patterns:

    @@ -711,20 +711,20 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rsplit_terminator method can be used.

    Examples

    Basic usage:

    @@ -736,11 +736,11 @@ from a forward search, the 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 +

    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 +

    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 +

    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.

    @@ -748,7 +748,7 @@ rather than separated by a pattern.

    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 +

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

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -759,16 +759,16 @@ used.

    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 +

    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 +

    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 +

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

    Examples

    Simple patterns:

    @@ -788,17 +788,17 @@ used.

    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 +

    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 +

    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.

    +

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

    Examples

    Simple patterns:

    @@ -814,29 +814,29 @@ efficient to support.

    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 +

    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 +

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rmatches method can be used.

    Examples

    Basic usage:

    @@ -845,15 +845,15 @@ from a forward search, the 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, +

    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 +

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

    +

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

    Examples

    Basic usage:

    @@ -862,18 +862,18 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rmatch_indices method can be used.

    Examples

    Basic usage:

    @@ -885,17 +885,17 @@ from a forward search, the 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, +

    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 +

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

    +

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

    Examples

    Basic usage:

    @@ -907,7 +907,7 @@ search yields the same elements.

    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.

    +

    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
    @@ -916,7 +916,7 @@ Core Property White_Space, which includes newlines.

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

    Returns a string slice with leading whitespace removed.

    +

    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
    @@ -936,7 +936,7 @@ Arabic or Hebrew, this will be the right side.

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

    Returns a string slice with trailing whitespace removed.

    +

    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
    @@ -956,7 +956,7 @@ Arabic or Hebrew, this will be the left side.

    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.

    +
    👎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
    @@ -977,7 +977,7 @@ the right side, not the left.

    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.

    +
    👎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
    @@ -998,9 +998,9 @@ the left side, not the right.

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

    Returns a string slice with all prefixes and suffixes that match a +

    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 +

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

    Examples

    Simple patterns:

    @@ -1013,9 +1013,9 @@ or closure that determines if a character matches.

    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 +

    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 +

    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 @@ -1030,29 +1030,29 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -

    Returns a string slice with the prefix removed.

    +

    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 +

    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.

    +

    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 +

    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 +

    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 +

    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 @@ -1070,9 +1070,9 @@ Arabic or Hebrew, this will be the left side.

    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 +

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

    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 @@ -1087,9 +1087,9 @@ the right side, not the left.

    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 +

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

    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 @@ -1107,15 +1107,15 @@ the left side, not the right.

    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.

    +

    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.

    +

    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 +

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

    Examples

    Basic usage

    @@ -1133,21 +1133,21 @@ the desired type.

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

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

    +

    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.

    +

    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"));
    -

    Converts this string to its ASCII upper case equivalent in-place.

    +

    Converts this string to its ASCII upper case equivalent in-place.

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

    To return a new uppercased value without modifying the existing one, use @@ -1158,7 +1158,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_uppercase(); assert_eq!("GRüßE, JüRGEN ❤", s);
    -

    Converts this string to its ASCII lower case equivalent in-place.

    +

    Converts this string to its ASCII lower case equivalent in-place.

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

    To return a new lowercased value without modifying the existing one, use @@ -1169,7 +1169,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_lowercase(); assert_eq!("grÜße, jÜrgen ❤", s);
    -

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

    +

    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
    @@ -1188,7 +1188,7 @@ escaped.

    Using to_string:

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

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

    +

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

    Examples

    As an iterator:

    @@ -1205,7 +1205,7 @@ escaped.

    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.

    +

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

    Examples

    As an iterator:

    @@ -1222,8 +1222,8 @@ escaped.

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

    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
    @@ -1237,8 +1237,8 @@ replaces them with the replacement string slice.

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

    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
    @@ -1252,11 +1252,11 @@ replaces them with the replacement string slice at most count times
    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.

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1279,11 +1279,11 @@ parameter in-place.

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

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

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1301,7 +1301,7 @@ parameter in-place.

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

    Creates a new String by repeating a string n times.

    +

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1312,34 +1312,34 @@ parameter in-place.

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

    Returns a copy of this string where each character is mapped to its +

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

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

    +

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/add/struct.AdvanceIndexPage.html b/mcaptcha/pages/panel/sitekey/add/struct.AdvanceIndexPage.html index cb2db66f..e31d1c90 100644 --- a/mcaptcha/pages/panel/sitekey/add/struct.AdvanceIndexPage.html +++ b/mcaptcha/pages/panel/sitekey/add/struct.AdvanceIndexPage.html @@ -1,14 +1,14 @@ AdvanceIndexPage in mcaptcha::pages::panel::sitekey::add - Rust
    pub struct AdvanceIndexPage<'a> {
    -    pub levels: usize,
    -    pub form_title: &'a str,
    -    pub form_description: &'a str,
    -    pub form_duration: usize,
    -}

    Fields§

    §levels: usize§form_title: &'a str§form_description: &'a str§form_duration: usize

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Returns the “default value” for a type. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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 levels: usize, + pub form_title: &'a str, + pub form_description: &'a str, + pub form_duration: usize, +}

    Fields§

    §levels: usize§form_title: &'a str§form_description: &'a str§form_duration: usize

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Returns the “default value” for a type. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/add/struct.EASY_INDEX.html b/mcaptcha/pages/panel/sitekey/add/struct.EASY_INDEX.html index b33a41f4..08b5ce1a 100644 --- a/mcaptcha/pages/panel/sitekey/add/struct.EASY_INDEX.html +++ b/mcaptcha/pages/panel/sitekey/add/struct.EASY_INDEX.html @@ -1,28 +1,28 @@ EASY_INDEX in mcaptcha::pages::panel::sitekey::add - Rust
    struct EASY_INDEX {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    Extracts a string slice containing the entire String.

    + __private_field: (), +}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    Extracts a string slice containing the entire String.

    Examples

    Basic usage:

    let s = String::from("foo");
     
     assert_eq!("foo", s.as_str());
    -

    Returns this String’s capacity, in bytes.

    +

    Returns this String’s capacity, in bytes.

    Examples

    Basic usage:

    let s = String::with_capacity(10);
     
     assert!(s.capacity() >= 10);
    -

    Returns a byte slice of this String’s contents.

    -

    The inverse of this method is from_utf8.

    +

    Returns a byte slice of this String’s contents.

    +

    The inverse of this method is from_utf8.

    Examples

    Basic usage:

    let s = String::from("hello");
     
     assert_eq!(&[104, 101, 108, 108, 111], s.as_bytes());
    -

    Returns the length of this String, in bytes, not chars or +

    Returns the length of this String, in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    @@ -34,7 +34,7 @@ length of the string.

    let fancy_f = String::from("ƒoo"); assert_eq!(fancy_f.len(), 4); assert_eq!(fancy_f.chars().count(), 3);
    -

    Returns true if this String has a length of zero, and false otherwise.

    +

    Returns true if this String has a length of zero, and false otherwise.

    Examples

    Basic usage:

    @@ -43,8 +43,8 @@ length of the string.

    v.push('a'); assert!(!v.is_empty());
    -

    Methods from Deref<Target = str>§

    Returns the length of self.

    -

    This length is in bytes, not chars or graphemes. In other words, +

    Methods from Deref<Target = 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:

    @@ -54,7 +54,7 @@ it might not be what a human considers the length of the string.

    assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
    -

    Returns true if self has a length of zero bytes.

    +

    Returns true if self has a length of zero bytes.

    Examples

    Basic usage:

    @@ -63,7 +63,7 @@ it might not be what a human considers the length of the string.

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

    Checks that index-th byte is the first byte in a UTF-8 code point +

    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.

    @@ -80,7 +80,7 @@ considered to be boundaries.

    // 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 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 @@ -95,8 +95,8 @@ includes 🧑 (person) instead.

    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 +

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

    @@ -109,14 +109,14 @@ for more details.

    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.

    +

    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 mutable string slice to a mutable byte slice.

    +

    Converts a mutable string slice to a mutable byte slice.

    Safety

    The caller must ensure that the content of the slice is valid UTF-8 before the borrow ends and the underlying str is used.

    @@ -142,26 +142,26 @@ before the borrow ends and the underlying str is used.

    } assert_eq!("🍔∈🌏", s);
    -

    Converts a string slice to a raw pointer.

    +

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

    +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();
    -

    Converts a mutable string slice to a raw pointer.

    +

    Converts a mutable 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 +u8. This pointer will be pointing to the first byte of the string slice.

    It is your responsibility to make sure that the string slice only gets modified in a way that it remains valid UTF-8.

    -

    Returns a subslice of str.

    +

    Returns a subslice of str.

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

    +None whenever equivalent indexing operation would panic.

    Examples
    let v = String::from("🗻∈🌏");
     
    @@ -173,9 +173,9 @@ modified in a way that it remains valid UTF-8.

    // out of bounds assert!(v.get(..42).is_none());
    -

    Returns a mutable subslice of str.

    +

    Returns a mutable subslice of str.

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

    +None whenever equivalent indexing operation would panic.

    Examples
    let mut v = String::from("hello");
     // correct length
    @@ -194,7 +194,7 @@ modified in a way that it remains valid UTF-8.

    assert_eq!(Some("HE"), s); } assert_eq!("HEllo", v);
    -

    Returns an unchecked subslice of str.

    +

    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 @@ -213,7 +213,7 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked(4..7)); assert_eq!("🌏", v.get_unchecked(7..11)); }
    -

    Returns a mutable, unchecked subslice of str.

    +

    Returns a mutable, unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -232,14 +232,14 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked_mut(4..7)); assert_eq!("🌏", v.get_unchecked_mut(7..11)); }
    -
    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

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

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

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

    +slice_mut_unchecked method.

    Safety

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

    @@ -262,14 +262,14 @@ satisfied:

    unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
    -
    👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

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

    👎Deprecated since 1.29.0: use get_unchecked_mut(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 IndexMut.

    +alternative see str and IndexMut.

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

    To get an immutable string slice instead, see the -slice_unchecked method.

    +slice_unchecked method.

    Safety

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

    @@ -278,12 +278,12 @@ satisfied:

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

    Divide one string slice into two at an index.

    +

    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 +

    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 @@ -297,12 +297,12 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -

    Divide one mutable string slice into two at an index.

    +

    Divide one mutable 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 immutable string slices instead, see the split_at method.

    +

    To get immutable string slices instead, see the split_at 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.

    @@ -317,10 +317,10 @@ past the end of the last code point of the string slice.

    assert_eq!(" Martin-Löf", last); } assert_eq!("PER Martin-Löf", s);
    -

    Returns an iterator over the chars of a string slice.

    +

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

    @@ -343,7 +343,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -353,12 +353,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -

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

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

    @@ -379,7 +379,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -393,7 +393,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    An iterator over the bytes of a string slice.

    +

    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
    @@ -407,12 +407,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -

    Splits a string slice by whitespace.

    +

    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.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -437,10 +437,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -

    Splits a string slice by ASCII whitespace.

    +

    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.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -465,7 +465,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -

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

    +

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

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -495,8 +495,8 @@ without a final line ending.

    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.

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

    @@ -506,10 +506,10 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -

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

    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 +

    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:

    @@ -518,10 +518,10 @@ function or closure that determines if a character matches.

    assert!(bananas.contains("nana")); assert!(!bananas.contains("apples"));
    -

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

    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 +

    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:

    @@ -530,10 +530,10 @@ function or closure that determines if a character matches.

    assert!(bananas.starts_with("bana")); assert!(!bananas.starts_with("nana"));
    -

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

    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 +

    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:

    @@ -542,10 +542,10 @@ function or closure that determines if a character matches.

    assert!(bananas.ends_with("anas")); assert!(!bananas.ends_with("nana"));
    -

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

    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 +

    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:

    @@ -569,10 +569,10 @@ function or closure that determines if a character matches.

    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 +

    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 +

    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:

    @@ -594,16 +594,16 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -

    An iterator over substrings of this string slice, separated by +

    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 +

    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 +

    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.

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

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -666,12 +666,12 @@ when whitespace is used as the separator. This code is correct:

    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 +

    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 +

    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."
    @@ -684,15 +684,15 @@ 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 +

    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 +

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

    +

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

    Examples

    Simple patterns:

    @@ -711,20 +711,20 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rsplit_terminator method can be used.

    Examples

    Basic usage:

    @@ -736,11 +736,11 @@ from a forward search, the 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 +

    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 +

    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 +

    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.

    @@ -748,7 +748,7 @@ rather than separated by a pattern.

    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 +

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

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -759,16 +759,16 @@ used.

    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 +

    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 +

    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 +

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

    Examples

    Simple patterns:

    @@ -788,17 +788,17 @@ used.

    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 +

    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 +

    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.

    +

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

    Examples

    Simple patterns:

    @@ -814,29 +814,29 @@ efficient to support.

    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 +

    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 +

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rmatches method can be used.

    Examples

    Basic usage:

    @@ -845,15 +845,15 @@ from a forward search, the 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, +

    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 +

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

    +

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

    Examples

    Basic usage:

    @@ -862,18 +862,18 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rmatch_indices method can be used.

    Examples

    Basic usage:

    @@ -885,17 +885,17 @@ from a forward search, the 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, +

    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 +

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

    +

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

    Examples

    Basic usage:

    @@ -907,7 +907,7 @@ search yields the same elements.

    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.

    +

    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
    @@ -916,7 +916,7 @@ Core Property White_Space, which includes newlines.

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

    Returns a string slice with leading whitespace removed.

    +

    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
    @@ -936,7 +936,7 @@ Arabic or Hebrew, this will be the right side.

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

    Returns a string slice with trailing whitespace removed.

    +

    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
    @@ -956,7 +956,7 @@ Arabic or Hebrew, this will be the left side.

    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.

    +
    👎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
    @@ -977,7 +977,7 @@ the right side, not the left.

    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.

    +
    👎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
    @@ -998,9 +998,9 @@ the left side, not the right.

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

    Returns a string slice with all prefixes and suffixes that match a +

    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 +

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

    Examples

    Simple patterns:

    @@ -1013,9 +1013,9 @@ or closure that determines if a character matches.

    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 +

    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 +

    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 @@ -1030,29 +1030,29 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -

    Returns a string slice with the prefix removed.

    +

    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 +

    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.

    +

    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 +

    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 +

    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 +

    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 @@ -1070,9 +1070,9 @@ Arabic or Hebrew, this will be the left side.

    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 +

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

    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 @@ -1087,9 +1087,9 @@ the right side, not the left.

    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 +

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

    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 @@ -1107,15 +1107,15 @@ the left side, not the right.

    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.

    +

    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.

    +

    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 +

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

    Examples

    Basic usage

    @@ -1133,21 +1133,21 @@ the desired type.

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

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

    +

    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.

    +

    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"));
    -

    Converts this string to its ASCII upper case equivalent in-place.

    +

    Converts this string to its ASCII upper case equivalent in-place.

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

    To return a new uppercased value without modifying the existing one, use @@ -1158,7 +1158,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_uppercase(); assert_eq!("GRüßE, JüRGEN ❤", s);
    -

    Converts this string to its ASCII lower case equivalent in-place.

    +

    Converts this string to its ASCII lower case equivalent in-place.

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

    To return a new lowercased value without modifying the existing one, use @@ -1169,7 +1169,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_lowercase(); assert_eq!("grÜße, jÜrgen ❤", s);
    -

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

    +

    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
    @@ -1188,7 +1188,7 @@ escaped.

    Using to_string:

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

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

    +

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

    Examples

    As an iterator:

    @@ -1205,7 +1205,7 @@ escaped.

    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.

    +

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

    Examples

    As an iterator:

    @@ -1222,8 +1222,8 @@ escaped.

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

    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
    @@ -1237,8 +1237,8 @@ replaces them with the replacement string slice.

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

    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
    @@ -1252,11 +1252,11 @@ replaces them with the replacement string slice at most count times
    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.

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1279,11 +1279,11 @@ parameter in-place.

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

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

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1301,7 +1301,7 @@ parameter in-place.

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

    Creates a new String by repeating a string n times.

    +

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1312,34 +1312,34 @@ parameter in-place.

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

    Returns a copy of this string where each character is mapped to its +

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

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

    +

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/add/struct.EasyIndexPage.html b/mcaptcha/pages/panel/sitekey/add/struct.EasyIndexPage.html index 05e19e07..f051f4c1 100644 --- a/mcaptcha/pages/panel/sitekey/add/struct.EasyIndexPage.html +++ b/mcaptcha/pages/panel/sitekey/add/struct.EasyIndexPage.html @@ -1,15 +1,15 @@ EasyIndexPage in mcaptcha::pages::panel::sitekey::add - Rust
    pub struct EasyIndexPage<'a> {
    -    pub form_description: &'a str,
    -    pub form_title: &'a str,
    -    pub peak_sustainable_traffic: Option<usize>,
    -    pub avg_traffic: Option<usize>,
    -    pub broke_my_site_traffic: Option<usize>,
    -}

    Fields§

    §form_description: &'a str§form_title: &'a str§peak_sustainable_traffic: Option<usize>§avg_traffic: Option<usize>§broke_my_site_traffic: Option<usize>

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Returns the “default value” for a type. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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 form_description: &'a str, + pub form_title: &'a str, + pub peak_sustainable_traffic: Option<usize>, + pub avg_traffic: Option<usize>, + pub broke_my_site_traffic: Option<usize>, +}

    Fields§

    §form_description: &'a str§form_title: &'a str§peak_sustainable_traffic: Option<usize>§avg_traffic: Option<usize>§broke_my_site_traffic: Option<usize>

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Returns the “default value” for a type. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/add/struct.advance.html b/mcaptcha/pages/panel/sitekey/add/struct.advance.html index 6e27220d..16ff3940 100644 --- a/mcaptcha/pages/panel/sitekey/add/struct.advance.html +++ b/mcaptcha/pages/panel/sitekey/add/struct.advance.html @@ -1,9 +1,9 @@ -advance in mcaptcha::pages::panel::sitekey::add - Rust
    pub struct advance;

    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.

    +advance in mcaptcha::pages::panel::sitekey::add - Rust
    pub struct advance;

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/add/struct.easy.html b/mcaptcha/pages/panel/sitekey/add/struct.easy.html index 2c8eb2e5..58e13306 100644 --- a/mcaptcha/pages/panel/sitekey/add/struct.easy.html +++ b/mcaptcha/pages/panel/sitekey/add/struct.easy.html @@ -1,9 +1,9 @@ -easy in mcaptcha::pages::panel::sitekey::add - Rust

    Struct mcaptcha::pages::panel::sitekey::add::easy

    source ·
    pub struct easy;

    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.

    +easy in mcaptcha::pages::panel::sitekey::add - Rust

    Struct mcaptcha::pages::panel::sitekey::add::easy

    source ·
    pub struct easy;

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/delete/index.html b/mcaptcha/pages/panel/sitekey/delete/index.html index d9222fb1..1d36972a 100644 --- a/mcaptcha/pages/panel/sitekey/delete/index.html +++ b/mcaptcha/pages/panel/sitekey/delete/index.html @@ -1 +1 @@ -mcaptcha::pages::panel::sitekey::delete - Rust
    \ No newline at end of file +mcaptcha::pages::panel::sitekey::delete - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/delete/struct.delete_sitekey.html b/mcaptcha/pages/panel/sitekey/delete/struct.delete_sitekey.html index aa8f8e98..04aacabe 100644 --- a/mcaptcha/pages/panel/sitekey/delete/struct.delete_sitekey.html +++ b/mcaptcha/pages/panel/sitekey/delete/struct.delete_sitekey.html @@ -1,9 +1,9 @@ -delete_sitekey in mcaptcha::pages::panel::sitekey::delete - Rust
    pub struct delete_sitekey;

    Trait Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

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

    Returns the argument unchanged.

    +delete_sitekey in mcaptcha::pages::panel::sitekey::delete - Rust
    pub struct delete_sitekey;

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/edit/constant.PAGE.html b/mcaptcha/pages/panel/sitekey/edit/constant.PAGE.html index 978ef43b..3bba46a8 100644 --- a/mcaptcha/pages/panel/sitekey/edit/constant.PAGE.html +++ b/mcaptcha/pages/panel/sitekey/edit/constant.PAGE.html @@ -1 +1 @@ -PAGE in mcaptcha::pages::panel::sitekey::edit - Rust

    Constant mcaptcha::pages::panel::sitekey::edit::PAGE

    source ·
    const PAGE: &str = "Edit Sitekey";
    \ No newline at end of file +PAGE in mcaptcha::pages::panel::sitekey::edit - Rust

    Constant mcaptcha::pages::panel::sitekey::edit::PAGE

    source ·
    const PAGE: &str = "Edit Sitekey";
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/edit/index.html b/mcaptcha/pages/panel/sitekey/edit/index.html index d167455e..bf7f2352 100644 --- a/mcaptcha/pages/panel/sitekey/edit/index.html +++ b/mcaptcha/pages/panel/sitekey/edit/index.html @@ -1 +1 @@ -mcaptcha::pages::panel::sitekey::edit - Rust

    Module mcaptcha::pages::panel::sitekey::edit

    source ·

    Structs

    route handler that renders individual views for sitekeys
    route handler that renders individual views for sitekeys

    Constants

    PAGE 🔒
    \ No newline at end of file +mcaptcha::pages::panel::sitekey::edit - Rust

    Module mcaptcha::pages::panel::sitekey::edit

    source ·

    Structs

    route handler that renders individual views for sitekeys
    route handler that renders individual views for sitekeys

    Constants

    PAGE 🔒
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/edit/struct.AdvanceEditPage.html b/mcaptcha/pages/panel/sitekey/edit/struct.AdvanceEditPage.html index 4d5bcbf2..adc26926 100644 --- a/mcaptcha/pages/panel/sitekey/edit/struct.AdvanceEditPage.html +++ b/mcaptcha/pages/panel/sitekey/edit/struct.AdvanceEditPage.html @@ -1,14 +1,14 @@ AdvanceEditPage in mcaptcha::pages::panel::sitekey::edit - Rust
    struct AdvanceEditPage {
    -    duration: u32,
    -    name: String,
    -    key: String,
    -    levels: Vec<Level>,
    -}

    Fields§

    §duration: u32§name: String§key: String§levels: Vec<Level>

    Implementations§

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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.

    + duration: u32, + name: String, + key: String, + levels: Vec<Level>, +}

    Fields§

    §duration: u32§name: String§key: String§levels: Vec<Level>

    Implementations§

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/edit/struct.EasyEditPage.html b/mcaptcha/pages/panel/sitekey/edit/struct.EasyEditPage.html index 7e5beb11..72d6b63d 100644 --- a/mcaptcha/pages/panel/sitekey/edit/struct.EasyEditPage.html +++ b/mcaptcha/pages/panel/sitekey/edit/struct.EasyEditPage.html @@ -1,13 +1,13 @@ EasyEditPage in mcaptcha::pages::panel::sitekey::edit - Rust
    pub struct EasyEditPage<'a> {
    -    pub form_title: &'a str,
    +    pub form_title: &'a str,
         pub pattern: TrafficPatternRequest,
    -    pub key: String,
    -}

    Fields§

    §form_title: &'a str§pattern: TrafficPatternRequest§key: String

    Implementations§

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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 key: String, +}

    Fields§

    §form_title: &'a str§pattern: TrafficPatternRequest§key: String

    Implementations§

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/edit/struct.advance.html b/mcaptcha/pages/panel/sitekey/edit/struct.advance.html index 1ebf16c7..e08e75c6 100644 --- a/mcaptcha/pages/panel/sitekey/edit/struct.advance.html +++ b/mcaptcha/pages/panel/sitekey/edit/struct.advance.html @@ -1,10 +1,10 @@ advance in mcaptcha::pages::panel::sitekey::edit - Rust
    pub struct advance;
    Expand description

    route handler that renders individual views for sitekeys

    -

    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.

    +

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/edit/struct.easy.html b/mcaptcha/pages/panel/sitekey/edit/struct.easy.html index 4c020a7f..adbcabd6 100644 --- a/mcaptcha/pages/panel/sitekey/edit/struct.easy.html +++ b/mcaptcha/pages/panel/sitekey/edit/struct.easy.html @@ -1,10 +1,10 @@ easy in mcaptcha::pages::panel::sitekey::edit - Rust

    Struct mcaptcha::pages::panel::sitekey::edit::easy

    source ·
    pub struct easy;
    Expand description

    route handler that renders individual views for sitekeys

    -

    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.

    +

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/fn.services.html b/mcaptcha/pages/panel/sitekey/fn.services.html index 857a4ad9..2ca624a6 100644 --- a/mcaptcha/pages/panel/sitekey/fn.services.html +++ b/mcaptcha/pages/panel/sitekey/fn.services.html @@ -1 +1 @@ -services in mcaptcha::pages::panel::sitekey - Rust

    Function mcaptcha::pages::panel::sitekey::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file +services in mcaptcha::pages::panel::sitekey - Rust

    Function mcaptcha::pages::panel::sitekey::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/index.html b/mcaptcha/pages/panel/sitekey/index.html index 4024c981..324af652 100644 --- a/mcaptcha/pages/panel/sitekey/index.html +++ b/mcaptcha/pages/panel/sitekey/index.html @@ -1 +1 @@ -mcaptcha::pages::panel::sitekey - Rust
    \ No newline at end of file +mcaptcha::pages::panel::sitekey - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/list/constant.PAGE.html b/mcaptcha/pages/panel/sitekey/list/constant.PAGE.html index 4d27743f..19a51479 100644 --- a/mcaptcha/pages/panel/sitekey/list/constant.PAGE.html +++ b/mcaptcha/pages/panel/sitekey/list/constant.PAGE.html @@ -1 +1 @@ -PAGE in mcaptcha::pages::panel::sitekey::list - Rust

    Constant mcaptcha::pages::panel::sitekey::list::PAGE

    source ·
    const PAGE: &str = "SiteKeys";
    \ No newline at end of file +PAGE in mcaptcha::pages::panel::sitekey::list - Rust

    Constant mcaptcha::pages::panel::sitekey::list::PAGE

    source ·
    const PAGE: &str = "SiteKeys";
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/list/index.html b/mcaptcha/pages/panel/sitekey/list/index.html index 0b5a1254..fc4955e1 100644 --- a/mcaptcha/pages/panel/sitekey/list/index.html +++ b/mcaptcha/pages/panel/sitekey/list/index.html @@ -1 +1 @@ -mcaptcha::pages::panel::sitekey::list - Rust

    Module mcaptcha::pages::panel::sitekey::list

    source ·

    Structs

    render a list of all sitekeys that a user has

    Constants

    PAGE 🔒
    \ No newline at end of file +mcaptcha::pages::panel::sitekey::list - Rust

    Module mcaptcha::pages::panel::sitekey::list

    source ·

    Structs

    render a list of all sitekeys that a user has

    Constants

    PAGE 🔒
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/list/struct.IndexPage.html b/mcaptcha/pages/panel/sitekey/list/struct.IndexPage.html index b0b54f29..1dc84472 100644 --- a/mcaptcha/pages/panel/sitekey/list/struct.IndexPage.html +++ b/mcaptcha/pages/panel/sitekey/list/struct.IndexPage.html @@ -1,11 +1,11 @@ IndexPage in mcaptcha::pages::panel::sitekey::list - Rust
    pub struct IndexPage {
    -    sitekeys: Vec<Captcha>,
    -}

    Fields§

    §sitekeys: Vec<Captcha>

    Implementations§

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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.

    + sitekeys: Vec<Captcha>, +}

    Fields§

    §sitekeys: Vec<Captcha>

    Implementations§

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/list/struct.list_sitekeys.html b/mcaptcha/pages/panel/sitekey/list/struct.list_sitekeys.html index af513155..5066bcf5 100644 --- a/mcaptcha/pages/panel/sitekey/list/struct.list_sitekeys.html +++ b/mcaptcha/pages/panel/sitekey/list/struct.list_sitekeys.html @@ -1,10 +1,10 @@ list_sitekeys in mcaptcha::pages::panel::sitekey::list - Rust
    pub struct list_sitekeys;
    Expand description

    render a list of all sitekeys that a user has

    -

    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.

    +

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/routes/index.html b/mcaptcha/pages/panel/sitekey/routes/index.html index d8f997fa..2eda3c9e 100644 --- a/mcaptcha/pages/panel/sitekey/routes/index.html +++ b/mcaptcha/pages/panel/sitekey/routes/index.html @@ -1 +1 @@ -mcaptcha::pages::panel::sitekey::routes - Rust
    \ No newline at end of file +mcaptcha::pages::panel::sitekey::routes - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/routes/struct.Sitekey.html b/mcaptcha/pages/panel/sitekey/routes/struct.Sitekey.html index f0781e98..777fd1eb 100644 --- a/mcaptcha/pages/panel/sitekey/routes/struct.Sitekey.html +++ b/mcaptcha/pages/panel/sitekey/routes/struct.Sitekey.html @@ -1,17 +1,17 @@ Sitekey in mcaptcha::pages::panel::sitekey::routes - Rust
    pub struct Sitekey {
    -    pub list: &'static str,
    -    pub add_easy: &'static str,
    -    pub add_advance: &'static str,
    -    pub view: &'static str,
    -    pub edit_easy: &'static str,
    -    pub edit_advance: &'static str,
    -    pub delete: &'static str,
    -}

    Fields§

    §list: &'static str§add_easy: &'static str§add_advance: &'static str§view: &'static str§edit_easy: &'static str§edit_advance: &'static str§delete: &'static str

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

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

    Returns the argument unchanged.

    + pub list: &'static str, + pub add_easy: &'static str, + pub add_advance: &'static str, + pub view: &'static str, + pub edit_easy: &'static str, + pub edit_advance: &'static str, + pub delete: &'static str, +}

    Fields§

    §list: &'static str§add_easy: &'static str§add_advance: &'static str§view: &'static str§edit_easy: &'static str§edit_advance: &'static str§delete: &'static str

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

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

    Returns the argument unchanged.

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

    Calls U::from(self).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/view/constant.PAGE.html b/mcaptcha/pages/panel/sitekey/view/constant.PAGE.html index c49f9f66..25f5c4c5 100644 --- a/mcaptcha/pages/panel/sitekey/view/constant.PAGE.html +++ b/mcaptcha/pages/panel/sitekey/view/constant.PAGE.html @@ -1 +1 @@ -PAGE in mcaptcha::pages::panel::sitekey::view - Rust

    Constant mcaptcha::pages::panel::sitekey::view::PAGE

    source ·
    const PAGE: &str = "SiteKeys";
    \ No newline at end of file +PAGE in mcaptcha::pages::panel::sitekey::view - Rust

    Constant mcaptcha::pages::panel::sitekey::view::PAGE

    source ·
    const PAGE: &str = "SiteKeys";
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/view/index.html b/mcaptcha/pages/panel/sitekey/view/index.html index cb6d7eb0..657da859 100644 --- a/mcaptcha/pages/panel/sitekey/view/index.html +++ b/mcaptcha/pages/panel/sitekey/view/index.html @@ -1 +1 @@ -mcaptcha::pages::panel::sitekey::view - Rust

    Module mcaptcha::pages::panel::sitekey::view

    source ·

    Structs

    IndexPage 🔒
    route handler that renders individual views for sitekeys

    Constants

    PAGE 🔒
    \ No newline at end of file +mcaptcha::pages::panel::sitekey::view - Rust

    Module mcaptcha::pages::panel::sitekey::view

    source ·

    Structs

    IndexPage 🔒
    route handler that renders individual views for sitekeys

    Constants

    PAGE 🔒
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/view/struct.IndexPage.html b/mcaptcha/pages/panel/sitekey/view/struct.IndexPage.html index 29d3e483..bc776f4c 100644 --- a/mcaptcha/pages/panel/sitekey/view/struct.IndexPage.html +++ b/mcaptcha/pages/panel/sitekey/view/struct.IndexPage.html @@ -1,15 +1,15 @@ IndexPage in mcaptcha::pages::panel::sitekey::view - Rust
    struct IndexPage {
    -    duration: u32,
    -    name: String,
    -    key: String,
    -    levels: Vec<Level>,
    +    duration: u32,
    +    name: String,
    +    key: String,
    +    levels: Vec<Level>,
         stats: CaptchaStats,
    -}

    Fields§

    §duration: u32§name: String§key: String§levels: Vec<Level>§stats: CaptchaStats

    Implementations§

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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§

    §duration: u32§name: String§key: String§levels: Vec<Level>§stats: CaptchaStats

    Implementations§

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/view/struct.view_sitekey.html b/mcaptcha/pages/panel/sitekey/view/struct.view_sitekey.html index 06ce25d0..e47c947f 100644 --- a/mcaptcha/pages/panel/sitekey/view/struct.view_sitekey.html +++ b/mcaptcha/pages/panel/sitekey/view/struct.view_sitekey.html @@ -1,10 +1,10 @@ view_sitekey in mcaptcha::pages::panel::sitekey::view - Rust
    pub struct view_sitekey;
    Expand description

    route handler that renders individual views for sitekeys

    -

    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.

    +

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/struct.IndexPage.html b/mcaptcha/pages/panel/struct.IndexPage.html index 2ec61a0e..810bfc62 100644 --- a/mcaptcha/pages/panel/struct.IndexPage.html +++ b/mcaptcha/pages/panel/struct.IndexPage.html @@ -1,11 +1,11 @@ IndexPage in mcaptcha::pages::panel - Rust

    Struct mcaptcha::pages::panel::IndexPage

    source ·
    pub struct IndexPage {
    -    sitekeys: Vec<Captcha>,
    -}

    Fields§

    §sitekeys: Vec<Captcha>

    Implementations§

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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.

    + sitekeys: Vec<Captcha>, +}

    Fields§

    §sitekeys: Vec<Captcha>

    Implementations§

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/struct.panel.html b/mcaptcha/pages/panel/struct.panel.html index 92c6b8ae..0660f9e1 100644 --- a/mcaptcha/pages/panel/struct.panel.html +++ b/mcaptcha/pages/panel/struct.panel.html @@ -1,9 +1,9 @@ -panel in mcaptcha::pages::panel - Rust

    Struct mcaptcha::pages::panel::panel

    source ·
    pub struct panel;

    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.

    +panel in mcaptcha::pages::panel - Rust

    Struct mcaptcha::pages::panel::panel

    source ·
    pub struct panel;

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/routes/constant.ROUTES.html b/mcaptcha/pages/routes/constant.ROUTES.html index d3d9e3d7..33dcd2bf 100644 --- a/mcaptcha/pages/routes/constant.ROUTES.html +++ b/mcaptcha/pages/routes/constant.ROUTES.html @@ -1 +1 @@ -ROUTES in mcaptcha::pages::routes - Rust

    Constant mcaptcha::pages::routes::ROUTES

    source ·
    pub const ROUTES: Routes;
    \ No newline at end of file +ROUTES in mcaptcha::pages::routes - Rust

    Constant mcaptcha::pages::routes::ROUTES

    source ·
    pub const ROUTES: Routes;
    \ No newline at end of file diff --git a/mcaptcha/pages/routes/index.html b/mcaptcha/pages/routes/index.html index fc72868d..285cd2c0 100644 --- a/mcaptcha/pages/routes/index.html +++ b/mcaptcha/pages/routes/index.html @@ -1 +1 @@ -mcaptcha::pages::routes - Rust
    \ No newline at end of file +mcaptcha::pages::routes - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/routes/struct.Routes.html b/mcaptcha/pages/routes/struct.Routes.html index 97aab7ab..a2bcadbd 100644 --- a/mcaptcha/pages/routes/struct.Routes.html +++ b/mcaptcha/pages/routes/struct.Routes.html @@ -1,20 +1,20 @@ Routes in mcaptcha::pages::routes - Rust

    Struct mcaptcha::pages::routes::Routes

    source ·
    pub struct Routes {
    -    pub home: &'static str,
    +    pub home: &'static str,
         pub auth: Auth,
         pub panel: Panel,
         pub errors: Errors,
    -    pub about: &'static str,
    -    pub sitemap: &'static str,
    -    pub thanks: &'static str,
    -    pub donate: &'static str,
    -    pub security: &'static str,
    -    pub privacy: &'static str,
    -}

    Fields§

    §home: &'static str§auth: Auth§panel: Panel§errors: Errors§about: &'static str§sitemap: &'static str§thanks: &'static str§donate: &'static str§security: &'static str§privacy: &'static str

    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.

    + pub about: &'static str, + pub sitemap: &'static str, + pub thanks: &'static str, + pub donate: &'static str, + pub security: &'static str, + pub privacy: &'static str, +}

    Fields§

    §home: &'static str§auth: Auth§panel: Panel§errors: Errors§about: &'static str§sitemap: &'static str§thanks: &'static str§donate: &'static str§security: &'static str§privacy: &'static str

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/sitemap/index.html b/mcaptcha/pages/sitemap/index.html index a5b62d5a..e93ed495 100644 --- a/mcaptcha/pages/sitemap/index.html +++ b/mcaptcha/pages/sitemap/index.html @@ -1 +1 @@ -mcaptcha::pages::sitemap - Rust
    \ No newline at end of file +mcaptcha::pages::sitemap - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/sitemap/struct.INDEX.html b/mcaptcha/pages/sitemap/struct.INDEX.html index acd0e01e..f8cdf291 100644 --- a/mcaptcha/pages/sitemap/struct.INDEX.html +++ b/mcaptcha/pages/sitemap/struct.INDEX.html @@ -1,28 +1,28 @@ INDEX in mcaptcha::pages::sitemap - Rust

    Struct mcaptcha::pages::sitemap::INDEX

    source ·
    struct INDEX {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    Extracts a string slice containing the entire String.

    + __private_field: (), +}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    Extracts a string slice containing the entire String.

    Examples

    Basic usage:

    let s = String::from("foo");
     
     assert_eq!("foo", s.as_str());
    -

    Returns this String’s capacity, in bytes.

    +

    Returns this String’s capacity, in bytes.

    Examples

    Basic usage:

    let s = String::with_capacity(10);
     
     assert!(s.capacity() >= 10);
    -

    Returns a byte slice of this String’s contents.

    -

    The inverse of this method is from_utf8.

    +

    Returns a byte slice of this String’s contents.

    +

    The inverse of this method is from_utf8.

    Examples

    Basic usage:

    let s = String::from("hello");
     
     assert_eq!(&[104, 101, 108, 108, 111], s.as_bytes());
    -

    Returns the length of this String, in bytes, not chars or +

    Returns the length of this String, in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    @@ -34,7 +34,7 @@ length of the string.

    let fancy_f = String::from("ƒoo"); assert_eq!(fancy_f.len(), 4); assert_eq!(fancy_f.chars().count(), 3);
    -

    Returns true if this String has a length of zero, and false otherwise.

    +

    Returns true if this String has a length of zero, and false otherwise.

    Examples

    Basic usage:

    @@ -43,8 +43,8 @@ length of the string.

    v.push('a'); assert!(!v.is_empty());
    -

    Methods from Deref<Target = str>§

    Returns the length of self.

    -

    This length is in bytes, not chars or graphemes. In other words, +

    Methods from Deref<Target = 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:

    @@ -54,7 +54,7 @@ it might not be what a human considers the length of the string.

    assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
    -

    Returns true if self has a length of zero bytes.

    +

    Returns true if self has a length of zero bytes.

    Examples

    Basic usage:

    @@ -63,7 +63,7 @@ it might not be what a human considers the length of the string.

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

    Checks that index-th byte is the first byte in a UTF-8 code point +

    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.

    @@ -80,7 +80,7 @@ considered to be boundaries.

    // 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 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 @@ -95,8 +95,8 @@ includes 🧑 (person) instead.

    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 +

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

    @@ -109,14 +109,14 @@ for more details.

    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.

    +

    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 mutable string slice to a mutable byte slice.

    +

    Converts a mutable string slice to a mutable byte slice.

    Safety

    The caller must ensure that the content of the slice is valid UTF-8 before the borrow ends and the underlying str is used.

    @@ -142,26 +142,26 @@ before the borrow ends and the underlying str is used.

    } assert_eq!("🍔∈🌏", s);
    -

    Converts a string slice to a raw pointer.

    +

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

    +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();
    -

    Converts a mutable string slice to a raw pointer.

    +

    Converts a mutable 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 +u8. This pointer will be pointing to the first byte of the string slice.

    It is your responsibility to make sure that the string slice only gets modified in a way that it remains valid UTF-8.

    -

    Returns a subslice of str.

    +

    Returns a subslice of str.

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

    +None whenever equivalent indexing operation would panic.

    Examples
    let v = String::from("🗻∈🌏");
     
    @@ -173,9 +173,9 @@ modified in a way that it remains valid UTF-8.

    // out of bounds assert!(v.get(..42).is_none());
    -

    Returns a mutable subslice of str.

    +

    Returns a mutable subslice of str.

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

    +None whenever equivalent indexing operation would panic.

    Examples
    let mut v = String::from("hello");
     // correct length
    @@ -194,7 +194,7 @@ modified in a way that it remains valid UTF-8.

    assert_eq!(Some("HE"), s); } assert_eq!("HEllo", v);
    -

    Returns an unchecked subslice of str.

    +

    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 @@ -213,7 +213,7 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked(4..7)); assert_eq!("🌏", v.get_unchecked(7..11)); }
    -

    Returns a mutable, unchecked subslice of str.

    +

    Returns a mutable, unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -232,14 +232,14 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked_mut(4..7)); assert_eq!("🌏", v.get_unchecked_mut(7..11)); }
    -
    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

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

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

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

    +slice_mut_unchecked method.

    Safety

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

    @@ -262,14 +262,14 @@ satisfied:

    unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
    -
    👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

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

    👎Deprecated since 1.29.0: use get_unchecked_mut(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 IndexMut.

    +alternative see str and IndexMut.

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

    To get an immutable string slice instead, see the -slice_unchecked method.

    +slice_unchecked method.

    Safety

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

    @@ -278,12 +278,12 @@ satisfied:

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

    Divide one string slice into two at an index.

    +

    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 +

    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 @@ -297,12 +297,12 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -

    Divide one mutable string slice into two at an index.

    +

    Divide one mutable 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 immutable string slices instead, see the split_at method.

    +

    To get immutable string slices instead, see the split_at 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.

    @@ -317,10 +317,10 @@ past the end of the last code point of the string slice.

    assert_eq!(" Martin-Löf", last); } assert_eq!("PER Martin-Löf", s);
    -

    Returns an iterator over the chars of a string slice.

    +

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

    @@ -343,7 +343,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -353,12 +353,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -

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

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

    @@ -379,7 +379,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -393,7 +393,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    An iterator over the bytes of a string slice.

    +

    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
    @@ -407,12 +407,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -

    Splits a string slice by whitespace.

    +

    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.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -437,10 +437,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -

    Splits a string slice by ASCII whitespace.

    +

    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.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -465,7 +465,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -

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

    +

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

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -495,8 +495,8 @@ without a final line ending.

    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.

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

    @@ -506,10 +506,10 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -

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

    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 +

    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:

    @@ -518,10 +518,10 @@ function or closure that determines if a character matches.

    assert!(bananas.contains("nana")); assert!(!bananas.contains("apples"));
    -

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

    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 +

    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:

    @@ -530,10 +530,10 @@ function or closure that determines if a character matches.

    assert!(bananas.starts_with("bana")); assert!(!bananas.starts_with("nana"));
    -

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

    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 +

    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:

    @@ -542,10 +542,10 @@ function or closure that determines if a character matches.

    assert!(bananas.ends_with("anas")); assert!(!bananas.ends_with("nana"));
    -

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

    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 +

    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:

    @@ -569,10 +569,10 @@ function or closure that determines if a character matches.

    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 +

    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 +

    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:

    @@ -594,16 +594,16 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -

    An iterator over substrings of this string slice, separated by +

    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 +

    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 +

    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.

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

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -666,12 +666,12 @@ when whitespace is used as the separator. This code is correct:

    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 +

    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 +

    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."
    @@ -684,15 +684,15 @@ 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 +

    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 +

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

    +

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

    Examples

    Simple patterns:

    @@ -711,20 +711,20 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rsplit_terminator method can be used.

    Examples

    Basic usage:

    @@ -736,11 +736,11 @@ from a forward search, the 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 +

    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 +

    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 +

    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.

    @@ -748,7 +748,7 @@ rather than separated by a pattern.

    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 +

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

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -759,16 +759,16 @@ used.

    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 +

    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 +

    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 +

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

    Examples

    Simple patterns:

    @@ -788,17 +788,17 @@ used.

    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 +

    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 +

    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.

    +

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

    Examples

    Simple patterns:

    @@ -814,29 +814,29 @@ efficient to support.

    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 +

    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 +

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rmatches method can be used.

    Examples

    Basic usage:

    @@ -845,15 +845,15 @@ from a forward search, the 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, +

    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 +

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

    +

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

    Examples

    Basic usage:

    @@ -862,18 +862,18 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rmatch_indices method can be used.

    Examples

    Basic usage:

    @@ -885,17 +885,17 @@ from a forward search, the 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, +

    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 +

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

    +

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

    Examples

    Basic usage:

    @@ -907,7 +907,7 @@ search yields the same elements.

    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.

    +

    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
    @@ -916,7 +916,7 @@ Core Property White_Space, which includes newlines.

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

    Returns a string slice with leading whitespace removed.

    +

    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
    @@ -936,7 +936,7 @@ Arabic or Hebrew, this will be the right side.

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

    Returns a string slice with trailing whitespace removed.

    +

    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
    @@ -956,7 +956,7 @@ Arabic or Hebrew, this will be the left side.

    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.

    +
    👎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
    @@ -977,7 +977,7 @@ the right side, not the left.

    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.

    +
    👎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
    @@ -998,9 +998,9 @@ the left side, not the right.

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

    Returns a string slice with all prefixes and suffixes that match a +

    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 +

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

    Examples

    Simple patterns:

    @@ -1013,9 +1013,9 @@ or closure that determines if a character matches.

    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 +

    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 +

    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 @@ -1030,29 +1030,29 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -

    Returns a string slice with the prefix removed.

    +

    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 +

    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.

    +

    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 +

    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 +

    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 +

    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 @@ -1070,9 +1070,9 @@ Arabic or Hebrew, this will be the left side.

    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 +

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

    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 @@ -1087,9 +1087,9 @@ the right side, not the left.

    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 +

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

    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 @@ -1107,15 +1107,15 @@ the left side, not the right.

    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.

    +

    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.

    +

    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 +

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

    Examples

    Basic usage

    @@ -1133,21 +1133,21 @@ the desired type.

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

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

    +

    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.

    +

    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"));
    -

    Converts this string to its ASCII upper case equivalent in-place.

    +

    Converts this string to its ASCII upper case equivalent in-place.

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

    To return a new uppercased value without modifying the existing one, use @@ -1158,7 +1158,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_uppercase(); assert_eq!("GRüßE, JüRGEN ❤", s);
    -

    Converts this string to its ASCII lower case equivalent in-place.

    +

    Converts this string to its ASCII lower case equivalent in-place.

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

    To return a new lowercased value without modifying the existing one, use @@ -1169,7 +1169,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_lowercase(); assert_eq!("grÜße, jÜrgen ❤", s);
    -

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

    +

    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
    @@ -1188,7 +1188,7 @@ escaped.

    Using to_string:

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

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

    +

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

    Examples

    As an iterator:

    @@ -1205,7 +1205,7 @@ escaped.

    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.

    +

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

    Examples

    As an iterator:

    @@ -1222,8 +1222,8 @@ escaped.

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

    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
    @@ -1237,8 +1237,8 @@ replaces them with the replacement string slice.

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

    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
    @@ -1252,11 +1252,11 @@ replaces them with the replacement string slice at most count times
    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.

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1279,11 +1279,11 @@ parameter in-place.

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

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

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1301,7 +1301,7 @@ parameter in-place.

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

    Creates a new String by repeating a string n times.

    +

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1312,34 +1312,34 @@ parameter in-place.

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

    Returns a copy of this string where each character is mapped to its +

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

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

    +

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/sitemap/struct.IndexPage.html b/mcaptcha/pages/sitemap/struct.IndexPage.html index 85b30c77..f8558839 100644 --- a/mcaptcha/pages/sitemap/struct.IndexPage.html +++ b/mcaptcha/pages/sitemap/struct.IndexPage.html @@ -1,12 +1,12 @@ IndexPage in mcaptcha::pages::sitemap - Rust
    struct IndexPage {
    -    urls: [&'static str; 7],
    -    domain: &'static str,
    -}

    Fields§

    §urls: [&'static str; 7]§domain: &'static str

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Returns the “default value” for a type. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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.

    + urls: [&'static str; 7], + domain: &'static str, +}

    Fields§

    §urls: [&'static str; 7]§domain: &'static str

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Returns the “default value” for a type. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/sitemap/struct.sitemap.html b/mcaptcha/pages/sitemap/struct.sitemap.html index bafaf83d..818eccd6 100644 --- a/mcaptcha/pages/sitemap/struct.sitemap.html +++ b/mcaptcha/pages/sitemap/struct.sitemap.html @@ -1,9 +1,9 @@ -sitemap in mcaptcha::pages::sitemap - Rust

    Struct mcaptcha::pages::sitemap::sitemap

    source ·
    pub struct sitemap;

    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.

    +sitemap in mcaptcha::pages::sitemap - Rust

    Struct mcaptcha::pages::sitemap::sitemap

    source ·
    pub struct sitemap;

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/routes/fn.services.html b/mcaptcha/routes/fn.services.html index fdff2616..e07baa24 100644 --- a/mcaptcha/routes/fn.services.html +++ b/mcaptcha/routes/fn.services.html @@ -1 +1 @@ -services in mcaptcha::routes - Rust

    Function mcaptcha::routes::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file +services in mcaptcha::routes - Rust

    Function mcaptcha::routes::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file diff --git a/mcaptcha/routes/index.html b/mcaptcha/routes/index.html index 2067ff5d..c81d9380 100644 --- a/mcaptcha/routes/index.html +++ b/mcaptcha/routes/index.html @@ -1 +1 @@ -mcaptcha::routes - Rust
    \ No newline at end of file +mcaptcha::routes - Rust
    \ No newline at end of file diff --git a/mcaptcha/settings/enum.DBType.html b/mcaptcha/settings/enum.DBType.html index 57217ca5..98c961cc 100644 --- a/mcaptcha/settings/enum.DBType.html +++ b/mcaptcha/settings/enum.DBType.html @@ -1,14 +1,14 @@ DBType in mcaptcha::settings - Rust
    pub enum DBType {
         Postgres,
         Maria,
    -}

    Variants§

    §

    Postgres

    §

    Maria

    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 ==.
    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    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.

    +}

    Variants§

    §

    Postgres

    §

    Maria

    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 ==.
    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    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).

    +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 +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 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/mcaptcha/settings/fn.check_url.html b/mcaptcha/settings/fn.check_url.html index 22d35c9c..e2f4a318 100644 --- a/mcaptcha/settings/fn.check_url.html +++ b/mcaptcha/settings/fn.check_url.html @@ -1 +1 @@ -check_url in mcaptcha::settings - Rust

    Function mcaptcha::settings::check_url

    source ·
    fn check_url(s: &Config)
    \ No newline at end of file +check_url in mcaptcha::settings - Rust

    Function mcaptcha::settings::check_url

    source ·
    fn check_url(s: &Config)
    \ No newline at end of file diff --git a/mcaptcha/settings/fn.set_database_url.html b/mcaptcha/settings/fn.set_database_url.html index 1457519d..4c303495 100644 --- a/mcaptcha/settings/fn.set_database_url.html +++ b/mcaptcha/settings/fn.set_database_url.html @@ -1 +1 @@ -set_database_url in mcaptcha::settings - Rust
    fn set_database_url(s: &mut Config)
    \ No newline at end of file +set_database_url in mcaptcha::settings - Rust
    fn set_database_url(s: &mut Config)
    \ No newline at end of file diff --git a/mcaptcha/settings/index.html b/mcaptcha/settings/index.html index 83dc44eb..5c7e9a1a 100644 --- a/mcaptcha/settings/index.html +++ b/mcaptcha/settings/index.html @@ -1 +1 @@ -mcaptcha::settings - Rust
    \ No newline at end of file +mcaptcha::settings - Rust
    \ No newline at end of file diff --git a/mcaptcha/settings/struct.Captcha.html b/mcaptcha/settings/struct.Captcha.html index 5f9d391e..0604dcff 100644 --- a/mcaptcha/settings/struct.Captcha.html +++ b/mcaptcha/settings/struct.Captcha.html @@ -1,16 +1,16 @@ Captcha in mcaptcha::settings - Rust

    Struct mcaptcha::settings::Captcha

    source ·
    pub struct Captcha {
    -    pub salt: String,
    -    pub gc: u64,
    -    pub runners: Option<usize>,
    -    pub queue_length: usize,
    -    pub enable_stats: bool,
    +    pub salt: String,
    +    pub gc: u64,
    +    pub runners: Option<usize>,
    +    pub queue_length: usize,
    +    pub enable_stats: bool,
         pub default_difficulty_strategy: DefaultDifficultyStrategy,
    -}

    Fields§

    §salt: String§gc: u64§runners: Option<usize>§queue_length: usize§enable_stats: bool§default_difficulty_strategy: DefaultDifficultyStrategy

    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

    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§

    §salt: String§gc: u64§runners: Option<usize>§queue_length: usize§enable_stats: bool§default_difficulty_strategy: DefaultDifficultyStrategy

    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

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/settings/struct.Database.html b/mcaptcha/settings/struct.Database.html index 7549cd32..5c79861c 100644 --- a/mcaptcha/settings/struct.Database.html +++ b/mcaptcha/settings/struct.Database.html @@ -1,13 +1,13 @@ Database in mcaptcha::settings - Rust

    Struct mcaptcha::settings::Database

    source ·
    pub struct Database {
    -    pub url: String,
    -    pub pool: u32,
    +    pub url: String,
    +    pub pool: u32,
         pub database_type: DBType,
    -}

    Fields§

    §url: String§pool: u32§database_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

    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: String§pool: u32§database_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

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/settings/struct.DefaultDifficultyStrategy.html b/mcaptcha/settings/struct.DefaultDifficultyStrategy.html index cd5f55ce..dc9290ba 100644 --- a/mcaptcha/settings/struct.DefaultDifficultyStrategy.html +++ b/mcaptcha/settings/struct.DefaultDifficultyStrategy.html @@ -1,14 +1,14 @@ DefaultDifficultyStrategy in mcaptcha::settings - Rust
    pub struct DefaultDifficultyStrategy {
    -    pub avg_traffic_difficulty: u32,
    -    pub broke_my_site_traffic_difficulty: u32,
    -    pub peak_sustainable_traffic_difficulty: u32,
    -    pub duration: u32,
    -}

    Fields§

    §avg_traffic_difficulty: u32§broke_my_site_traffic_difficulty: u32§peak_sustainable_traffic_difficulty: u32§duration: u32

    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

    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 avg_traffic_difficulty: u32, + pub broke_my_site_traffic_difficulty: u32, + pub peak_sustainable_traffic_difficulty: u32, + pub duration: u32, +}

    Fields§

    §avg_traffic_difficulty: u32§broke_my_site_traffic_difficulty: u32§peak_sustainable_traffic_difficulty: u32§duration: u32

    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

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/settings/struct.Redis.html b/mcaptcha/settings/struct.Redis.html index de5a42b9..5713fe12 100644 --- a/mcaptcha/settings/struct.Redis.html +++ b/mcaptcha/settings/struct.Redis.html @@ -1,12 +1,12 @@ Redis in mcaptcha::settings - Rust

    Struct mcaptcha::settings::Redis

    source ·
    pub struct Redis {
    -    pub url: String,
    -    pub pool: u32,
    -}

    Fields§

    §url: String§pool: u32

    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

    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 url: String, + pub pool: u32, +}

    Fields§

    §url: String§pool: u32

    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

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/settings/struct.Server.html b/mcaptcha/settings/struct.Server.html index b18d2ed6..f9849e2d 100644 --- a/mcaptcha/settings/struct.Server.html +++ b/mcaptcha/settings/struct.Server.html @@ -1,16 +1,16 @@ Server in mcaptcha::settings - Rust

    Struct mcaptcha::settings::Server

    source ·
    pub struct Server {
    -    pub port: u32,
    -    pub domain: String,
    -    pub cookie_secret: String,
    -    pub ip: String,
    -    pub url_prefix: Option<String>,
    -    pub proxy_has_tls: bool,
    -}

    Fields§

    §port: u32§domain: String§cookie_secret: String§ip: String§url_prefix: Option<String>§proxy_has_tls: bool

    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

    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 port: u32, + pub domain: String, + pub cookie_secret: String, + pub ip: String, + pub url_prefix: Option<String>, + pub proxy_has_tls: bool, +}

    Fields§

    §port: u32§domain: String§cookie_secret: String§ip: String§url_prefix: Option<String>§proxy_has_tls: bool

    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

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/settings/struct.Settings.html b/mcaptcha/settings/struct.Settings.html index b05dbfce..c0e48c50 100644 --- a/mcaptcha/settings/struct.Settings.html +++ b/mcaptcha/settings/struct.Settings.html @@ -1,20 +1,20 @@ Settings in mcaptcha::settings - Rust

    Struct mcaptcha::settings::Settings

    source ·
    pub struct Settings {
    -    pub debug: bool,
    -    pub commercial: bool,
    +    pub debug: bool,
    +    pub commercial: bool,
         pub database: Database,
    -    pub redis: Option<Redis>,
    +    pub redis: Option<Redis>,
         pub server: Server,
         pub captcha: Captcha,
    -    pub source_code: String,
    -    pub smtp: Option<Smtp>,
    -    pub allow_registration: bool,
    -    pub allow_demo: bool,
    -}

    Fields§

    §debug: bool§commercial: bool§database: Database§redis: Option<Redis>§server: Server§captcha: Captcha§source_code: String§smtp: Option<Smtp>§allow_registration: bool§allow_demo: bool

    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

    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 source_code: String, + pub smtp: Option<Smtp>, + pub allow_registration: bool, + pub allow_demo: bool, +}

    Fields§

    §debug: bool§commercial: bool§database: Database§redis: Option<Redis>§server: Server§captcha: Captcha§source_code: String§smtp: Option<Smtp>§allow_registration: bool§allow_demo: bool

    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

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/settings/struct.Smtp.html b/mcaptcha/settings/struct.Smtp.html index 72b89649..3f1823a8 100644 --- a/mcaptcha/settings/struct.Smtp.html +++ b/mcaptcha/settings/struct.Smtp.html @@ -1,16 +1,16 @@ Smtp in mcaptcha::settings - Rust

    Struct mcaptcha::settings::Smtp

    source ·
    pub struct Smtp {
    -    pub from: String,
    -    pub reply: String,
    -    pub url: String,
    -    pub username: String,
    -    pub password: String,
    -    pub port: u16,
    -}

    Fields§

    §from: String§reply: String§url: String§username: String§password: String§port: u16

    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

    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 from: String, + pub reply: String, + pub url: String, + pub username: String, + pub password: String, + pub port: u16, +}

    Fields§

    §from: String§reply: String§url: String§username: String§password: String§port: u16

    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

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/filemap/index.html b/mcaptcha/static_assets/filemap/index.html index 7e5cba94..43ac9451 100644 --- a/mcaptcha/static_assets/filemap/index.html +++ b/mcaptcha/static_assets/filemap/index.html @@ -1 +1 @@ -mcaptcha::static_assets::filemap - Rust
    \ No newline at end of file +mcaptcha::static_assets::filemap - Rust
    \ No newline at end of file diff --git a/mcaptcha/static_assets/filemap/struct.FileMap.html b/mcaptcha/static_assets/filemap/struct.FileMap.html index 688f630a..51e2604a 100644 --- a/mcaptcha/static_assets/filemap/struct.FileMap.html +++ b/mcaptcha/static_assets/filemap/struct.FileMap.html @@ -1,11 +1,11 @@ FileMap in mcaptcha::static_assets::filemap - Rust
    pub struct FileMap {
         pub files: Files,
    -}

    Fields§

    §files: Files

    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§

    §files: Files

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/fn.services.html b/mcaptcha/static_assets/fn.services.html index cf311d4d..15788bd5 100644 --- a/mcaptcha/static_assets/fn.services.html +++ b/mcaptcha/static_assets/fn.services.html @@ -1 +1 @@ -services in mcaptcha::static_assets - Rust
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file +services in mcaptcha::static_assets - Rust
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file diff --git a/mcaptcha/static_assets/index.html b/mcaptcha/static_assets/index.html index 0560fef6..8ad2d7c9 100644 --- a/mcaptcha/static_assets/index.html +++ b/mcaptcha/static_assets/index.html @@ -1 +1 @@ -mcaptcha::static_assets - Rust
    \ No newline at end of file +mcaptcha::static_assets - Rust
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/assets/index.html b/mcaptcha/static_assets/static_files/assets/index.html index 425aab3c..f95eef9d 100644 --- a/mcaptcha/static_assets/static_files/assets/index.html +++ b/mcaptcha/static_assets/static_files/assets/index.html @@ -1 +1 @@ -mcaptcha::static_assets::static_files::assets - Rust
    \ No newline at end of file +mcaptcha::static_assets::static_files::assets - Rust
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/assets/struct.BAR_CHART.html b/mcaptcha/static_assets/static_files/assets/struct.BAR_CHART.html index 84dfa436..cabbb6ab 100644 --- a/mcaptcha/static_assets/static_files/assets/struct.BAR_CHART.html +++ b/mcaptcha/static_assets/static_files/assets/struct.BAR_CHART.html @@ -1,11 +1,11 @@ BAR_CHART in mcaptcha::static_assets::static_files::assets - Rust
    pub struct BAR_CHART {
    -    __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.

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

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/assets/struct.CREDIT_CARD.html b/mcaptcha/static_assets/static_files/assets/struct.CREDIT_CARD.html index a1fc1f67..cf545d4c 100644 --- a/mcaptcha/static_assets/static_files/assets/struct.CREDIT_CARD.html +++ b/mcaptcha/static_assets/static_files/assets/struct.CREDIT_CARD.html @@ -1,11 +1,11 @@ CREDIT_CARD in mcaptcha::static_assets::static_files::assets - Rust
    pub struct CREDIT_CARD {
    -    __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.

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

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/assets/struct.DOCS_ICON.html b/mcaptcha/static_assets/static_files/assets/struct.DOCS_ICON.html index 3a970b3f..79ea5e72 100644 --- a/mcaptcha/static_assets/static_files/assets/struct.DOCS_ICON.html +++ b/mcaptcha/static_assets/static_files/assets/struct.DOCS_ICON.html @@ -1,11 +1,11 @@ DOCS_ICON in mcaptcha::static_assets::static_files::assets - Rust
    pub struct DOCS_ICON {
    -    __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.

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

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/assets/struct.GITHUB.html b/mcaptcha/static_assets/static_files/assets/struct.GITHUB.html index 6764fddb..7a71f398 100644 --- a/mcaptcha/static_assets/static_files/assets/struct.GITHUB.html +++ b/mcaptcha/static_assets/static_files/assets/struct.GITHUB.html @@ -1,11 +1,11 @@ GITHUB in mcaptcha::static_assets::static_files::assets - Rust
    pub struct GITHUB {
    -    __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.

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

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/assets/struct.HELP_CIRCLE.html b/mcaptcha/static_assets/static_files/assets/struct.HELP_CIRCLE.html index 4ea7bdc0..0aa1ba44 100644 --- a/mcaptcha/static_assets/static_files/assets/struct.HELP_CIRCLE.html +++ b/mcaptcha/static_assets/static_files/assets/struct.HELP_CIRCLE.html @@ -1,11 +1,11 @@ HELP_CIRCLE in mcaptcha::static_assets::static_files::assets - Rust
    pub struct HELP_CIRCLE {
    -    __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.

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

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/assets/struct.HOME.html b/mcaptcha/static_assets/static_files/assets/struct.HOME.html index 76898fb0..b6f75184 100644 --- a/mcaptcha/static_assets/static_files/assets/struct.HOME.html +++ b/mcaptcha/static_assets/static_files/assets/struct.HOME.html @@ -1,11 +1,11 @@ HOME in mcaptcha::static_assets::static_files::assets - Rust
    pub struct HOME {
    -    __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.

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

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/assets/struct.KEY.html b/mcaptcha/static_assets/static_files/assets/struct.KEY.html index a5acabf1..c7630134 100644 --- a/mcaptcha/static_assets/static_files/assets/struct.KEY.html +++ b/mcaptcha/static_assets/static_files/assets/struct.KEY.html @@ -1,11 +1,11 @@ KEY in mcaptcha::static_assets::static_files::assets - Rust
    pub struct KEY {
    -    __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.

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

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/assets/struct.MCAPTCHA_TRANS_ICON.html b/mcaptcha/static_assets/static_files/assets/struct.MCAPTCHA_TRANS_ICON.html index 2346ca6a..1cf37086 100644 --- a/mcaptcha/static_assets/static_files/assets/struct.MCAPTCHA_TRANS_ICON.html +++ b/mcaptcha/static_assets/static_files/assets/struct.MCAPTCHA_TRANS_ICON.html @@ -1,11 +1,11 @@ MCAPTCHA_TRANS_ICON in mcaptcha::static_assets::static_files::assets - Rust
    pub struct MCAPTCHA_TRANS_ICON {
    -    __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.

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

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/assets/struct.MESSAGE.html b/mcaptcha/static_assets/static_files/assets/struct.MESSAGE.html index ae7646ed..217177ad 100644 --- a/mcaptcha/static_assets/static_files/assets/struct.MESSAGE.html +++ b/mcaptcha/static_assets/static_files/assets/struct.MESSAGE.html @@ -1,11 +1,11 @@ MESSAGE in mcaptcha::static_assets::static_files::assets - Rust
    pub struct MESSAGE {
    -    __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.

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

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/assets/struct.SETTINGS_ICON.html b/mcaptcha/static_assets/static_files/assets/struct.SETTINGS_ICON.html index 3dabf33b..c0ee6084 100644 --- a/mcaptcha/static_assets/static_files/assets/struct.SETTINGS_ICON.html +++ b/mcaptcha/static_assets/static_files/assets/struct.SETTINGS_ICON.html @@ -1,11 +1,11 @@ SETTINGS_ICON in mcaptcha::static_assets::static_files::assets - Rust
    pub struct SETTINGS_ICON {
    -    __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.

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

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/assets/type.Img.html b/mcaptcha/static_assets/static_files/assets/type.Img.html index 86046a1a..417272e9 100644 --- a/mcaptcha/static_assets/static_files/assets/type.Img.html +++ b/mcaptcha/static_assets/static_files/assets/type.Img.html @@ -1 +1 @@ -Img in mcaptcha::static_assets::static_files::assets - Rust

    Type Definition mcaptcha::static_assets::static_files::assets::Img

    source ·
    type Img = (&'static str, &'static str);
    \ No newline at end of file +Img in mcaptcha::static_assets::static_files::assets - Rust

    Type Definition mcaptcha::static_assets::static_files::assets::Img

    source ·
    type Img = (&'static str, &'static str);
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/fn.handle_assets.html b/mcaptcha/static_assets/static_files/fn.handle_assets.html index f5f990d8..5141381e 100644 --- a/mcaptcha/static_assets/static_files/fn.handle_assets.html +++ b/mcaptcha/static_assets/static_files/fn.handle_assets.html @@ -1 +1 @@ -handle_assets in mcaptcha::static_assets::static_files - Rust
    fn handle_assets(path: &str) -> HttpResponse
    \ No newline at end of file +handle_assets in mcaptcha::static_assets::static_files - Rust
    fn handle_assets(path: &str) -> HttpResponse
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/fn.handle_favicons.html b/mcaptcha/static_assets/static_files/fn.handle_favicons.html index 161ea24d..bbba8f1e 100644 --- a/mcaptcha/static_assets/static_files/fn.handle_favicons.html +++ b/mcaptcha/static_assets/static_files/fn.handle_favicons.html @@ -1 +1 @@ -handle_favicons in mcaptcha::static_assets::static_files - Rust
    fn handle_favicons(path: &str) -> HttpResponse
    \ No newline at end of file +handle_favicons in mcaptcha::static_assets::static_files - Rust
    fn handle_favicons(path: &str) -> HttpResponse
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/index.html b/mcaptcha/static_assets/static_files/index.html index d914b971..cc1a26db 100644 --- a/mcaptcha/static_assets/static_files/index.html +++ b/mcaptcha/static_assets/static_files/index.html @@ -1 +1 @@ -mcaptcha::static_assets::static_files - Rust
    \ No newline at end of file +mcaptcha::static_assets::static_files - Rust
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/struct.Asset.html b/mcaptcha/static_assets/static_files/struct.Asset.html index e845d28a..06389eed 100644 --- a/mcaptcha/static_assets/static_files/struct.Asset.html +++ b/mcaptcha/static_assets/static_files/struct.Asset.html @@ -1,11 +1,11 @@ -Asset in mcaptcha::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 mcaptcha::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).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/struct.Favicons.html b/mcaptcha/static_assets/static_files/struct.Favicons.html index 2bf2711f..cb6a95a3 100644 --- a/mcaptcha/static_assets/static_files/struct.Favicons.html +++ b/mcaptcha/static_assets/static_files/struct.Favicons.html @@ -1,11 +1,11 @@ -Favicons in mcaptcha::static_assets::static_files - Rust
    struct Favicons;

    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.

    +Favicons in mcaptcha::static_assets::static_files - Rust
    struct Favicons;

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/struct.favicons.html b/mcaptcha/static_assets/static_files/struct.favicons.html index e7881155..0fa8e1ec 100644 --- a/mcaptcha/static_assets/static_files/struct.favicons.html +++ b/mcaptcha/static_assets/static_files/struct.favicons.html @@ -1,9 +1,9 @@ -favicons in mcaptcha::static_assets::static_files - Rust
    pub struct favicons;

    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.

    +favicons in mcaptcha::static_assets::static_files - Rust
    pub struct favicons;

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/struct.static_files.html b/mcaptcha/static_assets/static_files/struct.static_files.html index 1e356519..e2028141 100644 --- a/mcaptcha/static_assets/static_files/struct.static_files.html +++ b/mcaptcha/static_assets/static_files/struct.static_files.html @@ -1,9 +1,9 @@ -static_files in mcaptcha::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 mcaptcha::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).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/stats/index.html b/mcaptcha/stats/index.html index 9d4fba03..1f8ea83d 100644 --- a/mcaptcha/stats/index.html +++ b/mcaptcha/stats/index.html @@ -1 +1 @@ -mcaptcha::stats - Rust
    \ No newline at end of file +mcaptcha::stats - Rust
    \ No newline at end of file diff --git a/mcaptcha/stats/struct.CaptchaStats.html b/mcaptcha/stats/struct.CaptchaStats.html index 116ffbaf..20d1a093 100644 --- a/mcaptcha/stats/struct.CaptchaStats.html +++ b/mcaptcha/stats/struct.CaptchaStats.html @@ -1,15 +1,15 @@ CaptchaStats in mcaptcha::stats - Rust
    pub struct CaptchaStats {
    -    pub config_fetches: Vec<i64>,
    -    pub solves: Vec<i64>,
    -    pub confirms: Vec<i64>,
    -}

    Fields§

    §config_fetches: Vec<i64>§solves: Vec<i64>§confirms: Vec<i64>

    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
    Returns the “default value” for a type. 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 ==.
    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    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 config_fetches: Vec<i64>, + pub solves: Vec<i64>, + pub confirms: Vec<i64>, +}

    Fields§

    §config_fetches: Vec<i64>§solves: Vec<i64>§confirms: Vec<i64>

    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
    Returns the “default value” for a type. 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 ==.
    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    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).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/stats/struct.Dummy.html b/mcaptcha/stats/struct.Dummy.html index 40d11013..ade68daa 100644 --- a/mcaptcha/stats/struct.Dummy.html +++ b/mcaptcha/stats/struct.Dummy.html @@ -1,15 +1,15 @@ -Dummy in mcaptcha::stats - Rust

    Struct mcaptcha::stats::Dummy

    source ·
    pub struct Dummy;

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

    record PoWConfig fetches

    -

    record PoWConfig solves

    -

    record PoWConfig confirms

    -

    fetch stats

    -

    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.

    +Dummy in mcaptcha::stats - Rust

    Struct mcaptcha::stats::Dummy

    source ·
    pub struct Dummy;

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

    record PoWConfig fetches

    +

    record PoWConfig solves

    +

    record PoWConfig confirms

    +

    fetch stats

    +

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/stats/struct.Real.html b/mcaptcha/stats/struct.Real.html index 435a285d..f1f7ce44 100644 --- a/mcaptcha/stats/struct.Real.html +++ b/mcaptcha/stats/struct.Real.html @@ -1,15 +1,15 @@ -Real in mcaptcha::stats - Rust

    Struct mcaptcha::stats::Real

    source ·
    pub struct Real;

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

    record PoWConfig fetches

    -

    record PoWConfig solves

    -

    record PoWConfig confirms

    -

    fetch stats

    -

    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.

    +Real in mcaptcha::stats - Rust

    Struct mcaptcha::stats::Real

    source ·
    pub struct Real;

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

    record PoWConfig fetches

    +

    record PoWConfig solves

    +

    record PoWConfig confirms

    +

    fetch stats

    +

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/stats/trait.CloneStats.html b/mcaptcha/stats/trait.CloneStats.html index 87120d62..e1c03f3e 100644 --- a/mcaptcha/stats/trait.CloneStats.html +++ b/mcaptcha/stats/trait.CloneStats.html @@ -1,5 +1,5 @@ CloneStats in mcaptcha::stats - Rust
    pub trait CloneStats {
    -    fn clone_stats(&self) -> Box<dyn Stats>;
    +    fn clone_stats(&self) -> Box<dyn Stats>;
     }
    Expand description

    Trait to clone MCDatabase

    -

    Required Methods§

    clone DB

    -

    Implementors§

    \ No newline at end of file +

    Required Methods§

    clone DB

    +

    Implementors§

    \ No newline at end of file diff --git a/mcaptcha/stats/trait.Stats.html b/mcaptcha/stats/trait.Stats.html index c6451b32..5024c477 100644 --- a/mcaptcha/stats/trait.Stats.html +++ b/mcaptcha/stats/trait.Stats.html @@ -1,10 +1,10 @@ -Stats in mcaptcha::stats - Rust

    Trait mcaptcha::stats::Stats

    source ·
    pub trait Stats: Send + Sync + CloneStats {
    -    fn record_fetch<'life0, 'life1, 'life2, 'async_trait>(
            &'life0 self,
            d: &'life1 Data,
            key: &'life2 str
        ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
        where
            Self: 'async_trait,
            'life0: 'async_trait,
            'life1: 'async_trait,
            'life2: 'async_trait
    ; - fn record_solve<'life0, 'life1, 'life2, 'async_trait>(
            &'life0 self,
            d: &'life1 Data,
            key: &'life2 str
        ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
        where
            Self: 'async_trait,
            'life0: 'async_trait,
            'life1: 'async_trait,
            'life2: 'async_trait
    ; - fn record_confirm<'life0, 'life1, 'life2, 'async_trait>(
            &'life0 self,
            d: &'life1 Data,
            key: &'life2 str
        ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
        where
            Self: 'async_trait,
            'life0: 'async_trait,
            'life1: 'async_trait,
            'life2: 'async_trait
    ; - fn fetch<'life0, 'life1, 'life2, 'life3, 'async_trait>(
            &'life0 self,
            d: &'life1 Data,
            user: &'life2 str,
            key: &'life3 str
        ) -> Pin<Box<dyn Future<Output = DBResult<CaptchaStats>> + Send + 'async_trait>>
        where
            Self: 'async_trait,
            'life0: 'async_trait,
            'life1: 'async_trait,
            'life2: 'async_trait,
            'life3: 'async_trait
    ; -}

    Required Methods§

    record PoWConfig fetches

    -

    record PoWConfig solves

    -

    record PoWConfig confirms

    -

    fetch stats

    -

    Implementors§

    \ No newline at end of file +Stats in mcaptcha::stats - Rust

    Trait mcaptcha::stats::Stats

    source ·
    pub trait Stats: Send + Sync + CloneStats {
    +    fn record_fetch<'life0, 'life1, 'life2, 'async_trait>(
            &'life0 self,
            d: &'life1 Data,
            key: &'life2 str
        ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
        where
            Self: 'async_trait,
            'life0: 'async_trait,
            'life1: 'async_trait,
            'life2: 'async_trait
    ; + fn record_solve<'life0, 'life1, 'life2, 'async_trait>(
            &'life0 self,
            d: &'life1 Data,
            key: &'life2 str
        ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
        where
            Self: 'async_trait,
            'life0: 'async_trait,
            'life1: 'async_trait,
            'life2: 'async_trait
    ; + fn record_confirm<'life0, 'life1, 'life2, 'async_trait>(
            &'life0 self,
            d: &'life1 Data,
            key: &'life2 str
        ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
        where
            Self: 'async_trait,
            'life0: 'async_trait,
            'life1: 'async_trait,
            'life2: 'async_trait
    ; + fn fetch<'life0, 'life1, 'life2, 'life3, 'async_trait>(
            &'life0 self,
            d: &'life1 Data,
            user: &'life2 str,
            key: &'life3 str
        ) -> Pin<Box<dyn Future<Output = DBResult<CaptchaStats>> + Send + 'async_trait>>
        where
            Self: 'async_trait,
            'life0: 'async_trait,
            'life1: 'async_trait,
            'life2: 'async_trait,
            'life3: 'async_trait
    ; +}

    Required Methods§

    record PoWConfig fetches

    +

    record PoWConfig solves

    +

    record PoWConfig confirms

    +

    fetch stats

    +

    Implementors§

    \ No newline at end of file diff --git a/mcaptcha/struct.BAR_CHART.html b/mcaptcha/struct.BAR_CHART.html index aa37b168..4ea511e8 100644 --- a/mcaptcha/struct.BAR_CHART.html +++ b/mcaptcha/struct.BAR_CHART.html @@ -1,11 +1,11 @@ BAR_CHART in mcaptcha - Rust

    Struct mcaptcha::BAR_CHART

    source ·
    pub struct BAR_CHART {
    -    __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.

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

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.CREDIT_CARD.html b/mcaptcha/struct.CREDIT_CARD.html index 2ec44151..5eee1e7a 100644 --- a/mcaptcha/struct.CREDIT_CARD.html +++ b/mcaptcha/struct.CREDIT_CARD.html @@ -1,11 +1,11 @@ CREDIT_CARD in mcaptcha - Rust

    Struct mcaptcha::CREDIT_CARD

    source ·
    pub struct CREDIT_CARD {
    -    __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.

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

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.CSS.html b/mcaptcha/struct.CSS.html index c1aa6ebb..eb39240c 100644 --- a/mcaptcha/struct.CSS.html +++ b/mcaptcha/struct.CSS.html @@ -1,7 +1,7 @@ CSS in mcaptcha - Rust

    Struct mcaptcha::CSS

    source ·
    pub struct CSS {
    -    pub(crate) __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, + pub(crate) __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:

    @@ -11,7 +11,7 @@ it might not be what a human considers the length of the string.

    assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
    -

    Returns true if self has a length of zero bytes.

    +

    Returns true if self has a length of zero bytes.

    Examples

    Basic usage:

    @@ -20,7 +20,7 @@ it might not be what a human considers the length of the string.

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

    Checks that index-th byte is the first byte in a UTF-8 code point +

    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.

    @@ -37,7 +37,7 @@ considered to be boundaries.

    // 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 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 @@ -52,8 +52,8 @@ includes 🧑 (person) instead.

    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 +

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

    @@ -66,27 +66,27 @@ for more details.

    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.

    +

    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.

    +

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

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

    +

    Returns a subslice of str.

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

    +None whenever equivalent indexing operation would panic.

    Examples
    let v = String::from("🗻∈🌏");
     
    @@ -98,7 +98,7 @@ If you need to mutate the contents of the string slice, use // out of bounds
     assert!(v.get(..42).is_none());
    -

    Returns an unchecked subslice of str.

    +

    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 @@ -117,14 +117,14 @@ violate the invariants communicated by the str type.

    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 +

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

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

    +slice_mut_unchecked method.

    Safety

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

    @@ -147,12 +147,12 @@ satisfied:

    unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
    -

    Divide one string slice into two at an index.

    +

    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 +

    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 @@ -166,10 +166,10 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -

    Returns an iterator over the chars of a string slice.

    +

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

    @@ -192,7 +192,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -202,12 +202,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -

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

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

    @@ -228,7 +228,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -242,7 +242,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    An iterator over the bytes of a string slice.

    +

    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
    @@ -256,12 +256,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -

    Splits a string slice by whitespace.

    +

    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.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -286,10 +286,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -

    Splits a string slice by ASCII whitespace.

    +

    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.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -314,7 +314,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -

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

    +

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

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -344,8 +344,8 @@ without a final line ending.

    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.

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

    @@ -355,10 +355,10 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -

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

    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 +

    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:

    @@ -367,10 +367,10 @@ function or closure that determines if a character matches.

    assert!(bananas.contains("nana")); assert!(!bananas.contains("apples"));
    -

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

    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 +

    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:

    @@ -379,10 +379,10 @@ function or closure that determines if a character matches.

    assert!(bananas.starts_with("bana")); assert!(!bananas.starts_with("nana"));
    -

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

    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 +

    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:

    @@ -391,10 +391,10 @@ function or closure that determines if a character matches.

    assert!(bananas.ends_with("anas")); assert!(!bananas.ends_with("nana"));
    -

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

    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 +

    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:

    @@ -418,10 +418,10 @@ function or closure that determines if a character matches.

    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 +

    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 +

    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:

    @@ -443,16 +443,16 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -

    An iterator over substrings of this string slice, separated by +

    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 +

    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 +

    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.

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

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -515,12 +515,12 @@ when whitespace is used as the separator. This code is correct:

    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 +

    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 +

    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."
    @@ -533,15 +533,15 @@ 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 +

    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 +

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

    +

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

    Examples

    Simple patterns:

    @@ -560,20 +560,20 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rsplit_terminator method can be used.

    Examples

    Basic usage:

    @@ -585,11 +585,11 @@ from a forward search, the 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 +

    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 +

    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 +

    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.

    @@ -597,7 +597,7 @@ rather than separated by a pattern.

    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 +

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

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -608,16 +608,16 @@ used.

    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 +

    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 +

    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 +

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

    Examples

    Simple patterns:

    @@ -637,17 +637,17 @@ used.

    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 +

    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 +

    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.

    +

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

    Examples

    Simple patterns:

    @@ -663,29 +663,29 @@ efficient to support.

    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 +

    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 +

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rmatches method can be used.

    Examples

    Basic usage:

    @@ -694,15 +694,15 @@ from a forward search, the 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, +

    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 +

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

    +

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

    Examples

    Basic usage:

    @@ -711,18 +711,18 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rmatch_indices method can be used.

    Examples

    Basic usage:

    @@ -734,17 +734,17 @@ from a forward search, the 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, +

    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 +

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

    +

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

    Examples

    Basic usage:

    @@ -756,7 +756,7 @@ search yields the same elements.

    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.

    +

    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
    @@ -765,7 +765,7 @@ Core Property White_Space, which includes newlines.

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

    Returns a string slice with leading whitespace removed.

    +

    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
    @@ -785,7 +785,7 @@ Arabic or Hebrew, this will be the right side.

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

    Returns a string slice with trailing whitespace removed.

    +

    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
    @@ -805,7 +805,7 @@ Arabic or Hebrew, this will be the left side.

    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.

    +
    👎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
    @@ -826,7 +826,7 @@ the right side, not the left.

    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.

    +
    👎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
    @@ -847,9 +847,9 @@ the left side, not the right.

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

    Returns a string slice with all prefixes and suffixes that match a +

    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 +

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

    Examples

    Simple patterns:

    @@ -862,9 +862,9 @@ or closure that determines if a character matches.

    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 +

    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 +

    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 @@ -879,29 +879,29 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -

    Returns a string slice with the prefix removed.

    +

    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 +

    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.

    +

    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 +

    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 +

    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 +

    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 @@ -919,9 +919,9 @@ Arabic or Hebrew, this will be the left side.

    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 +

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

    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 @@ -936,9 +936,9 @@ the right side, not the left.

    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 +

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

    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 @@ -956,15 +956,15 @@ the left side, not the right.

    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.

    +

    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.

    +

    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 +

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

    Examples

    Basic usage

    @@ -982,21 +982,21 @@ the desired type.

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

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

    +

    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.

    +

    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.

    +

    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
    @@ -1015,7 +1015,7 @@ escaped.

    Using to_string:

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

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

    +

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

    Examples

    As an iterator:

    @@ -1032,7 +1032,7 @@ escaped.

    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.

    +

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

    Examples

    As an iterator:

    @@ -1049,8 +1049,8 @@ escaped.

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

    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
    @@ -1064,8 +1064,8 @@ replaces them with the replacement string slice.

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

    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
    @@ -1079,11 +1079,11 @@ replaces them with the replacement string slice at most count times
    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.

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1106,11 +1106,11 @@ parameter in-place.

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

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

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1128,7 +1128,7 @@ parameter in-place.

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

    Creates a new String by repeating a string n times.

    +

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1139,34 +1139,34 @@ parameter in-place.

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

    Returns a copy of this string where each character is mapped to its +

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

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

    +

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.DOCS_ICON.html b/mcaptcha/struct.DOCS_ICON.html index e058f118..47cd4dcb 100644 --- a/mcaptcha/struct.DOCS_ICON.html +++ b/mcaptcha/struct.DOCS_ICON.html @@ -1,11 +1,11 @@ DOCS_ICON in mcaptcha - Rust

    Struct mcaptcha::DOCS_ICON

    source ·
    pub struct DOCS_ICON {
    -    __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.

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

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.Data.html b/mcaptcha/struct.Data.html index f7b75dcb..4926c7cd 100644 --- a/mcaptcha/struct.Data.html +++ b/mcaptcha/struct.Data.html @@ -1,24 +1,24 @@ Data in mcaptcha - Rust

    Struct mcaptcha::Data

    source ·
    pub struct Data {
    -    pub db: Box<dyn MCDatabase>,
    +    pub db: Box<dyn MCDatabase>,
         pub creds: Config,
         pub captcha: SystemGroup,
    -    pub mailer: Option<AsyncSmtpTransport<Tokio1Executor>>,
    +    pub mailer: Option<AsyncSmtpTransport<Tokio1Executor>>,
         pub settings: Settings,
    -    pub stats: Box<dyn Stats>,
    +    pub stats: Box<dyn Stats>,
     }
    Expand description

    App data

    -

    Fields§

    §db: Box<dyn MCDatabase>

    database ops defined by db crates

    +

    Fields§

    §db: Box<dyn MCDatabase>

    database ops defined by db crates

    §creds: Config

    credential management configuration

    §captcha: SystemGroup

    mCaptcha system: Redis cache, etc.

    -
    §mailer: Option<AsyncSmtpTransport<Tokio1Executor>>

    email client

    +
    §mailer: Option<AsyncSmtpTransport<Tokio1Executor>>

    email client

    §settings: Settings

    app settings

    -
    §stats: Box<dyn Stats>

    stats recorder

    -

    Implementations§

    create new instance of app data

    -

    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.

    +
    §stats: Box<dyn Stats>

    stats recorder

    +

    Implementations§

    create new instance of app data

    +

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.FILES.html b/mcaptcha/struct.FILES.html index 91ca39b0..2345388f 100644 --- a/mcaptcha/struct.FILES.html +++ b/mcaptcha/struct.FILES.html @@ -1,11 +1,11 @@ FILES in mcaptcha - Rust

    Struct mcaptcha::FILES

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

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

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.GITHUB.html b/mcaptcha/struct.GITHUB.html index fcfa7930..dce14514 100644 --- a/mcaptcha/struct.GITHUB.html +++ b/mcaptcha/struct.GITHUB.html @@ -1,11 +1,11 @@ GITHUB in mcaptcha - Rust

    Struct mcaptcha::GITHUB

    source ·
    pub struct GITHUB {
    -    __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.

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

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.HELP_CIRCLE.html b/mcaptcha/struct.HELP_CIRCLE.html index fd1647fd..5379921b 100644 --- a/mcaptcha/struct.HELP_CIRCLE.html +++ b/mcaptcha/struct.HELP_CIRCLE.html @@ -1,11 +1,11 @@ HELP_CIRCLE in mcaptcha - Rust

    Struct mcaptcha::HELP_CIRCLE

    source ·
    pub struct HELP_CIRCLE {
    -    __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.

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

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.HOME.html b/mcaptcha/struct.HOME.html index e7a066dd..b673000a 100644 --- a/mcaptcha/struct.HOME.html +++ b/mcaptcha/struct.HOME.html @@ -1,11 +1,11 @@ HOME in mcaptcha - Rust

    Struct mcaptcha::HOME

    source ·
    pub struct HOME {
    -    __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.

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

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.JS.html b/mcaptcha/struct.JS.html index f5e217f5..c646702d 100644 --- a/mcaptcha/struct.JS.html +++ b/mcaptcha/struct.JS.html @@ -1,7 +1,7 @@ JS in mcaptcha - Rust

    Struct mcaptcha::JS

    source ·
    pub struct JS {
    -    pub(crate) __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, + pub(crate) __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:

    @@ -11,7 +11,7 @@ it might not be what a human considers the length of the string.

    assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
    -

    Returns true if self has a length of zero bytes.

    +

    Returns true if self has a length of zero bytes.

    Examples

    Basic usage:

    @@ -20,7 +20,7 @@ it might not be what a human considers the length of the string.

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

    Checks that index-th byte is the first byte in a UTF-8 code point +

    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.

    @@ -37,7 +37,7 @@ considered to be boundaries.

    // 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 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 @@ -52,8 +52,8 @@ includes 🧑 (person) instead.

    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 +

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

    @@ -66,27 +66,27 @@ for more details.

    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.

    +

    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.

    +

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

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

    +

    Returns a subslice of str.

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

    +None whenever equivalent indexing operation would panic.

    Examples
    let v = String::from("🗻∈🌏");
     
    @@ -98,7 +98,7 @@ If you need to mutate the contents of the string slice, use // out of bounds
     assert!(v.get(..42).is_none());
    -

    Returns an unchecked subslice of str.

    +

    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 @@ -117,14 +117,14 @@ violate the invariants communicated by the str type.

    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 +

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

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

    +slice_mut_unchecked method.

    Safety

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

    @@ -147,12 +147,12 @@ satisfied:

    unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
    -

    Divide one string slice into two at an index.

    +

    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 +

    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 @@ -166,10 +166,10 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -

    Returns an iterator over the chars of a string slice.

    +

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

    @@ -192,7 +192,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -202,12 +202,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -

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

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

    @@ -228,7 +228,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -242,7 +242,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    An iterator over the bytes of a string slice.

    +

    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
    @@ -256,12 +256,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -

    Splits a string slice by whitespace.

    +

    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.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -286,10 +286,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -

    Splits a string slice by ASCII whitespace.

    +

    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.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -314,7 +314,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -

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

    +

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

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -344,8 +344,8 @@ without a final line ending.

    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.

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

    @@ -355,10 +355,10 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -

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

    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 +

    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:

    @@ -367,10 +367,10 @@ function or closure that determines if a character matches.

    assert!(bananas.contains("nana")); assert!(!bananas.contains("apples"));
    -

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

    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 +

    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:

    @@ -379,10 +379,10 @@ function or closure that determines if a character matches.

    assert!(bananas.starts_with("bana")); assert!(!bananas.starts_with("nana"));
    -

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

    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 +

    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:

    @@ -391,10 +391,10 @@ function or closure that determines if a character matches.

    assert!(bananas.ends_with("anas")); assert!(!bananas.ends_with("nana"));
    -

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

    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 +

    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:

    @@ -418,10 +418,10 @@ function or closure that determines if a character matches.

    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 +

    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 +

    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:

    @@ -443,16 +443,16 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -

    An iterator over substrings of this string slice, separated by +

    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 +

    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 +

    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.

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

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -515,12 +515,12 @@ when whitespace is used as the separator. This code is correct:

    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 +

    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 +

    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."
    @@ -533,15 +533,15 @@ 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 +

    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 +

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

    +

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

    Examples

    Simple patterns:

    @@ -560,20 +560,20 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rsplit_terminator method can be used.

    Examples

    Basic usage:

    @@ -585,11 +585,11 @@ from a forward search, the 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 +

    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 +

    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 +

    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.

    @@ -597,7 +597,7 @@ rather than separated by a pattern.

    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 +

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

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -608,16 +608,16 @@ used.

    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 +

    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 +

    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 +

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

    Examples

    Simple patterns:

    @@ -637,17 +637,17 @@ used.

    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 +

    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 +

    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.

    +

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

    Examples

    Simple patterns:

    @@ -663,29 +663,29 @@ efficient to support.

    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 +

    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 +

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rmatches method can be used.

    Examples

    Basic usage:

    @@ -694,15 +694,15 @@ from a forward search, the 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, +

    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 +

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

    +

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

    Examples

    Basic usage:

    @@ -711,18 +711,18 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rmatch_indices method can be used.

    Examples

    Basic usage:

    @@ -734,17 +734,17 @@ from a forward search, the 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, +

    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 +

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

    +

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

    Examples

    Basic usage:

    @@ -756,7 +756,7 @@ search yields the same elements.

    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.

    +

    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
    @@ -765,7 +765,7 @@ Core Property White_Space, which includes newlines.

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

    Returns a string slice with leading whitespace removed.

    +

    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
    @@ -785,7 +785,7 @@ Arabic or Hebrew, this will be the right side.

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

    Returns a string slice with trailing whitespace removed.

    +

    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
    @@ -805,7 +805,7 @@ Arabic or Hebrew, this will be the left side.

    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.

    +
    👎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
    @@ -826,7 +826,7 @@ the right side, not the left.

    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.

    +
    👎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
    @@ -847,9 +847,9 @@ the left side, not the right.

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

    Returns a string slice with all prefixes and suffixes that match a +

    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 +

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

    Examples

    Simple patterns:

    @@ -862,9 +862,9 @@ or closure that determines if a character matches.

    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 +

    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 +

    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 @@ -879,29 +879,29 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -

    Returns a string slice with the prefix removed.

    +

    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 +

    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.

    +

    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 +

    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 +

    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 +

    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 @@ -919,9 +919,9 @@ Arabic or Hebrew, this will be the left side.

    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 +

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

    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 @@ -936,9 +936,9 @@ the right side, not the left.

    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 +

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

    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 @@ -956,15 +956,15 @@ the left side, not the right.

    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.

    +

    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.

    +

    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 +

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

    Examples

    Basic usage

    @@ -982,21 +982,21 @@ the desired type.

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

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

    +

    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.

    +

    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.

    +

    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
    @@ -1015,7 +1015,7 @@ escaped.

    Using to_string:

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

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

    +

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

    Examples

    As an iterator:

    @@ -1032,7 +1032,7 @@ escaped.

    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.

    +

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

    Examples

    As an iterator:

    @@ -1049,8 +1049,8 @@ escaped.

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

    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
    @@ -1064,8 +1064,8 @@ replaces them with the replacement string slice.

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

    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
    @@ -1079,11 +1079,11 @@ replaces them with the replacement string slice at most count times
    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.

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1106,11 +1106,11 @@ parameter in-place.

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

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

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1128,7 +1128,7 @@ parameter in-place.

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

    Creates a new String by repeating a string n times.

    +

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1139,34 +1139,34 @@ parameter in-place.

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

    Returns a copy of this string where each character is mapped to its +

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

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

    +

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.KEY.html b/mcaptcha/struct.KEY.html index 34800db3..3fb3b3ff 100644 --- a/mcaptcha/struct.KEY.html +++ b/mcaptcha/struct.KEY.html @@ -1,11 +1,11 @@ KEY in mcaptcha - Rust

    Struct mcaptcha::KEY

    source ·
    pub struct KEY {
    -    __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.

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

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.MCAPTCHA_TRANS_ICON.html b/mcaptcha/struct.MCAPTCHA_TRANS_ICON.html index ac6dd523..33169e6f 100644 --- a/mcaptcha/struct.MCAPTCHA_TRANS_ICON.html +++ b/mcaptcha/struct.MCAPTCHA_TRANS_ICON.html @@ -1,11 +1,11 @@ MCAPTCHA_TRANS_ICON in mcaptcha - Rust
    pub struct MCAPTCHA_TRANS_ICON {
    -    __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.

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

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.MESSAGE.html b/mcaptcha/struct.MESSAGE.html index 5ab31d8c..f31c24d4 100644 --- a/mcaptcha/struct.MESSAGE.html +++ b/mcaptcha/struct.MESSAGE.html @@ -1,11 +1,11 @@ MESSAGE in mcaptcha - Rust

    Struct mcaptcha::MESSAGE

    source ·
    pub struct MESSAGE {
    -    __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.

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

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

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.MOBILE_CSS.html b/mcaptcha/struct.MOBILE_CSS.html index 2b019093..23534578 100644 --- a/mcaptcha/struct.MOBILE_CSS.html +++ b/mcaptcha/struct.MOBILE_CSS.html @@ -1,7 +1,7 @@ MOBILE_CSS in mcaptcha - Rust

    Struct mcaptcha::MOBILE_CSS

    source ·
    pub struct MOBILE_CSS {
    -    pub(crate) __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, + pub(crate) __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:

    @@ -11,7 +11,7 @@ it might not be what a human considers the length of the string.

    assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
    -

    Returns true if self has a length of zero bytes.

    +

    Returns true if self has a length of zero bytes.

    Examples

    Basic usage:

    @@ -20,7 +20,7 @@ it might not be what a human considers the length of the string.

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

    Checks that index-th byte is the first byte in a UTF-8 code point +

    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.

    @@ -37,7 +37,7 @@ considered to be boundaries.

    // 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 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 @@ -52,8 +52,8 @@ includes 🧑 (person) instead.

    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 +

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

    @@ -66,27 +66,27 @@ for more details.

    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.

    +

    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.

    +

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

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

    +

    Returns a subslice of str.

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

    +None whenever equivalent indexing operation would panic.

    Examples
    let v = String::from("🗻∈🌏");
     
    @@ -98,7 +98,7 @@ If you need to mutate the contents of the string slice, use // out of bounds
     assert!(v.get(..42).is_none());
    -

    Returns an unchecked subslice of str.

    +

    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 @@ -117,14 +117,14 @@ violate the invariants communicated by the str type.

    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 +

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

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

    +slice_mut_unchecked method.

    Safety

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

    @@ -147,12 +147,12 @@ satisfied:

    unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
    -

    Divide one string slice into two at an index.

    +

    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 +

    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 @@ -166,10 +166,10 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -

    Returns an iterator over the chars of a string slice.

    +

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

    @@ -192,7 +192,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -202,12 +202,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -

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

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

    @@ -228,7 +228,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -242,7 +242,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    An iterator over the bytes of a string slice.

    +

    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
    @@ -256,12 +256,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -

    Splits a string slice by whitespace.

    +

    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.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -286,10 +286,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -

    Splits a string slice by ASCII whitespace.

    +

    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.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -314,7 +314,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -

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

    +

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

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -344,8 +344,8 @@ without a final line ending.

    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.

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

    @@ -355,10 +355,10 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -

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

    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 +

    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:

    @@ -367,10 +367,10 @@ function or closure that determines if a character matches.

    assert!(bananas.contains("nana")); assert!(!bananas.contains("apples"));
    -

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

    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 +

    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:

    @@ -379,10 +379,10 @@ function or closure that determines if a character matches.

    assert!(bananas.starts_with("bana")); assert!(!bananas.starts_with("nana"));
    -

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

    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 +

    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:

    @@ -391,10 +391,10 @@ function or closure that determines if a character matches.

    assert!(bananas.ends_with("anas")); assert!(!bananas.ends_with("nana"));
    -

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

    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 +

    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:

    @@ -418,10 +418,10 @@ function or closure that determines if a character matches.

    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 +

    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 +

    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:

    @@ -443,16 +443,16 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -

    An iterator over substrings of this string slice, separated by +

    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 +

    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 +

    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.

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

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -515,12 +515,12 @@ when whitespace is used as the separator. This code is correct:

    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 +

    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 +

    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."
    @@ -533,15 +533,15 @@ 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 +

    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 +

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

    +

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

    Examples

    Simple patterns:

    @@ -560,20 +560,20 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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 +

    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.

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

    +from a forward search, the rsplit_terminator method can be used.

    Examples

    Basic usage:

    @@ -585,11 +585,11 @@ from a forward search, the 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 +

    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 +

    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 +

    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.

    @@ -597,7 +597,7 @@ rather than separated by a pattern.

    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 +

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

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -608,16 +608,16 @@ used.

    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 +

    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 +

    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 +

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

    Examples

    Simple patterns:

    @@ -637,17 +637,17 @@ used.

    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 +

    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 +

    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.

    +

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

    Examples

    Simple patterns:

    @@ -663,29 +663,29 @@ efficient to support.

    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 +

    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 +

    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 +

    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 +

    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 +

    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.

    +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.

    +from a forward search, the rmatches method can be used.

    Examples

    Basic usage:

    @@ -694,15 +694,15 @@ from a forward search, the 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, +

    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 +

    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, 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.

    +

    For iterating from the front, the matches method can be used.

    Examples

    Basic usage:

    @@ -711,18 +711,18 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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.

    +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.

    +from a forward search, the rmatch_indices method can be used.

    Examples

    Basic usage:

    @@ -734,17 +734,17 @@ from a forward search, the 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, +

    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 +

    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, 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.

    +

    For iterating from the front, the match_indices method can be used.

    Examples

    Basic usage:

    @@ -756,7 +756,7 @@ search yields the same elements.

    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.

    +

    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
    @@ -765,7 +765,7 @@ Core Property White_Space, which includes newlines.

    let s = "\n Hello\tworld\t\n";
     
     assert_eq!("Hello\tworld", s.trim());
    -

    Returns a string slice with leading whitespace removed.

    +

    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
    @@ -785,7 +785,7 @@ Arabic or Hebrew, this will be the right side.

    let s = " עברית "; assert!(Some('ע') == s.trim_start().chars().next());
    -

    Returns a string slice with trailing whitespace removed.

    +

    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
    @@ -805,7 +805,7 @@ Arabic or Hebrew, this will be the left side.

    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.

    +
    👎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
    @@ -826,7 +826,7 @@ the right side, not the left.

    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.

    +
    👎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
    @@ -847,9 +847,9 @@ the left side, not the right.

    let s = "עברית "; assert!(Some('ת') == s.trim_right().chars().rev().next());
    -

    Returns a string slice with all prefixes and suffixes that match a +

    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 +

    The pattern can be a char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -862,9 +862,9 @@ or closure that determines if a character matches.

    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 +

    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 +

    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 @@ -879,29 +879,29 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -

    Returns a string slice with the prefix removed.

    +

    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 +

    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.

    +

    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 +

    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 +

    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 +

    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 @@ -919,9 +919,9 @@ Arabic or Hebrew, this will be the left side.

    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 +

    👎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 +

    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 @@ -936,9 +936,9 @@ the right side, not the left.

    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 +

    👎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 +

    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 @@ -956,15 +956,15 @@ the left side, not the right.

    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.

    +

    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.

    +

    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 +

    Will return Err if it’s not possible to parse this string slice into the desired type.

    Examples

    Basic usage

    @@ -982,21 +982,21 @@ the desired type.

    let nope = "j".parse::<u32>();
     
     assert!(nope.is_err());
    -

    Checks if all characters in this string are within the ASCII range.

    +

    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.

    +

    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.

    +

    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
    @@ -1015,7 +1015,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_debug().to_string(), "❤\\n!");
    -

    Return an iterator that escapes each char in self with char::escape_default.

    +

    Return an iterator that escapes each char in self with char::escape_default.

    Examples

    As an iterator:

    @@ -1032,7 +1032,7 @@ escaped.

    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.

    +

    Return an iterator that escapes each char in self with char::escape_unicode.

    Examples

    As an iterator:

    @@ -1049,8 +1049,8 @@ escaped.

    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. +

    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
    @@ -1064,8 +1064,8 @@ replaces them with the replacement string slice.

    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. +

    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
    @@ -1079,11 +1079,11 @@ replaces them with the replacement string slice at most count times
    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.

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1106,11 +1106,11 @@ parameter in-place.

    let new_year = "农历新年";
     
     assert_eq!(new_year, new_year.to_lowercase());
    -

    Returns the uppercase equivalent of this string slice, as a new String.

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1128,7 +1128,7 @@ parameter in-place.

    let s = "tschüß";
     
     assert_eq!("TSCHÜSS", s.to_uppercase());
    -

    Creates a new String by repeating a string n times.

    +

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1139,34 +1139,34 @@ parameter in-place.

    // this will panic at runtime
     let huge = "0123456789abcdef".repeat(usize::MAX);
    -

    Returns a copy of this string where each character is mapped to its +

    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 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 +

    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 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.

    +

    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).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.SETTINGS.html b/mcaptcha/struct.SETTINGS.html index 801f0f8e..b61e58e4 100644 --- a/mcaptcha/struct.SETTINGS.html +++ b/mcaptcha/struct.SETTINGS.html @@ -1,11 +1,11 @@ SETTINGS in mcaptcha - Rust

    Struct mcaptcha::SETTINGS

    source ·
    pub struct SETTINGS {
    -    pub(crate) __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.

    + pub(crate) __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.

    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).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.SETTINGS_ICON.html b/mcaptcha/struct.SETTINGS_ICON.html index 6c0b5b51..549d1918 100644 --- a/mcaptcha/struct.SETTINGS_ICON.html +++ b/mcaptcha/struct.SETTINGS_ICON.html @@ -1,11 +1,11 @@ SETTINGS_ICON in mcaptcha - Rust

    Struct mcaptcha::SETTINGS_ICON

    source ·
    pub struct SETTINGS_ICON {
    -    __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.

    + __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.

    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).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.SOURCE_FILES_OF_INSTANCE.html b/mcaptcha/struct.SOURCE_FILES_OF_INSTANCE.html index d431520f..6898cc52 100644 --- a/mcaptcha/struct.SOURCE_FILES_OF_INSTANCE.html +++ b/mcaptcha/struct.SOURCE_FILES_OF_INSTANCE.html @@ -1,29 +1,29 @@ SOURCE_FILES_OF_INSTANCE in mcaptcha - Rust
    pub struct SOURCE_FILES_OF_INSTANCE {
    -    pub(crate) __private_field: (),
    +    pub(crate) __private_field: (),
     }
    Expand description

    points to source files matching build commit

    -

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    Extracts a string slice containing the entire String.

    +

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    Extracts a string slice containing the entire String.

    Examples

    Basic usage:

    let s = String::from("foo");
     
     assert_eq!("foo", s.as_str());
    -

    Returns this String’s capacity, in bytes.

    +

    Returns this String’s capacity, in bytes.

    Examples

    Basic usage:

    let s = String::with_capacity(10);
     
     assert!(s.capacity() >= 10);
    -

    Returns a byte slice of this String’s contents.

    -

    The inverse of this method is from_utf8.

    +

    Returns a byte slice of this String’s contents.

    +

    The inverse of this method is from_utf8.

    Examples

    Basic usage:

    let s = String::from("hello");
     
     assert_eq!(&[104, 101, 108, 108, 111], s.as_bytes());
    -

    Returns the length of this String, in bytes, not chars or +

    Returns the length of this String, in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    @@ -35,7 +35,7 @@ length of the string.

    let fancy_f = String::from("ƒoo"); assert_eq!(fancy_f.len(), 4); assert_eq!(fancy_f.chars().count(), 3);
    -

    Returns true if this String has a length of zero, and false otherwise.

    +

    Returns true if this String has a length of zero, and false otherwise.

    Examples

    Basic usage:

    @@ -44,8 +44,8 @@ length of the string.

    v.push('a'); assert!(!v.is_empty());
    -

    Methods from Deref<Target = str>§

    Returns the length of self.

    -

    This length is in bytes, not chars or graphemes. In other words, +

    Methods from Deref<Target = 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:

    @@ -55,7 +55,7 @@ it might not be what a human considers the length of the string.

    assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
    -

    Returns true if self has a length of zero bytes.

    +

    Returns true if self has a length of zero bytes.

    Examples

    Basic usage:

    @@ -64,7 +64,7 @@ it might not be what a human considers the length of the string.

    let s = "not empty"; assert!(!s.is_empty());
    -

    Checks that index-th byte is the first byte in a UTF-8 code point +

    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.

    @@ -81,7 +81,7 @@ considered to be boundaries.

    // 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 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 @@ -96,8 +96,8 @@ includes 🧑 (person) instead.

    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 +

    🔬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().

    @@ -110,14 +110,14 @@ for more details.

    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.

    +

    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 mutable string slice to a mutable byte slice.

    +

    Converts a mutable string slice to a mutable byte slice.

    Safety

    The caller must ensure that the content of the slice is valid UTF-8 before the borrow ends and the underlying str is used.

    @@ -143,26 +143,26 @@ before the borrow ends and the underlying str is used.

    } assert_eq!("🍔∈🌏", s);
    -

    Converts a string slice to a raw pointer.

    +

    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 +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.

    +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();
    -

    Converts a mutable string slice to a raw pointer.

    +

    Converts a mutable 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 +u8. This pointer will be pointing to the first byte of the string slice.

    It is your responsibility to make sure that the string slice only gets modified in a way that it remains valid UTF-8.

    -

    Returns a subslice of str.

    +

    Returns a subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let v = String::from("🗻∈🌏");
     
    @@ -174,9 +174,9 @@ modified in a way that it remains valid UTF-8.

    // out of bounds assert!(v.get(..42).is_none());
    -

    Returns a mutable subslice of str.

    +

    Returns a mutable subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let mut v = String::from("hello");
     // correct length
    @@ -195,7 +195,7 @@ modified in a way that it remains valid UTF-8.

    assert_eq!(Some("HE"), s); } assert_eq!("HEllo", v);
    -

    Returns an unchecked subslice of str.

    +

    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 @@ -214,7 +214,7 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked(4..7)); assert_eq!("🌏", v.get_unchecked(7..11)); }
    -

    Returns a mutable, unchecked subslice of str.

    +

    Returns a mutable, unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -233,14 +233,14 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked_mut(4..7)); assert_eq!("🌏", v.get_unchecked_mut(7..11)); }
    -
    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety +

    👎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.

    +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.

    +slice_mut_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -263,14 +263,14 @@ satisfied:

    unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
    -
    👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

    Creates a string slice from another string slice, bypassing safety +

    👎Deprecated since 1.29.0: use get_unchecked_mut(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 IndexMut.

    +alternative see str and IndexMut.

    This new slice goes from begin to end, including begin but excluding end.

    To get an immutable string slice instead, see the -slice_unchecked method.

    +slice_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -279,12 +279,12 @@ satisfied:

  • begin and end must be byte positions within the string slice.
  • begin and end must lie on UTF-8 sequence boundaries.
  • -

    Divide one string slice into two at an index.

    +

    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 +

    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 @@ -298,12 +298,12 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -

    Divide one mutable string slice into two at an index.

    +

    Divide one mutable 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 immutable string slices instead, see the split_at method.

    +

    To get immutable string slices instead, see the split_at 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.

    @@ -318,10 +318,10 @@ past the end of the last code point of the string slice.

    assert_eq!(" Martin-Löf", last); } assert_eq!("PER Martin-Löf", s);
    -

    Returns an iterator over the chars of a string slice.

    +

    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 +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.

    @@ -344,7 +344,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -354,12 +354,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -

    Returns an iterator over the chars of a string slice, and their +

    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 +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:

    @@ -380,7 +380,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -394,7 +394,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    An iterator over the bytes of a string slice.

    +

    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
    @@ -408,12 +408,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -

    Splits a string slice by whitespace.

    +

    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.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -438,10 +438,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -

    Splits a string slice by ASCII whitespace.

    +

    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.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -466,7 +466,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -

    An iterator over the lines of a string, as string slices.

    +

    An iterator over the lines of a string, as string slices.

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -496,8 +496,8 @@ without a final line ending.

    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.

    +
    👎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:

    @@ -507,10 +507,10 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -

    Returns true if the given pattern matches a sub-slice of +

    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 +

    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:

    @@ -519,10 +519,10 @@ function or closure that determines if a character matches.

    assert!(bananas.contains("nana")); assert!(!bananas.contains("apples"));
    -

    Returns true if the given pattern matches a prefix of this +

    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 +

    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:

    @@ -531,10 +531,10 @@ function or closure that determines if a character matches.

    assert!(bananas.starts_with("bana")); assert!(!bananas.starts_with("nana"));
    -

    Returns true if the given pattern matches a suffix of this +

    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 +

    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:

    @@ -543,10 +543,10 @@ function or closure that determines if a character matches.

    assert!(bananas.ends_with("anas")); assert!(!bananas.ends_with("nana"));
    -

    Returns the byte index of the first character of this string slice that +

    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 +

    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:

    @@ -570,10 +570,10 @@ function or closure that determines if a character matches.

    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 +

    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 +

    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:

    @@ -595,16 +595,16 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -

    An iterator over substrings of this string slice, separated by +

    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 +

    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 +

    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.

    +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.

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -667,12 +667,12 @@ when whitespace is used as the separator. This code is correct:

    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 +

    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 +

    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."
    @@ -685,15 +685,15 @@ 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 +

    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 +

    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, 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.

    +

    For iterating from the front, the split method can be used.

    Examples

    Simple patterns:

    @@ -712,20 +712,20 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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 +

    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.

    +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.

    +from a forward search, the rsplit_terminator method can be used.

    Examples

    Basic usage:

    @@ -737,11 +737,11 @@ from a forward search, the 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 +

    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 +

    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 +

    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.

    @@ -749,7 +749,7 @@ rather than separated by a pattern.

    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 +

    For iterating from the front, the split_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -760,16 +760,16 @@ used.

    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 +

    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 +

    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 +

    If the pattern allows a reverse search, the rsplitn method can be used.

    Examples

    Simple patterns:

    @@ -789,17 +789,17 @@ used.

    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 +

    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 +

    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.

    +

    For splitting from the front, the splitn method can be used.

    Examples

    Simple patterns:

    @@ -815,29 +815,29 @@ efficient to support.

    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 +

    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 +

    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 +

    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 +

    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 +

    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.

    +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.

    +from a forward search, the rmatches method can be used.

    Examples

    Basic usage:

    @@ -846,15 +846,15 @@ from a forward search, the 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, +

    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 +

    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, 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.

    +

    For iterating from the front, the matches method can be used.

    Examples

    Basic usage:

    @@ -863,18 +863,18 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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.

    +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.

    +from a forward search, the rmatch_indices method can be used.

    Examples

    Basic usage:

    @@ -886,17 +886,17 @@ from a forward search, the 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, +

    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 +

    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, 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.

    +

    For iterating from the front, the match_indices method can be used.

    Examples

    Basic usage:

    @@ -908,7 +908,7 @@ search yields the same elements.

    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.

    +

    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
    @@ -917,7 +917,7 @@ Core Property White_Space, which includes newlines.

    let s = "\n Hello\tworld\t\n";
     
     assert_eq!("Hello\tworld", s.trim());
    -

    Returns a string slice with leading whitespace removed.

    +

    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
    @@ -937,7 +937,7 @@ Arabic or Hebrew, this will be the right side.

    let s = " עברית "; assert!(Some('ע') == s.trim_start().chars().next());
    -

    Returns a string slice with trailing whitespace removed.

    +

    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
    @@ -957,7 +957,7 @@ Arabic or Hebrew, this will be the left side.

    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.

    +
    👎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
    @@ -978,7 +978,7 @@ the right side, not the left.

    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.

    +
    👎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
    @@ -999,9 +999,9 @@ the left side, not the right.

    let s = "עברית "; assert!(Some('ת') == s.trim_right().chars().rev().next());
    -

    Returns a string slice with all prefixes and suffixes that match a +

    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 +

    The pattern can be a char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -1014,9 +1014,9 @@ or closure that determines if a character matches.

    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 +

    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 +

    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 @@ -1031,29 +1031,29 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -

    Returns a string slice with the prefix removed.

    +

    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 +

    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.

    +

    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 +

    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 +

    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 +

    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 @@ -1071,9 +1071,9 @@ Arabic or Hebrew, this will be the left side.

    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 +

    👎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 +

    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 @@ -1088,9 +1088,9 @@ the right side, not the left.

    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 +

    👎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 +

    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 @@ -1108,15 +1108,15 @@ the left side, not the right.

    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.

    +

    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.

    +

    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 +

    Will return Err if it’s not possible to parse this string slice into the desired type.

    Examples

    Basic usage

    @@ -1134,21 +1134,21 @@ the desired type.

    let nope = "j".parse::<u32>();
     
     assert!(nope.is_err());
    -

    Checks if all characters in this string are within the ASCII range.

    +

    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.

    +

    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"));
    -

    Converts this string to its ASCII upper case equivalent in-place.

    +

    Converts this string to its ASCII upper case equivalent in-place.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    To return a new uppercased value without modifying the existing one, use @@ -1159,7 +1159,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_uppercase(); assert_eq!("GRüßE, JüRGEN ❤", s);
    -

    Converts this string to its ASCII lower case equivalent in-place.

    +

    Converts this string to its ASCII lower case equivalent in-place.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    To return a new lowercased value without modifying the existing one, use @@ -1170,7 +1170,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_lowercase(); assert_eq!("grÜße, jÜrgen ❤", s);
    -

    Return an iterator that escapes each char in self with char::escape_debug.

    +

    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
    @@ -1189,7 +1189,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_debug().to_string(), "❤\\n!");
    -

    Return an iterator that escapes each char in self with char::escape_default.

    +

    Return an iterator that escapes each char in self with char::escape_default.

    Examples

    As an iterator:

    @@ -1206,7 +1206,7 @@ escaped.

    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.

    +

    Return an iterator that escapes each char in self with char::escape_unicode.

    Examples

    As an iterator:

    @@ -1223,8 +1223,8 @@ escaped.

    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. +

    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
    @@ -1238,8 +1238,8 @@ replaces them with the replacement string slice.

    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. +

    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
    @@ -1253,11 +1253,11 @@ replaces them with the replacement string slice at most count times
    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.

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1280,11 +1280,11 @@ parameter in-place.

    let new_year = "农历新年";
     
     assert_eq!(new_year, new_year.to_lowercase());
    -

    Returns the uppercase equivalent of this string slice, as a new String.

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1302,7 +1302,7 @@ parameter in-place.

    let s = "tschüß";
     
     assert_eq!("TSCHÜSS", s.to_uppercase());
    -

    Creates a new String by repeating a string n times.

    +

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1313,34 +1313,34 @@ parameter in-place.

    // this will panic at runtime
     let huge = "0123456789abcdef".repeat(usize::MAX);
    -

    Returns a copy of this string where each character is mapped to its +

    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 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 +

    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 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.

    +

    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).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.Settings.html b/mcaptcha/struct.Settings.html index 552ee76d..5339a7ea 100644 --- a/mcaptcha/struct.Settings.html +++ b/mcaptcha/struct.Settings.html @@ -1,20 +1,20 @@ Settings in mcaptcha - Rust

    Struct mcaptcha::Settings

    source ·
    pub struct Settings {
    -    pub debug: bool,
    -    pub commercial: bool,
    +    pub debug: bool,
    +    pub commercial: bool,
         pub database: Database,
    -    pub redis: Option<Redis>,
    +    pub redis: Option<Redis>,
         pub server: Server,
         pub captcha: Captcha,
    -    pub source_code: String,
    -    pub smtp: Option<Smtp>,
    -    pub allow_registration: bool,
    -    pub allow_demo: bool,
    -}

    Fields§

    §debug: bool§commercial: bool§database: Database§redis: Option<Redis>§server: Server§captcha: Captcha§source_code: String§smtp: Option<Smtp>§allow_registration: bool§allow_demo: bool

    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

    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 source_code: String, + pub smtp: Option<Smtp>, + pub allow_registration: bool, + pub allow_demo: bool, +}

    Fields§

    §debug: bool§commercial: bool§database: Database§redis: Option<Redis>§server: Server§captcha: Captcha§source_code: String§smtp: Option<Smtp>§allow_registration: bool§allow_demo: bool

    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

    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).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.VERIFICATIN_WIDGET_CSS.html b/mcaptcha/struct.VERIFICATIN_WIDGET_CSS.html index b854c086..8a010410 100644 --- a/mcaptcha/struct.VERIFICATIN_WIDGET_CSS.html +++ b/mcaptcha/struct.VERIFICATIN_WIDGET_CSS.html @@ -1,7 +1,7 @@ VERIFICATIN_WIDGET_CSS in mcaptcha - Rust
    pub struct VERIFICATIN_WIDGET_CSS {
    -    pub(crate) __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, + pub(crate) __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:

    @@ -11,7 +11,7 @@ it might not be what a human considers the length of the string.

    assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
    -

    Returns true if self has a length of zero bytes.

    +

    Returns true if self has a length of zero bytes.

    Examples

    Basic usage:

    @@ -20,7 +20,7 @@ it might not be what a human considers the length of the string.

    let s = "not empty"; assert!(!s.is_empty());
    -

    Checks that index-th byte is the first byte in a UTF-8 code point +

    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.

    @@ -37,7 +37,7 @@ considered to be boundaries.

    // 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 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 @@ -52,8 +52,8 @@ includes 🧑 (person) instead.

    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 +

    🔬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().

    @@ -66,27 +66,27 @@ for more details.

    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.

    +

    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.

    +

    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 +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.

    +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.

    +

    Returns a subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let v = String::from("🗻∈🌏");
     
    @@ -98,7 +98,7 @@ If you need to mutate the contents of the string slice, use // out of bounds
     assert!(v.get(..42).is_none());
    -

    Returns an unchecked subslice of str.

    +

    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 @@ -117,14 +117,14 @@ violate the invariants communicated by the str type.

    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 +

    👎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.

    +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.

    +slice_mut_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -147,12 +147,12 @@ satisfied:

    unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
    -

    Divide one string slice into two at an index.

    +

    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 +

    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 @@ -166,10 +166,10 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -

    Returns an iterator over the chars of a string slice.

    +

    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 +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.

    @@ -192,7 +192,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -202,12 +202,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -

    Returns an iterator over the chars of a string slice, and their +

    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 +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:

    @@ -228,7 +228,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -242,7 +242,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    An iterator over the bytes of a string slice.

    +

    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
    @@ -256,12 +256,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -

    Splits a string slice by whitespace.

    +

    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.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -286,10 +286,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -

    Splits a string slice by ASCII whitespace.

    +

    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.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -314,7 +314,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -

    An iterator over the lines of a string, as string slices.

    +

    An iterator over the lines of a string, as string slices.

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -344,8 +344,8 @@ without a final line ending.

    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.

    +
    👎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:

    @@ -355,10 +355,10 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -

    Returns true if the given pattern matches a sub-slice of +

    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 +

    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:

    @@ -367,10 +367,10 @@ function or closure that determines if a character matches.

    assert!(bananas.contains("nana")); assert!(!bananas.contains("apples"));
    -

    Returns true if the given pattern matches a prefix of this +

    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 +

    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:

    @@ -379,10 +379,10 @@ function or closure that determines if a character matches.

    assert!(bananas.starts_with("bana")); assert!(!bananas.starts_with("nana"));
    -

    Returns true if the given pattern matches a suffix of this +

    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 +

    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:

    @@ -391,10 +391,10 @@ function or closure that determines if a character matches.

    assert!(bananas.ends_with("anas")); assert!(!bananas.ends_with("nana"));
    -

    Returns the byte index of the first character of this string slice that +

    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 +

    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:

    @@ -418,10 +418,10 @@ function or closure that determines if a character matches.

    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 +

    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 +

    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:

    @@ -443,16 +443,16 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -

    An iterator over substrings of this string slice, separated by +

    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 +

    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 +

    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.

    +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.

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -515,12 +515,12 @@ when whitespace is used as the separator. This code is correct:

    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 +

    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 +

    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."
    @@ -533,15 +533,15 @@ 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 +

    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 +

    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, 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.

    +

    For iterating from the front, the split method can be used.

    Examples

    Simple patterns:

    @@ -560,20 +560,20 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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 +

    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.

    +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.

    +from a forward search, the rsplit_terminator method can be used.

    Examples

    Basic usage:

    @@ -585,11 +585,11 @@ from a forward search, the 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 +

    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 +

    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 +

    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.

    @@ -597,7 +597,7 @@ rather than separated by a pattern.

    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 +

    For iterating from the front, the split_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -608,16 +608,16 @@ used.

    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 +

    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 +

    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 +

    If the pattern allows a reverse search, the rsplitn method can be used.

    Examples

    Simple patterns:

    @@ -637,17 +637,17 @@ used.

    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 +

    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 +

    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.

    +

    For splitting from the front, the splitn method can be used.

    Examples

    Simple patterns:

    @@ -663,29 +663,29 @@ efficient to support.

    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 +

    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 +

    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 +

    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 +

    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 +

    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.

    +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.

    +from a forward search, the rmatches method can be used.

    Examples

    Basic usage:

    @@ -694,15 +694,15 @@ from a forward search, the 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, +

    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 +

    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, 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.

    +

    For iterating from the front, the matches method can be used.

    Examples

    Basic usage:

    @@ -711,18 +711,18 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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.

    +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.

    +from a forward search, the rmatch_indices method can be used.

    Examples

    Basic usage:

    @@ -734,17 +734,17 @@ from a forward search, the 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, +

    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 +

    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, 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.

    +

    For iterating from the front, the match_indices method can be used.

    Examples

    Basic usage:

    @@ -756,7 +756,7 @@ search yields the same elements.

    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.

    +

    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
    @@ -765,7 +765,7 @@ Core Property White_Space, which includes newlines.

    let s = "\n Hello\tworld\t\n";
     
     assert_eq!("Hello\tworld", s.trim());
    -

    Returns a string slice with leading whitespace removed.

    +

    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
    @@ -785,7 +785,7 @@ Arabic or Hebrew, this will be the right side.

    let s = " עברית "; assert!(Some('ע') == s.trim_start().chars().next());
    -

    Returns a string slice with trailing whitespace removed.

    +

    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
    @@ -805,7 +805,7 @@ Arabic or Hebrew, this will be the left side.

    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.

    +
    👎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
    @@ -826,7 +826,7 @@ the right side, not the left.

    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.

    +
    👎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
    @@ -847,9 +847,9 @@ the left side, not the right.

    let s = "עברית "; assert!(Some('ת') == s.trim_right().chars().rev().next());
    -

    Returns a string slice with all prefixes and suffixes that match a +

    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 +

    The pattern can be a char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -862,9 +862,9 @@ or closure that determines if a character matches.

    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 +

    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 +

    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 @@ -879,29 +879,29 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -

    Returns a string slice with the prefix removed.

    +

    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 +

    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.

    +

    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 +

    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 +

    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 +

    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 @@ -919,9 +919,9 @@ Arabic or Hebrew, this will be the left side.

    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 +

    👎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 +

    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 @@ -936,9 +936,9 @@ the right side, not the left.

    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 +

    👎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 +

    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 @@ -956,15 +956,15 @@ the left side, not the right.

    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.

    +

    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.

    +

    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 +

    Will return Err if it’s not possible to parse this string slice into the desired type.

    Examples

    Basic usage

    @@ -982,21 +982,21 @@ the desired type.

    let nope = "j".parse::<u32>();
     
     assert!(nope.is_err());
    -

    Checks if all characters in this string are within the ASCII range.

    +

    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.

    +

    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.

    +

    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
    @@ -1015,7 +1015,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_debug().to_string(), "❤\\n!");
    -

    Return an iterator that escapes each char in self with char::escape_default.

    +

    Return an iterator that escapes each char in self with char::escape_default.

    Examples

    As an iterator:

    @@ -1032,7 +1032,7 @@ escaped.

    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.

    +

    Return an iterator that escapes each char in self with char::escape_unicode.

    Examples

    As an iterator:

    @@ -1049,8 +1049,8 @@ escaped.

    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. +

    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
    @@ -1064,8 +1064,8 @@ replaces them with the replacement string slice.

    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. +

    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
    @@ -1079,11 +1079,11 @@ replaces them with the replacement string slice at most count times
    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.

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1106,11 +1106,11 @@ parameter in-place.

    let new_year = "农历新年";
     
     assert_eq!(new_year, new_year.to_lowercase());
    -

    Returns the uppercase equivalent of this string slice, as a new String.

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1128,7 +1128,7 @@ parameter in-place.

    let s = "tschüß";
     
     assert_eq!("TSCHÜSS", s.to_uppercase());
    -

    Creates a new String by repeating a string n times.

    +

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1139,34 +1139,34 @@ parameter in-place.

    // this will panic at runtime
     let huge = "0123456789abcdef".repeat(usize::MAX);
    -

    Returns a copy of this string where each character is mapped to its +

    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 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 +

    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 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.

    +

    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).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.VERIFICATIN_WIDGET_JS.html b/mcaptcha/struct.VERIFICATIN_WIDGET_JS.html index c5afd2a0..3ce0c707 100644 --- a/mcaptcha/struct.VERIFICATIN_WIDGET_JS.html +++ b/mcaptcha/struct.VERIFICATIN_WIDGET_JS.html @@ -1,7 +1,7 @@ VERIFICATIN_WIDGET_JS in mcaptcha - Rust
    pub struct VERIFICATIN_WIDGET_JS {
    -    pub(crate) __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, + pub(crate) __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:

    @@ -11,7 +11,7 @@ it might not be what a human considers the length of the string.

    assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
    -

    Returns true if self has a length of zero bytes.

    +

    Returns true if self has a length of zero bytes.

    Examples

    Basic usage:

    @@ -20,7 +20,7 @@ it might not be what a human considers the length of the string.

    let s = "not empty"; assert!(!s.is_empty());
    -

    Checks that index-th byte is the first byte in a UTF-8 code point +

    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.

    @@ -37,7 +37,7 @@ considered to be boundaries.

    // 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 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 @@ -52,8 +52,8 @@ includes 🧑 (person) instead.

    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 +

    🔬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().

    @@ -66,27 +66,27 @@ for more details.

    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.

    +

    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.

    +

    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 +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.

    +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.

    +

    Returns a subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let v = String::from("🗻∈🌏");
     
    @@ -98,7 +98,7 @@ If you need to mutate the contents of the string slice, use // out of bounds
     assert!(v.get(..42).is_none());
    -

    Returns an unchecked subslice of str.

    +

    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 @@ -117,14 +117,14 @@ violate the invariants communicated by the str type.

    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 +

    👎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.

    +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.

    +slice_mut_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -147,12 +147,12 @@ satisfied:

    unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
    -

    Divide one string slice into two at an index.

    +

    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 +

    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 @@ -166,10 +166,10 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -

    Returns an iterator over the chars of a string slice.

    +

    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 +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.

    @@ -192,7 +192,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -202,12 +202,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -

    Returns an iterator over the chars of a string slice, and their +

    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 +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:

    @@ -228,7 +228,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -242,7 +242,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    An iterator over the bytes of a string slice.

    +

    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
    @@ -256,12 +256,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -

    Splits a string slice by whitespace.

    +

    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.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -286,10 +286,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -

    Splits a string slice by ASCII whitespace.

    +

    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.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -314,7 +314,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -

    An iterator over the lines of a string, as string slices.

    +

    An iterator over the lines of a string, as string slices.

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -344,8 +344,8 @@ without a final line ending.

    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.

    +
    👎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:

    @@ -355,10 +355,10 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -

    Returns true if the given pattern matches a sub-slice of +

    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 +

    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:

    @@ -367,10 +367,10 @@ function or closure that determines if a character matches.

    assert!(bananas.contains("nana")); assert!(!bananas.contains("apples"));
    -

    Returns true if the given pattern matches a prefix of this +

    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 +

    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:

    @@ -379,10 +379,10 @@ function or closure that determines if a character matches.

    assert!(bananas.starts_with("bana")); assert!(!bananas.starts_with("nana"));
    -

    Returns true if the given pattern matches a suffix of this +

    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 +

    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:

    @@ -391,10 +391,10 @@ function or closure that determines if a character matches.

    assert!(bananas.ends_with("anas")); assert!(!bananas.ends_with("nana"));
    -

    Returns the byte index of the first character of this string slice that +

    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 +

    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:

    @@ -418,10 +418,10 @@ function or closure that determines if a character matches.

    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 +

    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 +

    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:

    @@ -443,16 +443,16 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -

    An iterator over substrings of this string slice, separated by +

    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 +

    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 +

    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.

    +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.

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -515,12 +515,12 @@ when whitespace is used as the separator. This code is correct:

    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 +

    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 +

    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."
    @@ -533,15 +533,15 @@ 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 +

    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 +

    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, 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.

    +

    For iterating from the front, the split method can be used.

    Examples

    Simple patterns:

    @@ -560,20 +560,20 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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 +

    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.

    +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.

    +from a forward search, the rsplit_terminator method can be used.

    Examples

    Basic usage:

    @@ -585,11 +585,11 @@ from a forward search, the 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 +

    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 +

    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 +

    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.

    @@ -597,7 +597,7 @@ rather than separated by a pattern.

    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 +

    For iterating from the front, the split_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -608,16 +608,16 @@ used.

    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 +

    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 +

    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 +

    If the pattern allows a reverse search, the rsplitn method can be used.

    Examples

    Simple patterns:

    @@ -637,17 +637,17 @@ used.

    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 +

    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 +

    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.

    +

    For splitting from the front, the splitn method can be used.

    Examples

    Simple patterns:

    @@ -663,29 +663,29 @@ efficient to support.

    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 +

    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 +

    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 +

    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 +

    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 +

    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.

    +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.

    +from a forward search, the rmatches method can be used.

    Examples

    Basic usage:

    @@ -694,15 +694,15 @@ from a forward search, the 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, +

    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 +

    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, 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.

    +

    For iterating from the front, the matches method can be used.

    Examples

    Basic usage:

    @@ -711,18 +711,18 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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.

    +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.

    +from a forward search, the rmatch_indices method can be used.

    Examples

    Basic usage:

    @@ -734,17 +734,17 @@ from a forward search, the 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, +

    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 +

    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, 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.

    +

    For iterating from the front, the match_indices method can be used.

    Examples

    Basic usage:

    @@ -756,7 +756,7 @@ search yields the same elements.

    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.

    +

    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
    @@ -765,7 +765,7 @@ Core Property White_Space, which includes newlines.

    let s = "\n Hello\tworld\t\n";
     
     assert_eq!("Hello\tworld", s.trim());
    -

    Returns a string slice with leading whitespace removed.

    +

    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
    @@ -785,7 +785,7 @@ Arabic or Hebrew, this will be the right side.

    let s = " עברית "; assert!(Some('ע') == s.trim_start().chars().next());
    -

    Returns a string slice with trailing whitespace removed.

    +

    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
    @@ -805,7 +805,7 @@ Arabic or Hebrew, this will be the left side.

    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.

    +
    👎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
    @@ -826,7 +826,7 @@ the right side, not the left.

    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.

    +
    👎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
    @@ -847,9 +847,9 @@ the left side, not the right.

    let s = "עברית "; assert!(Some('ת') == s.trim_right().chars().rev().next());
    -

    Returns a string slice with all prefixes and suffixes that match a +

    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 +

    The pattern can be a char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -862,9 +862,9 @@ or closure that determines if a character matches.

    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 +

    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 +

    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 @@ -879,29 +879,29 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -

    Returns a string slice with the prefix removed.

    +

    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 +

    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.

    +

    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 +

    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 +

    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 +

    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 @@ -919,9 +919,9 @@ Arabic or Hebrew, this will be the left side.

    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 +

    👎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 +

    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 @@ -936,9 +936,9 @@ the right side, not the left.

    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 +

    👎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 +

    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 @@ -956,15 +956,15 @@ the left side, not the right.

    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.

    +

    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.

    +

    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 +

    Will return Err if it’s not possible to parse this string slice into the desired type.

    Examples

    Basic usage

    @@ -982,21 +982,21 @@ the desired type.

    let nope = "j".parse::<u32>();
     
     assert!(nope.is_err());
    -

    Checks if all characters in this string are within the ASCII range.

    +

    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.

    +

    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.

    +

    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
    @@ -1015,7 +1015,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_debug().to_string(), "❤\\n!");
    -

    Return an iterator that escapes each char in self with char::escape_default.

    +

    Return an iterator that escapes each char in self with char::escape_default.

    Examples

    As an iterator:

    @@ -1032,7 +1032,7 @@ escaped.

    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.

    +

    Return an iterator that escapes each char in self with char::escape_unicode.

    Examples

    As an iterator:

    @@ -1049,8 +1049,8 @@ escaped.

    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. +

    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
    @@ -1064,8 +1064,8 @@ replaces them with the replacement string slice.

    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. +

    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
    @@ -1079,11 +1079,11 @@ replaces them with the replacement string slice at most count times
    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.

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1106,11 +1106,11 @@ parameter in-place.

    let new_year = "农历新年";
     
     assert_eq!(new_year, new_year.to_lowercase());
    -

    Returns the uppercase equivalent of this string slice, as a new String.

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1128,7 +1128,7 @@ parameter in-place.

    let s = "tschüß";
     
     assert_eq!("TSCHÜSS", s.to_uppercase());
    -

    Creates a new String by repeating a string n times.

    +

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1139,34 +1139,34 @@ parameter in-place.

    // this will panic at runtime
     let huge = "0123456789abcdef".repeat(usize::MAX);
    -

    Returns a copy of this string where each character is mapped to its +

    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 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 +

    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 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.

    +

    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).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/type.AppData.html b/mcaptcha/type.AppData.html index d7fd3398..bae5fa26 100644 --- a/mcaptcha/type.AppData.html +++ b/mcaptcha/type.AppData.html @@ -1 +1 @@ -AppData in mcaptcha - Rust

    Type Definition mcaptcha::AppData

    source ·
    pub type AppData = Data<ArcData>;
    \ No newline at end of file +AppData in mcaptcha - Rust

    Type Definition mcaptcha::AppData

    source ·
    pub type AppData = Data<ArcData>;
    \ No newline at end of file diff --git a/mcaptcha/type.ArcData.html b/mcaptcha/type.ArcData.html index be6b1b6a..8eccc7d5 100644 --- a/mcaptcha/type.ArcData.html +++ b/mcaptcha/type.ArcData.html @@ -1 +1 @@ -ArcData in mcaptcha - Rust

    Type Definition mcaptcha::ArcData

    source ·
    pub type ArcData = Arc<Data>;
    \ No newline at end of file +ArcData in mcaptcha - Rust

    Type Definition mcaptcha::ArcData

    source ·
    pub type ArcData = Arc<Data>;
    \ No newline at end of file diff --git a/mcaptcha/widget/constant.PAGE.html b/mcaptcha/widget/constant.PAGE.html index 57716c50..369a0e67 100644 --- a/mcaptcha/widget/constant.PAGE.html +++ b/mcaptcha/widget/constant.PAGE.html @@ -1 +1 @@ -PAGE in mcaptcha::widget - Rust

    Constant mcaptcha::widget::PAGE

    source ·
    const PAGE: &str = "mCaptcha CAPTCHA verification";
    \ No newline at end of file +PAGE in mcaptcha::widget - Rust

    Constant mcaptcha::widget::PAGE

    source ·
    const PAGE: &str = "mCaptcha CAPTCHA verification";
    \ No newline at end of file diff --git a/mcaptcha/widget/constant.WIDGET_ROUTES.html b/mcaptcha/widget/constant.WIDGET_ROUTES.html index 63563055..d3b351b8 100644 --- a/mcaptcha/widget/constant.WIDGET_ROUTES.html +++ b/mcaptcha/widget/constant.WIDGET_ROUTES.html @@ -1 +1 @@ -WIDGET_ROUTES in mcaptcha::widget - Rust

    Constant mcaptcha::widget::WIDGET_ROUTES

    source ·
    pub const WIDGET_ROUTES: Widget;
    \ No newline at end of file +WIDGET_ROUTES in mcaptcha::widget - Rust

    Constant mcaptcha::widget::WIDGET_ROUTES

    source ·
    pub const WIDGET_ROUTES: Widget;
    \ No newline at end of file diff --git a/mcaptcha/widget/fn.services.html b/mcaptcha/widget/fn.services.html index ea1d676d..4753b03d 100644 --- a/mcaptcha/widget/fn.services.html +++ b/mcaptcha/widget/fn.services.html @@ -1,2 +1,2 @@ services in mcaptcha::widget - Rust

    Function mcaptcha::widget::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    Expand description

    widget services

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/mcaptcha/widget/index.html b/mcaptcha/widget/index.html index 56acb073..0ecd6149 100644 --- a/mcaptcha/widget/index.html +++ b/mcaptcha/widget/index.html @@ -1,2 +1,2 @@ mcaptcha::widget - Rust

    Module mcaptcha::widget

    source ·
    Expand description

    User facing CAPTCHA widget

    -

    Modules

    Structs

    INDEX_PAGE 🔒
    render a client side widget for CAPTCHA verification

    Constants

    Functions

    widget services
    \ No newline at end of file +

    Modules

    Structs

    INDEX_PAGE 🔒
    render a client side widget for CAPTCHA verification

    Constants

    Functions

    widget services
    \ No newline at end of file diff --git a/mcaptcha/widget/routes/index.html b/mcaptcha/widget/routes/index.html index f261be9a..7499b73b 100644 --- a/mcaptcha/widget/routes/index.html +++ b/mcaptcha/widget/routes/index.html @@ -1 +1 @@ -mcaptcha::widget::routes - Rust
    \ No newline at end of file +mcaptcha::widget::routes - Rust
    \ No newline at end of file diff --git a/mcaptcha/widget/routes/struct.Widget.html b/mcaptcha/widget/routes/struct.Widget.html index 094a3441..caaf8469 100644 --- a/mcaptcha/widget/routes/struct.Widget.html +++ b/mcaptcha/widget/routes/struct.Widget.html @@ -1,11 +1,11 @@ Widget in mcaptcha::widget::routes - Rust

    Struct mcaptcha::widget::routes::Widget

    source ·
    pub struct Widget {
    -    pub verification_widget: &'static str,
    -}

    Fields§

    §verification_widget: &'static str

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    + pub verification_widget: &'static str, +}

    Fields§

    §verification_widget: &'static str

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more

    Calls U::from(self).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/widget/struct.INDEX_PAGE.html b/mcaptcha/widget/struct.INDEX_PAGE.html index 434eb140..1009c52d 100644 --- a/mcaptcha/widget/struct.INDEX_PAGE.html +++ b/mcaptcha/widget/struct.INDEX_PAGE.html @@ -1,28 +1,28 @@ INDEX_PAGE in mcaptcha::widget - Rust

    Struct mcaptcha::widget::INDEX_PAGE

    source ·
    struct INDEX_PAGE {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    Extracts a string slice containing the entire String.

    + __private_field: (), +}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    Extracts a string slice containing the entire String.

    Examples

    Basic usage:

    let s = String::from("foo");
     
     assert_eq!("foo", s.as_str());
    -

    Returns this String’s capacity, in bytes.

    +

    Returns this String’s capacity, in bytes.

    Examples

    Basic usage:

    let s = String::with_capacity(10);
     
     assert!(s.capacity() >= 10);
    -

    Returns a byte slice of this String’s contents.

    -

    The inverse of this method is from_utf8.

    +

    Returns a byte slice of this String’s contents.

    +

    The inverse of this method is from_utf8.

    Examples

    Basic usage:

    let s = String::from("hello");
     
     assert_eq!(&[104, 101, 108, 108, 111], s.as_bytes());
    -

    Returns the length of this String, in bytes, not chars or +

    Returns the length of this String, in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    @@ -34,7 +34,7 @@ length of the string.

    let fancy_f = String::from("ƒoo"); assert_eq!(fancy_f.len(), 4); assert_eq!(fancy_f.chars().count(), 3);
    -

    Returns true if this String has a length of zero, and false otherwise.

    +

    Returns true if this String has a length of zero, and false otherwise.

    Examples

    Basic usage:

    @@ -43,8 +43,8 @@ length of the string.

    v.push('a'); assert!(!v.is_empty());
    -

    Methods from Deref<Target = str>§

    Returns the length of self.

    -

    This length is in bytes, not chars or graphemes. In other words, +

    Methods from Deref<Target = 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:

    @@ -54,7 +54,7 @@ it might not be what a human considers the length of the string.

    assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
    -

    Returns true if self has a length of zero bytes.

    +

    Returns true if self has a length of zero bytes.

    Examples

    Basic usage:

    @@ -63,7 +63,7 @@ it might not be what a human considers the length of the string.

    let s = "not empty"; assert!(!s.is_empty());
    -

    Checks that index-th byte is the first byte in a UTF-8 code point +

    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.

    @@ -80,7 +80,7 @@ considered to be boundaries.

    // 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 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 @@ -95,8 +95,8 @@ includes 🧑 (person) instead.

    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 +

    🔬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().

    @@ -109,14 +109,14 @@ for more details.

    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.

    +

    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 mutable string slice to a mutable byte slice.

    +

    Converts a mutable string slice to a mutable byte slice.

    Safety

    The caller must ensure that the content of the slice is valid UTF-8 before the borrow ends and the underlying str is used.

    @@ -142,26 +142,26 @@ before the borrow ends and the underlying str is used.

    } assert_eq!("🍔∈🌏", s);
    -

    Converts a string slice to a raw pointer.

    +

    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 +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.

    +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();
    -

    Converts a mutable string slice to a raw pointer.

    +

    Converts a mutable 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 +u8. This pointer will be pointing to the first byte of the string slice.

    It is your responsibility to make sure that the string slice only gets modified in a way that it remains valid UTF-8.

    -

    Returns a subslice of str.

    +

    Returns a subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let v = String::from("🗻∈🌏");
     
    @@ -173,9 +173,9 @@ modified in a way that it remains valid UTF-8.

    // out of bounds assert!(v.get(..42).is_none());
    -

    Returns a mutable subslice of str.

    +

    Returns a mutable subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let mut v = String::from("hello");
     // correct length
    @@ -194,7 +194,7 @@ modified in a way that it remains valid UTF-8.

    assert_eq!(Some("HE"), s); } assert_eq!("HEllo", v);
    -

    Returns an unchecked subslice of str.

    +

    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 @@ -213,7 +213,7 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked(4..7)); assert_eq!("🌏", v.get_unchecked(7..11)); }
    -

    Returns a mutable, unchecked subslice of str.

    +

    Returns a mutable, unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -232,14 +232,14 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked_mut(4..7)); assert_eq!("🌏", v.get_unchecked_mut(7..11)); }
    -
    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety +

    👎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.

    +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.

    +slice_mut_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -262,14 +262,14 @@ satisfied:

    unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
    -
    👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

    Creates a string slice from another string slice, bypassing safety +

    👎Deprecated since 1.29.0: use get_unchecked_mut(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 IndexMut.

    +alternative see str and IndexMut.

    This new slice goes from begin to end, including begin but excluding end.

    To get an immutable string slice instead, see the -slice_unchecked method.

    +slice_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -278,12 +278,12 @@ satisfied:

  • begin and end must be byte positions within the string slice.
  • begin and end must lie on UTF-8 sequence boundaries.
  • -

    Divide one string slice into two at an index.

    +

    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 +

    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 @@ -297,12 +297,12 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -

    Divide one mutable string slice into two at an index.

    +

    Divide one mutable 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 immutable string slices instead, see the split_at method.

    +

    To get immutable string slices instead, see the split_at 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.

    @@ -317,10 +317,10 @@ past the end of the last code point of the string slice.

    assert_eq!(" Martin-Löf", last); } assert_eq!("PER Martin-Löf", s);
    -

    Returns an iterator over the chars of a string slice.

    +

    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 +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.

    @@ -343,7 +343,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -353,12 +353,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -

    Returns an iterator over the chars of a string slice, and their +

    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 +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:

    @@ -379,7 +379,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -393,7 +393,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    An iterator over the bytes of a string slice.

    +

    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
    @@ -407,12 +407,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -

    Splits a string slice by whitespace.

    +

    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.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -437,10 +437,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -

    Splits a string slice by ASCII whitespace.

    +

    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.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -465,7 +465,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -

    An iterator over the lines of a string, as string slices.

    +

    An iterator over the lines of a string, as string slices.

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -495,8 +495,8 @@ without a final line ending.

    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.

    +
    👎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:

    @@ -506,10 +506,10 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -

    Returns true if the given pattern matches a sub-slice of +

    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 +

    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:

    @@ -518,10 +518,10 @@ function or closure that determines if a character matches.

    assert!(bananas.contains("nana")); assert!(!bananas.contains("apples"));
    -

    Returns true if the given pattern matches a prefix of this +

    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 +

    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:

    @@ -530,10 +530,10 @@ function or closure that determines if a character matches.

    assert!(bananas.starts_with("bana")); assert!(!bananas.starts_with("nana"));
    -

    Returns true if the given pattern matches a suffix of this +

    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 +

    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:

    @@ -542,10 +542,10 @@ function or closure that determines if a character matches.

    assert!(bananas.ends_with("anas")); assert!(!bananas.ends_with("nana"));
    -

    Returns the byte index of the first character of this string slice that +

    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 +

    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:

    @@ -569,10 +569,10 @@ function or closure that determines if a character matches.

    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 +

    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 +

    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:

    @@ -594,16 +594,16 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -

    An iterator over substrings of this string slice, separated by +

    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 +

    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 +

    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.

    +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.

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -666,12 +666,12 @@ when whitespace is used as the separator. This code is correct:

    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 +

    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 +

    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."
    @@ -684,15 +684,15 @@ 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 +

    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 +

    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, 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.

    +

    For iterating from the front, the split method can be used.

    Examples

    Simple patterns:

    @@ -711,20 +711,20 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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 +

    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.

    +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.

    +from a forward search, the rsplit_terminator method can be used.

    Examples

    Basic usage:

    @@ -736,11 +736,11 @@ from a forward search, the 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 +

    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 +

    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 +

    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.

    @@ -748,7 +748,7 @@ rather than separated by a pattern.

    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 +

    For iterating from the front, the split_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -759,16 +759,16 @@ used.

    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 +

    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 +

    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 +

    If the pattern allows a reverse search, the rsplitn method can be used.

    Examples

    Simple patterns:

    @@ -788,17 +788,17 @@ used.

    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 +

    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 +

    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.

    +

    For splitting from the front, the splitn method can be used.

    Examples

    Simple patterns:

    @@ -814,29 +814,29 @@ efficient to support.

    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 +

    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 +

    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 +

    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 +

    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 +

    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.

    +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.

    +from a forward search, the rmatches method can be used.

    Examples

    Basic usage:

    @@ -845,15 +845,15 @@ from a forward search, the 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, +

    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 +

    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, 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.

    +

    For iterating from the front, the matches method can be used.

    Examples

    Basic usage:

    @@ -862,18 +862,18 @@ search yields the same elements.

    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 +

    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 +

    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 +

    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.

    +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.

    +from a forward search, the rmatch_indices method can be used.

    Examples

    Basic usage:

    @@ -885,17 +885,17 @@ from a forward search, the 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, +

    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 +

    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, 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.

    +

    For iterating from the front, the match_indices method can be used.

    Examples

    Basic usage:

    @@ -907,7 +907,7 @@ search yields the same elements.

    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.

    +

    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
    @@ -916,7 +916,7 @@ Core Property White_Space, which includes newlines.

    let s = "\n Hello\tworld\t\n";
     
     assert_eq!("Hello\tworld", s.trim());
    -

    Returns a string slice with leading whitespace removed.

    +

    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
    @@ -936,7 +936,7 @@ Arabic or Hebrew, this will be the right side.

    let s = " עברית "; assert!(Some('ע') == s.trim_start().chars().next());
    -

    Returns a string slice with trailing whitespace removed.

    +

    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
    @@ -956,7 +956,7 @@ Arabic or Hebrew, this will be the left side.

    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.

    +
    👎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
    @@ -977,7 +977,7 @@ the right side, not the left.

    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.

    +
    👎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
    @@ -998,9 +998,9 @@ the left side, not the right.

    let s = "עברית "; assert!(Some('ת') == s.trim_right().chars().rev().next());
    -

    Returns a string slice with all prefixes and suffixes that match a +

    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 +

    The pattern can be a char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -1013,9 +1013,9 @@ or closure that determines if a character matches.

    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 +

    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 +

    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 @@ -1030,29 +1030,29 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -

    Returns a string slice with the prefix removed.

    +

    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 +

    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.

    +

    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 +

    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 +

    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 +

    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 @@ -1070,9 +1070,9 @@ Arabic or Hebrew, this will be the left side.

    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 +

    👎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 +

    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 @@ -1087,9 +1087,9 @@ the right side, not the left.

    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 +

    👎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 +

    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 @@ -1107,15 +1107,15 @@ the left side, not the right.

    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.

    +

    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.

    +

    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 +

    Will return Err if it’s not possible to parse this string slice into the desired type.

    Examples

    Basic usage

    @@ -1133,21 +1133,21 @@ the desired type.

    let nope = "j".parse::<u32>();
     
     assert!(nope.is_err());
    -

    Checks if all characters in this string are within the ASCII range.

    +

    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.

    +

    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"));
    -

    Converts this string to its ASCII upper case equivalent in-place.

    +

    Converts this string to its ASCII upper case equivalent in-place.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    To return a new uppercased value without modifying the existing one, use @@ -1158,7 +1158,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_uppercase(); assert_eq!("GRüßE, JüRGEN ❤", s);
    -

    Converts this string to its ASCII lower case equivalent in-place.

    +

    Converts this string to its ASCII lower case equivalent in-place.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    To return a new lowercased value without modifying the existing one, use @@ -1169,7 +1169,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_lowercase(); assert_eq!("grÜße, jÜrgen ❤", s);
    -

    Return an iterator that escapes each char in self with char::escape_debug.

    +

    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
    @@ -1188,7 +1188,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_debug().to_string(), "❤\\n!");
    -

    Return an iterator that escapes each char in self with char::escape_default.

    +

    Return an iterator that escapes each char in self with char::escape_default.

    Examples

    As an iterator:

    @@ -1205,7 +1205,7 @@ escaped.

    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.

    +

    Return an iterator that escapes each char in self with char::escape_unicode.

    Examples

    As an iterator:

    @@ -1222,8 +1222,8 @@ escaped.

    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. +

    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
    @@ -1237,8 +1237,8 @@ replaces them with the replacement string slice.

    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. +

    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
    @@ -1252,11 +1252,11 @@ replaces them with the replacement string slice at most count times
    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.

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1279,11 +1279,11 @@ parameter in-place.

    let new_year = "农历新年";
     
     assert_eq!(new_year, new_year.to_lowercase());
    -

    Returns the uppercase equivalent of this string slice, as a new String.

    +

    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 +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1301,7 +1301,7 @@ parameter in-place.

    let s = "tschüß";
     
     assert_eq!("TSCHÜSS", s.to_uppercase());
    -

    Creates a new String by repeating a string n times.

    +

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1312,34 +1312,34 @@ parameter in-place.

    // this will panic at runtime
     let huge = "0123456789abcdef".repeat(usize::MAX);
    -

    Returns a copy of this string where each character is mapped to its +

    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 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 +

    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 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.

    +

    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).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/widget/struct.IndexPage.html b/mcaptcha/widget/struct.IndexPage.html index 28202368..172b1967 100644 --- a/mcaptcha/widget/struct.IndexPage.html +++ b/mcaptcha/widget/struct.IndexPage.html @@ -1,9 +1,9 @@ -IndexPage in mcaptcha::widget - Rust

    Struct mcaptcha::widget::IndexPage

    source ·
    pub struct IndexPage;

    Implementations§

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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.

    +IndexPage in mcaptcha::widget - Rust

    Struct mcaptcha::widget::IndexPage

    source ·
    pub struct IndexPage;

    Implementations§

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Render the template and return the rendering result as RenderResult Read more
    Render the template and append the result to buf. 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).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/widget/struct.show_widget.html b/mcaptcha/widget/struct.show_widget.html index d83d57d1..027bb715 100644 --- a/mcaptcha/widget/struct.show_widget.html +++ b/mcaptcha/widget/struct.show_widget.html @@ -1,10 +1,10 @@ show_widget in mcaptcha::widget - Rust
    pub struct show_widget;
    Expand description

    render a client side widget for CAPTCHA verification

    -

    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.

    +

    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).

    +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 +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 +WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/search-index.js b/search-index.js index 96d205e4..cef0a119 100644 --- a/search-index.js +++ b/search-index.js @@ -1,8 +1,8 @@ var searchIndex = JSON.parse('{\ "db_core":{"doc":"mCaptcha database operations","t":[3,3,8,3,13,2,3,4,8,3,3,3,3,3,3,3,13,10,10,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,10,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,10,10,11,11,11,11,11,11,11,10,10,10,10,12,12,11,11,11,11,11,11,11,11,11,11,11,11,0,12,12,12,12,10,11,11,11,11,11,11,11,11,11,11,11,11,0,10,10,10,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,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,12,12,10,12,12,12,12,0,12,10,0,12,10,10,10,10,12,12,11,11,11,11,11,11,11,11,11,11,11,11,12,0,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,10,10,10,10,10,10,12,12,12,10,12,11,11,11,11,11,11,11,11,11,11,11,11,23,13,6,13,13,4,13,6,13,13,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,16,8,8,8,8,16,10,10,10,5],"n":["AddNotification","Captcha","CloneSPDatabase","CreateCaptcha","Email","GetConnection","Level","Login","MCDatabase","NameHash","Notification","Register","Secret","StatsUnixTimestamp","TrafficPattern","UpdateEmail","Username","add_captcha_levels","add_traffic_pattern","avg_traffic","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","broke_my_site_traffic","captcha_exists","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_db","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","config_fetches","config_id","confirms","create_captcha","create_notification","default","default","default","default","default","default","default","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","dev","difficulty_factor","duration","duration","email","email_exists","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","errors","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","into","into","into","into","into","into","into","into","into","into","into","into","key","key","mark_notification_read","message","message","name","new_email","ops","peak_sustainable_traffic","ping","prelude","received","record_confirm","record_fetch","record_solve","register","secret","secret","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","solves","tests","to","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","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_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","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_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","async_trait","AccountNotFound","BoxDynError","CaptchaKeyTaken","CaptchaNotFound","DBError","DBError","DBResult","EmailTaken","NotificationNotFound","SecretTaken","TrafficPatternNotFound","UsernameTaken","borrow","borrow_mut","fmt","fmt","from","into","provide","source","to_string","try_from","try_into","type_id","vzip","Conn","Connect","DBOps","GetConnection","Migrate","Pool","connect","get_conn","migrate","database_works"],"q":["db_core","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_core::dev","db_core::errors","","","","","","","","","","","","","","","","","","","","","","","","","db_core::ops","","","","","","","","","db_core::tests"],"d":["Data required to add notification","Data representing a captcha","Trait to clone MCDatabase","data required to create new captcha","email as login","","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","type encapsulating username and hashed password of a user","Represents notification","Data required to register a new user","datastructure representing a user’s secret","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","data required to update them email of a user","username as login","Add levels to captcha","Add traffic configuration","average traffic of user’s website","","","","","","","","","","","","","","","","","","","","","","","","","traffic that bought the user’s website down; optional","check if captcha exists","","","","","","","","","","","","","clone DB","","","","","","","","","","","","","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","create new captcha","create new notification","","","","","","","","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","","","","","","","","","","","","","useful imports for supporting a new database","","cool down duration","cool down duration","Optionally, email of new use","check if email exists","","","","","","","","","","","","","represents all the ways a trait can fail using this crate","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","","","","","","","","","","","","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.","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","db assigned ID of the notification","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).","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","receiver name of the notification","new email address of the user","meta operations like migration and connecting to a database","the peak traffic that the user’s website can handle","ping DB","useful imports for users working with a supported database","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","","","","","","","","","","","","","times at which the PoW was solved","Test utilities","who is the notification addressed to?","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","","","","","","","","","","","","","","Account not found","Convenience type alias for grouping driver-specific errors","Captcha key is taken","Captcha not found","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Generic result data structure","Email is taken","Notification not found","Secret is taken","Traffic pattern not found","Username is taken","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","database connection type","Create database connection","Database operations trait(migrations, pool creation and …","Get database connection","database migrations","database specific pool-type","database specific error-type create connection pool","database specific error-type get connection from …","database specific error-type run migrations","test all database functions"],"i":[0,0,0,0,9,0,0,0,0,0,0,0,0,0,0,0,9,18,18,5,7,8,9,10,11,12,13,14,5,15,16,17,7,8,9,10,11,12,13,14,5,15,16,17,5,18,7,8,9,10,11,12,13,14,5,15,16,17,30,7,8,9,10,11,12,13,14,5,15,16,17,11,16,11,18,18,11,13,14,5,15,16,17,18,18,18,18,15,16,7,8,9,10,11,12,13,14,5,15,16,17,0,12,15,16,7,18,7,8,9,10,11,12,13,14,5,15,16,17,0,18,18,18,7,8,9,10,11,12,13,14,5,15,16,17,7,8,9,10,11,12,13,14,5,15,16,17,14,18,18,18,18,18,18,18,18,18,18,7,10,13,14,13,7,8,9,10,11,12,13,14,5,15,16,17,15,16,18,13,14,13,8,0,5,18,0,13,18,18,18,18,7,17,7,8,9,10,11,12,13,14,5,15,16,17,11,0,14,7,8,9,10,11,12,13,14,5,15,16,17,7,8,9,10,11,12,13,14,5,15,16,17,7,8,9,10,11,12,13,14,5,15,16,17,7,8,9,10,11,12,13,14,5,15,16,17,18,18,18,18,18,18,7,8,10,18,12,7,8,9,10,11,12,13,14,5,15,16,17,0,26,0,26,26,0,26,0,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,31,0,0,0,0,32,32,31,33,0],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[1,1],[[4,[[3,[2]]]]]],[[1,1,5],[[4,[[3,[2]]]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[[6,[1]],1],[[4,[[3,[2]]]]]],[7,7],[8,8],[9,9],[10,10],[11,11],[12,12],[13,13],[14,14],[5,5],[15,15],[16,16],[17,17],[[],[[3,[18]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,[[1,15],[[4,[[3,[2]]]]]],[14,[[4,[[3,[2]]]]]],[[],11],[[],13],[[],14],[[],5],[[],15],[[],16],[[],17],[[1,1],[[4,[[3,[2]]]]]],[[1,1],[[4,[[3,[2]]]]]],[[1,1],[[4,[[3,[2]]]]]],[1,[[4,[[3,[2]]]]]],0,0,[[],[[19,[7]]]],[[],[[19,[8]]]],[[],[[19,[9]]]],[[],[[19,[10]]]],[[],[[19,[11]]]],[[],[[19,[12]]]],[[],[[19,[13]]]],[[],[[19,[14]]]],[[],[[19,[5]]]],[[],[[19,[15]]]],[[],[[19,[16]]]],[[],[[19,[17]]]],0,0,0,0,0,[1,[[4,[[3,[2]]]]]],[[7,7],20],[[8,8],20],[[9,9],20],[[10,10],20],[[11,11],20],[[12,12],20],[[13,13],20],[[14,14],20],[[5,5],20],[[15,15],20],[[16,16],20],[[17,17],20],0,[[1,1],[[4,[[3,[2]]]]]],[[1,1],[[4,[[3,[2]]]]]],[[1,1],[[4,[[3,[2]]]]]],[[7,21],22],[[8,21],22],[[9,21],22],[[10,21],22],[[11,21],22],[[12,21],[[19,[23]]]],[[13,21],22],[[14,21],22],[[5,21],22],[[15,21],22],[[16,21],22],[[17,21],22],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[1,[[4,[[3,[2]]]]]],[1,[[4,[[3,[2]]]]]],[[1,1],[[4,[[3,[2]]]]]],[1,[[4,[[3,[2]]]]]],[[[6,[1]],1],[[4,[[3,[2]]]]]],[1,[[4,[[3,[2]]]]]],[9,[[4,[[3,[2]]]]]],[1,[[4,[[3,[2]]]]]],[1,[[4,[[3,[2]]]]]],[[1,1],[[4,[[3,[2]]]]]],0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[1,24],[[4,[[3,[2]]]]]],0,0,0,0,0,0,[[],[[4,[[3,[2]]]]]],0,0,[1,[[4,[[3,[2]]]]]],[1,[[4,[[3,[2]]]]]],[1,[[4,[[3,[2]]]]]],[7,[[4,[[3,[2]]]]]],0,0,[7,19],[8,19],[9,19],[10,19],[11,19],[12,19],[13,19],[14,19],[5,19],[15,19],[16,19],[17,19],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[1,1,1],[[4,[[3,[2]]]]]],[[1,15],[[4,[[3,[2]]]]]],[8,[[4,[[3,[2]]]]]],[10,[[4,[[3,[2]]]]]],[[1,1],[[4,[[3,[2]]]]]],[[1,1],[[4,[[3,[2]]]]]],0,0,0,[1,[[4,[[3,[2]]]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[26,21],22],[[26,21],22],[[]],[[]],[27],[26,[[6,[28]]]],[[],29],[[],19],[[],19],[[],25],[[]],0,0,0,0,0,0,[[],[[4,[[3,[2]]]]]],[[],[[4,[[3,[2]]]]]],[[],[[4,[[3,[2]]]]]],[[7,15,5,14]]],"p":[[15,"str"],[8,"Future"],[3,"Box"],[3,"Pin"],[3,"TrafficPattern"],[4,"Option"],[3,"Register"],[3,"UpdateEmail"],[4,"Login"],[3,"NameHash"],[3,"StatsUnixTimestamp"],[3,"Level"],[3,"Notification"],[3,"AddNotification"],[3,"CreateCaptcha"],[3,"Captcha"],[3,"Secret"],[8,"MCDatabase"],[4,"Result"],[15,"bool"],[3,"Formatter"],[6,"Result"],[3,"Error"],[15,"i32"],[3,"TypeId"],[4,"DBError"],[3,"Demand"],[8,"Error"],[3,"String"],[8,"CloneSPDatabase"],[8,"GetConnection"],[8,"Connect"],[8,"Migrate"]]},\ -"db_sqlx_maria":{"doc":"","t":[3,4,3,13,3,13,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,0,12,11,11,0,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,12,11,12,11,12,12,0,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,12,11,11,11,11,11,11,13,3,6,3,13,13,8,13,13,13,13,16,8,3,4,13,8,6,2,13,13,13,13,4,8,13,3,4,8,8,13,3,3,13,16,13,13,13,3,13,3,13,3,13,3,13,13,3,13,13,13,10,10,11,23,12,11,11,12,10,10,12,12,12,10,10,10,10,10,10,10,12,12,0,12,12,12,12,10,0,10,10,10,11,11,11,11,11,11,11,12,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,11,11,12,12,10,12,12,10,12,12,0,12,10,0,11,12,10,10,10,10,12,12,12,11,0,12,11,11,11,11,10,10,10,10,10,10,12,12,12,10,12,11,12,12,12,12,12,13,3,6,3,13,13,8,16,8,3,4,13,8,6,13,13,8,3,4,8,8,3,3,13,16,3,3,13,3,3,13,3,13,13,10,10,23,12,12,10,10,12,12,12,10,10,10,10,10,10,10,12,12,12,12,12,12,10,0,10,10,10,12,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,10,12,12,10,12,12,0,12,10,0,12,10,10,10,10,12,12,12,0,12,10,10,10,10,10,10,12,12,12,10,12,13,6,13,13,4,13,6,13,13,13,13,13,16,8,8,8,8,16,10,10,10,13,3,6,3,13,13,8,16,8,3,4,13,8,6,13,13,8,3,4,8,8,3,3,13,16,3,3,13,3,3,13,3,13,13,10,10,12,12,10,10,12,12,12,10,10,10,10,10,10,10,12,12,12,12,12,12,10,10,10,10,12,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,10,12,12,10,12,12,12,10,12,10,10,10,10,12,12,12,12,10,10,10,10,10,10,12,12,12,10,12,5,13,6,13,13,4,13,6,13,13,13,13,13,16,8,8,8,8,16,10,10,10,13,3,6,3,13,13,8,16,8,3,4,13,8,6,13,13,8,3,4,8,8,3,3,13,16,3,3,13,3,3,13,3,13,13,10,10,12,12,10,10,12,12,12,10,10,10,10,10,10,10,12,12,0,12,12,12,12,10,10,10,10,12,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,10,12,12,10,12,12,12,10,12,10,10,10,10,12,12,12,12,10,10,10,10,10,10,12,12,12,10,12,13,3,6,3,13,13,8,16,8,3,4,13,8,6,13,13,8,3,4,8,8,3,3,13,16,3,3,13,3,3,13,3,13,13,10,10,23,12,12,10,10,12,12,12,10,10,10,10,10,10,10,12,12,12,12,12,12,10,10,10,10,12,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,10,12,12,10,12,12,12,10,12,10,10,10,10,12,12,12,12,10,10,10,10,10,10,12,12,12,10,12,5,5,5,13,3,6,3,13,13,8,16,8,3,4,13,8,6,13,13,8,3,4,8,8,3,3,13,16,3,3,13,3,3,13,3,13,13,10,10,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,12,10,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,10,10,10,11,11,11,11,11,11,11,10,10,10,10,12,12,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,10,11,11,11,11,11,11,11,11,11,11,11,11,10,10,10,11,11,11,11,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,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,10,12,12,10,12,12,0,12,10,11,12,10,10,10,10,12,12,11,11,11,11,11,11,11,11,11,11,11,11,12,11,0,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,10,10,10,10,10,10,12,12,12,10,12,11,11,11,11,11,11,11,11,11,11,11,11,11,16,8,8,8,8,16,10,10,10,5],"n":["Conn","ConnectionOptions","Database","Existing","Fresh","Fresh","InnerNotification","add_captcha_levels","add_traffic_pattern","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","captcha_exists","clone","clone","clone_db","clone_into","clone_into","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","dev","disable_logging","email_exists","eq","errors","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","from","from","from","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","heading","id","into","into","into","into","into","mark_notification_read","message","migrate","name","ping","pool","pool_options","prelude","received","record_confirm","record_fetch","record_solve","register","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","update_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","url","username_exists","vzip","vzip","vzip","vzip","vzip","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","ColumnDecode","ColumnIndexOutOfBounds","ColumnNotFound","Configuration","Conn","Connect","CreateCaptcha","DBError","DBError","DBOps","DBResult","Database","Database","Decode","Email","EmailTaken","Error","GetConnection","Io","Level","Login","MCDatabase","Migrate","Migrate","NameHash","Notification","NotificationNotFound","Pool","PoolClosed","PoolTimedOut","Protocol","Register","RowNotFound","Secret","SecretTaken","StatsUnixTimestamp","Tls","TrafficPattern","TrafficPatternNotFound","TypeNotFound","UpdateEmail","Username","UsernameTaken","WorkerCrashed","add_captcha_levels","add_traffic_pattern","as_database_error","async_trait","avg_traffic","borrow","borrow_mut","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","dev","difficulty_factor","duration","duration","email","email_exists","errors","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","fmt","from","from","from","from","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","into","into_database_error","key","key","mark_notification_read","message","message","migrate","name","new_email","ops","peak_sustainable_traffic","ping","prelude","provide","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","source","tests","to","to_string","try_from","try_into","type_id","update_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","vzip","index","index","len","source","type_name","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","async_trait","avg_traffic","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","difficulty_factor","duration","duration","email","email_exists","errors","fetch_config_fetched","fetch_confirm","fetch_solve","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","key","key","mark_notification_read","message","message","migrate","name","new_email","ops","peak_sustainable_traffic","ping","prelude","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","tests","to","update_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","AccountNotFound","BoxDynError","CaptchaKeyTaken","CaptchaNotFound","DBError","DBError","DBResult","EmailTaken","NotificationNotFound","SecretTaken","TrafficPatternNotFound","UsernameTaken","Conn","Connect","DBOps","GetConnection","Migrate","Pool","connect","get_conn","migrate","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","avg_traffic","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","difficulty_factor","duration","duration","email","email_exists","fetch_config_fetched","fetch_confirm","fetch_solve","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","key","key","mark_notification_read","message","message","migrate","name","new_email","peak_sustainable_traffic","ping","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","to","update_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","database_works","AccountNotFound","BoxDynError","CaptchaKeyTaken","CaptchaNotFound","DBError","DBError","DBResult","EmailTaken","NotificationNotFound","SecretTaken","TrafficPatternNotFound","UsernameTaken","Conn","Connect","DBOps","GetConnection","Migrate","Pool","connect","get_conn","migrate","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","avg_traffic","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","dev","difficulty_factor","duration","duration","email","email_exists","fetch_config_fetched","fetch_confirm","fetch_solve","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","key","key","mark_notification_read","message","message","migrate","name","new_email","peak_sustainable_traffic","ping","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","to","update_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","async_trait","avg_traffic","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","difficulty_factor","duration","duration","email","email_exists","fetch_config_fetched","fetch_confirm","fetch_solve","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","key","key","mark_notification_read","message","message","migrate","name","new_email","peak_sustainable_traffic","ping","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","to","update_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","database_works","map_register_err","map_row_not_found_err","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","avg_traffic","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","broke_my_site_traffic","captcha_exists","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_db","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","config_fetches","config_id","confirms","connect","create_captcha","create_notification","default","default","default","default","default","default","default","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","difficulty_factor","duration","duration","email","email_exists","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","into","into","into","into","into","into","into","into","into","into","into","into","into","key","key","mark_notification_read","message","message","migrate","name","new_email","ops","peak_sustainable_traffic","ping","provide","received","record_confirm","record_fetch","record_solve","register","secret","secret","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","solves","source","tests","to","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","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_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","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_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","Conn","Connect","DBOps","GetConnection","Migrate","Pool","connect","get_conn","migrate","database_works"],"q":["db_sqlx_maria","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_maria::dev","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_maria::dev::Error","","","","","db_sqlx_maria::dev::dev","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_maria::dev::dev::errors","","","","","","","","","","","","db_sqlx_maria::dev::dev::ops","","","","","","","","","db_sqlx_maria::dev::dev::prelude","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_maria::dev::dev::tests","db_sqlx_maria::dev::errors","","","","","","","","","","","","db_sqlx_maria::dev::ops","","","","","","","","","db_sqlx_maria::dev::prelude","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_maria::dev::prelude::dev","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_maria::dev::tests","db_sqlx_maria::errors","","db_sqlx_maria::prelude","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_maria::prelude::ops","","","","","","","","","db_sqlx_maria::prelude::tests"],"d":["Use an existing database pool","Connect to database","","existing connection","","fresh connection","Represents notification","Add levels to captcha","Add traffic configuration","","","","","","","","","","","check if captcha exists","","","","","","","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","","","check if email exists","","Error-handling utilities","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","heading of the notification","db assigned ID of the notification","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","mark a notification read","message of the notification","","receiver name of the notification","ping DB","","","","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","","","","","","","","","","","","","","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","","check if username exists","","","","","","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","Error occurred while decoding a value from a specific …","Column index was out of bounds.","No column found for the given name.","Error occurred while parsing a connection string.","database connection type","Create database connection","data required to create new captcha","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","","Error returned from the database.","Error occurred while decoding a value.","email as login","Email is taken","Represents all the ways a method can fail within SQLx.","Get database connection","Error communicating with the database backend.","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","","type encapsulating username and hashed password of a user","Represents notification","Notification not found","database specific pool-type","Pool::close was called while we were waiting in …","A Pool::acquire timed out due to connections not becoming …","Unexpected or invalid data encountered while communicating …","Data required to register a new user","No rows returned by a query that expected to return at …","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","Error occurred while attempting to establish a TLS …","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","Type in query doesn’t exist. Likely due to typo or …","data required to update them email of a user","username as login","Username is taken","A background worker has crashed.","Add levels to captcha","Add traffic configuration","","","average traffic of user’s website","","","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","useful imports for supporting a new database","","cool down duration","cool down duration","Optionally, email of new use","check if email exists","represents all the ways a trait can fail using this crate","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","","Returns the argument unchanged.","","","","","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","db assigned ID of the notification","Calls U::from(self).","","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","meta operations like migration and connecting to a database","the peak traffic that the user’s website can handle","ping DB","useful imports for users working with a supported database","","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","","Test utilities","who is the notification addressed to?","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","","","","","","","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","","average traffic of user’s website","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","","cool down duration","cool down duration","Optionally, email of new use","check if email exists","represents all the ways a trait can fail using this crate","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","db assigned ID of the notification","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","meta operations like migration and connecting to a database","the peak traffic that the user’s website can handle","ping DB","useful imports for users working with a supported database","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","Test utilities","who is the notification addressed to?","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","Account not found","Convenience type alias for grouping driver-specific errors","Captcha key is taken","Captcha not found","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Generic result data structure","Email is taken","Notification not found","Secret is taken","Traffic pattern not found","Username is taken","database connection type","Create database connection","Database operations trait(migrations, pool creation and …","Get database connection","database migrations","database specific pool-type","database specific error-type create connection pool","database specific error-type get connection from …","database specific error-type run migrations","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","average traffic of user’s website","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","","cool down duration","cool down duration","Optionally, email of new use","check if email exists","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","db assigned ID of the notification","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","the peak traffic that the user’s website can handle","ping DB","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","who is the notification addressed to?","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","test all database functions","Account not found","Convenience type alias for grouping driver-specific errors","Captcha key is taken","Captcha not found","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Generic result data structure","Email is taken","Notification not found","Secret is taken","Traffic pattern not found","Username is taken","database connection type","Create database connection","Database operations trait(migrations, pool creation and …","Get database connection","database migrations","database specific pool-type","database specific error-type create connection pool","database specific error-type get connection from …","database specific error-type run migrations","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","average traffic of user’s website","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","useful imports for supporting a new database","","cool down duration","cool down duration","Optionally, email of new use","check if email exists","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","db assigned ID of the notification","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","the peak traffic that the user’s website can handle","ping DB","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","who is the notification addressed to?","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","","average traffic of user’s website","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","","cool down duration","cool down duration","Optionally, email of new use","check if email exists","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","db assigned ID of the notification","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","the peak traffic that the user’s website can handle","ping DB","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","who is the notification addressed to?","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","test all database functions","map postgres errors to DBError types","map custom row not found error to DB error","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","average traffic of user’s website","","","","","","","","","","","","","","","","","","","","","","","","","","","traffic that bought the user’s website down; optional","check if captcha exists","","","","","","","","","","","","","clone DB","","","","","","","","","","","","","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","","","","","","","","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","","","","","","","","","","","","","","cool down duration","cool down duration","Optionally, email of new use","check if email exists","","","","","","","","","","","","","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","","","","","","","","","","","","","","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.","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","db assigned ID of the notification","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).","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","meta operations like migration and connecting to a database","the peak traffic that the user’s website can handle","ping DB","","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","","","","","","","","","","","","","times at which the PoW was solved","","Test utilities","who is the notification addressed to?","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","","","","","","","","","","","","","","database connection type","Create database connection","Database operations trait(migrations, pool creation and …","Get database connection","database migrations","database specific pool-type","database specific error-type create connection pool","database specific error-type get connection from …","database specific error-type run migrations","test all database functions"],"i":[0,0,0,11,0,11,0,1,1,39,11,40,1,8,39,11,40,1,8,1,1,8,1,1,8,11,1,1,1,1,1,1,0,40,1,8,0,1,1,1,8,39,11,40,1,8,1,1,1,1,1,1,1,1,1,1,8,8,39,11,40,1,8,1,8,1,8,1,1,40,0,8,1,1,1,1,1,8,39,11,40,1,8,39,11,40,1,8,39,11,40,1,8,1,1,1,1,1,1,40,1,39,11,40,1,8,33,0,0,0,33,33,0,24,24,24,24,41,0,0,0,33,0,0,0,24,24,17,33,0,0,24,0,0,0,0,24,0,0,33,42,24,24,24,0,24,0,33,0,24,0,33,24,0,17,33,24,9,9,24,0,6,24,24,6,9,43,34,37,34,42,9,9,9,9,9,9,12,37,0,35,12,37,19,9,0,9,9,9,24,24,24,24,24,24,24,13,9,9,9,9,9,41,9,9,9,9,9,19,23,36,13,36,24,24,12,37,9,36,13,44,36,22,0,6,9,0,24,36,9,9,9,9,19,38,34,24,0,13,24,24,24,24,9,9,9,9,9,9,19,22,23,9,35,24,45,46,45,46,47,33,0,0,0,33,33,0,41,0,0,0,33,0,0,17,33,0,0,0,0,0,0,0,33,42,0,0,33,0,0,33,0,17,33,9,9,0,6,6,9,43,34,37,34,42,9,9,9,9,9,9,12,37,35,12,37,19,9,0,9,9,9,13,9,9,9,9,9,41,9,9,9,9,9,19,23,36,13,36,12,37,9,36,13,44,36,22,0,6,9,0,36,9,9,9,9,19,38,34,0,13,9,9,9,9,9,9,19,22,23,9,35,33,0,33,33,0,33,0,33,33,33,33,33,41,0,0,0,0,42,42,41,44,33,0,0,0,33,33,0,41,0,0,0,33,0,0,17,33,0,0,0,0,0,0,0,33,42,0,0,33,0,0,33,0,17,33,9,9,6,6,9,43,34,37,34,42,9,9,9,9,9,9,12,37,35,12,37,19,9,9,9,9,13,9,9,9,9,9,41,9,9,9,9,9,19,23,36,13,36,12,37,9,36,13,44,36,22,6,9,36,9,9,9,9,19,38,34,13,9,9,9,9,9,9,19,22,23,9,35,0,33,0,33,33,0,33,0,33,33,33,33,33,41,0,0,0,0,42,42,41,44,33,0,0,0,33,33,0,41,0,0,0,33,0,0,17,33,0,0,0,0,0,0,0,33,42,0,0,33,0,0,33,0,17,33,9,9,6,6,9,43,34,37,34,42,9,9,9,9,9,9,12,37,0,35,12,37,19,9,9,9,9,13,9,9,9,9,9,41,9,9,9,9,9,19,23,36,13,36,12,37,9,36,13,44,36,22,6,9,36,9,9,9,9,19,38,34,13,9,9,9,9,9,9,19,22,23,9,35,33,0,0,0,33,33,0,41,0,0,0,33,0,0,17,33,0,0,0,0,0,0,0,33,42,0,0,33,0,0,33,0,17,33,9,9,0,6,6,9,43,34,37,34,42,9,9,9,9,9,9,12,37,35,12,37,19,9,9,9,9,13,9,9,9,9,9,41,9,9,9,9,9,19,23,36,13,36,12,37,9,36,13,44,36,22,6,9,36,9,9,9,9,19,38,34,13,9,9,9,9,9,9,19,22,23,9,35,0,0,0,33,0,0,0,33,33,0,41,0,0,0,33,0,0,17,33,0,0,0,0,0,0,0,33,42,0,0,33,0,0,33,0,17,33,9,9,6,33,19,22,17,23,34,35,36,13,6,12,37,38,33,19,22,17,23,34,35,36,13,6,12,37,38,6,9,19,22,17,23,34,35,36,13,6,12,37,38,43,19,22,17,23,34,35,36,13,6,12,37,38,34,37,34,42,9,9,34,36,13,6,12,37,38,9,9,9,9,12,37,19,22,17,23,34,35,36,13,6,12,37,38,35,12,37,19,9,19,22,17,23,34,35,36,13,6,12,37,38,9,9,9,33,33,19,22,17,23,34,35,36,13,6,12,37,38,33,19,22,17,23,34,35,36,36,13,6,12,37,38,13,9,9,9,9,9,41,9,9,9,9,9,19,23,36,13,36,33,19,22,17,23,34,35,36,13,6,12,37,38,12,37,9,36,13,44,36,22,0,6,9,33,36,9,9,9,9,19,38,19,22,17,23,34,35,36,13,6,12,37,38,34,33,0,13,19,22,17,23,34,35,36,13,6,12,37,38,33,33,19,22,17,23,34,35,36,13,6,12,37,38,33,19,22,17,23,34,35,36,13,6,12,37,38,33,19,22,17,23,34,35,36,13,6,12,37,38,9,9,9,9,9,9,19,22,23,9,35,33,19,22,17,23,34,35,36,13,6,12,37,38,41,0,0,0,0,42,42,41,44,0],"f":[0,0,0,0,0,0,0,[[1,2,2],[[5,[[4,[3]]]]]],[[1,2,2,6],[[5,[[4,[3]]]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[1,[7,[2]],2],[[5,[[4,[3]]]]]],[1,1],[8,8],[[],[[4,[9,10]]]],[[]],[[]],[11,[[5,[[4,[3]]]]]],[[1,2,12],[[5,[[4,[3]]]]]],[[1,13],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],0,0,[[1,2],[[5,[[4,[3]]]]]],[[8,8],14],0,[[1,2,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],[[8,15],16],[[]],[[]],[[]],[[]],[[]],[[1,2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,[7,[2]],2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,17],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],0,0,[[]],[[]],[[]],[[]],[[]],[[1,2,18],[[5,[[4,[3]]]]]],0,[1,[[5,[[4,[3]]]]]],0,[1,[[5,[[4,[3]]]]]],0,0,0,0,[[1,2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,19],[[5,[[4,[3]]]]]],[[]],[[]],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],21],[[],21],[[],21],[[],21],[[],21],[[1,2,2,2],[[5,[[4,[3]]]]]],[[1,2,12],[[5,[[4,[3]]]]]],[[1,22],[[5,[[4,[3]]]]]],[[1,23],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],0,[[1,2],[[5,[[4,[3]]]]]],[[]],[[]],[[]],[[]],[[]],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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2,6],[[5,[[4,[3,10]]]]]],[24,[[7,[25]]]],0,0,[[]],[[]],0,[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[4,[9,10]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[13,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,[2,[[5,[[4,[3,10]]]]]],0,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[24,15],[[20,[26]]]],[[24,15],[[20,[26]]]],[[]],[[],24],[27,24],[28,24],[29,24],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[17,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,0,0,[[]],[24,[[7,[[4,[25,10]]]]]],0,0,[[2,18],[[5,[[4,[3,10]]]]]],0,0,[[],[[5,[[4,[3,10]]]]]],0,0,0,0,[[],[[5,[[4,[3,10]]]]]],0,[30],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[19,[[5,[[4,[3,10]]]]]],0,0,0,[24,[[7,[31]]]],0,0,[[],32],[[],20],[[],20],[[],21],[[2,2,2],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[22,[[5,[[4,[3,10]]]]]],[23,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,[2,[[5,[[4,[3,10]]]]]],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,0,0,0,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2,6],[[5,[[4,[3,10]]]]]],0,0,0,[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[4,[9,10]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[13,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,[2,[[5,[[4,[3,10]]]]]],0,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[17,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,[[2,18],[[5,[[4,[3,10]]]]]],0,0,[[],[[5,[[4,[3,10]]]]]],0,0,0,0,[[],[[5,[[4,[3,10]]]]]],0,0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[19,[[5,[[4,[3,10]]]]]],0,0,0,0,0,[[2,2,2],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[22,[[5,[[4,[3,10]]]]]],[23,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,[2,[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],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,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2,6],[[5,[[4,[3,10]]]]]],0,0,[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[4,[9,10]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[13,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[17,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,[[2,18],[[5,[[4,[3,10]]]]]],0,0,[[],[[5,[[4,[3,10]]]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[19,[[5,[[4,[3,10]]]]]],0,0,0,0,[[2,2,2],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[22,[[5,[[4,[3,10]]]]]],[23,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,[2,[[5,[[4,[3,10]]]]]],0,[[19,12,6,13],3],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],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,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2,6],[[5,[[4,[3,10]]]]]],0,0,[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[4,[9,10]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[13,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[17,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,[[2,18],[[5,[[4,[3,10]]]]]],0,0,[[],[[5,[[4,[3,10]]]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[19,[[5,[[4,[3,10]]]]]],0,0,0,0,[[2,2,2],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[22,[[5,[[4,[3,10]]]]]],[23,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,[2,[[5,[[4,[3,10]]]]]],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,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2,6],[[5,[[4,[3,10]]]]]],0,0,0,[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[4,[9,10]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[13,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[17,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,[[2,18],[[5,[[4,[3,10]]]]]],0,0,[[],[[5,[[4,[3,10]]]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[19,[[5,[[4,[3,10]]]]]],0,0,0,0,[[2,2,2],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[22,[[5,[[4,[3,10]]]]]],[23,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,[2,[[5,[[4,[3,10]]]]]],0,[[19,12,6,13],3],[24,33],[[24,33],33],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,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2,6],[[5,[[4,[3,10]]]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[19,19],[22,22],[17,17],[23,23],[34,34],[35,35],[36,36],[13,13],[6,6],[12,12],[37,37],[38,38],[[],[[4,[9,10]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,[[],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[13,[[5,[[4,[3,10]]]]]],[[],34],[[],36],[[],13],[[],6],[[],12],[[],37],[[],38],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],0,0,[[],[[20,[19]]]],[[],[[20,[22]]]],[[],[[20,[17]]]],[[],[[20,[23]]]],[[],[[20,[34]]]],[[],[[20,[35]]]],[[],[[20,[36]]]],[[],[[20,[13]]]],[[],[[20,[6]]]],[[],[[20,[12]]]],[[],[[20,[37]]]],[[],[[20,[38]]]],0,0,0,0,[2,[[5,[[4,[3,10]]]]]],[[19,19],14],[[22,22],14],[[17,17],14],[[23,23],14],[[34,34],14],[[35,35],14],[[36,36],14],[[13,13],14],[[6,6],14],[[12,12],14],[[37,37],14],[[38,38],14],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[33,15],[[20,[26]]]],[[33,15],[[20,[26]]]],[[19,15],[[20,[26]]]],[[22,15],[[20,[26]]]],[[17,15],[[20,[26]]]],[[23,15],[[20,[26]]]],[[34,15],[[20,[26]]]],[[35,15],[[20,[26]]]],[[36,15],[[20,[26]]]],[[13,15],[[20,[26]]]],[[6,15],[[20,[26]]]],[[12,15],[[20,[26]]]],[[37,15],[[20,[26]]]],[[38,15],[[20,[26]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[8,36],[[]],[[]],[[]],[[]],[[]],[[]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[17,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[2,18],[[5,[[4,[3,10]]]]]],0,0,[[],[[5,[[4,[3,10]]]]]],0,0,0,0,[[],[[5,[[4,[3,10]]]]]],[30],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[19,[[5,[[4,[3,10]]]]]],0,0,[19,20],[22,20],[17,20],[23,20],[34,20],[35,20],[36,20],[13,20],[6,20],[12,20],[37,20],[38,20],0,[33,[[7,[31]]]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],32],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[2,2,2],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[22,[[5,[[4,[3,10]]]]]],[23,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,[2,[[5,[[4,[3,10]]]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,[[],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[[19,12,6,13],3]],"p":[[3,"Database"],[15,"str"],[8,"Future"],[3,"Box"],[3,"Pin"],[3,"TrafficPattern"],[4,"Option"],[3,"InnerNotification"],[8,"MCDatabase"],[3,"Global"],[4,"ConnectionOptions"],[3,"CreateCaptcha"],[3,"AddNotification"],[15,"bool"],[3,"Formatter"],[6,"Result"],[4,"Login"],[15,"i32"],[3,"Register"],[4,"Result"],[3,"TypeId"],[3,"UpdateEmail"],[3,"NameHash"],[4,"Error"],[8,"DatabaseError"],[3,"Error"],[4,"MigrateError"],[3,"Error"],[3,"InvalidDNSNameError"],[3,"Demand"],[8,"Error"],[3,"String"],[4,"DBError"],[3,"StatsUnixTimestamp"],[3,"Level"],[3,"Notification"],[3,"Captcha"],[3,"Secret"],[3,"Conn"],[3,"Fresh"],[8,"GetConnection"],[8,"Connect"],[8,"CloneSPDatabase"],[8,"Migrate"],[13,"ColumnIndexOutOfBounds"],[13,"ColumnDecode"],[13,"TypeNotFound"]]},\ -"db_sqlx_postgres":{"doc":"","t":[3,4,3,13,3,13,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,0,12,11,11,0,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,12,11,12,11,12,12,0,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,12,11,11,11,11,11,11,13,3,6,3,13,13,8,13,13,13,13,16,8,3,4,13,8,6,2,13,13,13,13,4,8,13,3,4,8,8,13,3,3,13,16,13,13,13,3,13,3,13,3,13,3,13,13,3,13,13,13,10,10,11,23,12,11,11,12,10,10,12,12,12,10,10,10,10,10,10,10,12,12,0,12,12,12,12,10,0,10,10,10,11,11,11,11,11,11,11,12,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,11,11,12,12,10,12,12,10,12,12,0,12,10,0,11,12,10,10,10,10,12,12,12,11,0,12,11,11,11,11,10,10,10,10,10,10,12,12,12,10,12,11,12,12,12,12,12,13,3,6,3,13,13,8,16,8,3,4,13,8,6,13,13,8,3,4,8,8,3,3,13,16,3,3,13,3,3,13,3,13,13,10,10,23,12,12,10,10,12,12,12,10,10,10,10,10,10,10,12,12,12,12,12,12,10,0,10,10,10,12,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,10,12,12,10,12,12,0,12,10,0,12,10,10,10,10,12,12,12,0,12,10,10,10,10,10,10,12,12,12,10,12,13,6,13,13,4,13,6,13,13,13,13,13,16,8,8,8,8,16,10,10,10,13,3,6,3,13,13,8,16,8,3,4,13,8,6,13,13,8,3,4,8,8,3,3,13,16,3,3,13,3,3,13,3,13,13,10,10,12,12,10,10,12,12,12,10,10,10,10,10,10,10,12,12,12,12,12,12,10,10,10,10,12,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,10,12,12,10,12,12,12,10,12,10,10,10,10,12,12,12,12,10,10,10,10,10,10,12,12,12,10,12,5,13,6,13,13,4,13,6,13,13,13,13,13,16,8,8,8,8,16,10,10,10,13,3,6,3,13,13,8,16,8,3,4,13,8,6,13,13,8,3,4,8,8,3,3,13,16,3,3,13,3,3,13,3,13,13,10,10,12,12,10,10,12,12,12,10,10,10,10,10,10,10,12,12,0,12,12,12,12,10,10,10,10,12,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,10,12,12,10,12,12,12,10,12,10,10,10,10,12,12,12,12,10,10,10,10,10,10,12,12,12,10,12,13,3,6,3,13,13,8,16,8,3,4,13,8,6,13,13,8,3,4,8,8,3,3,13,16,3,3,13,3,3,13,3,13,13,10,10,23,12,12,10,10,12,12,12,10,10,10,10,10,10,10,12,12,12,12,12,12,10,10,10,10,12,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,10,12,12,10,12,12,12,10,12,10,10,10,10,12,12,12,12,10,10,10,10,10,10,12,12,12,10,12,5,5,5,13,3,6,3,13,13,8,16,8,3,4,13,8,6,13,13,8,3,4,8,8,3,3,13,16,3,3,13,3,3,13,3,13,13,10,10,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,12,10,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,10,10,10,11,11,11,11,11,11,11,10,10,10,10,12,12,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,10,11,11,11,11,11,11,11,11,11,11,11,11,10,10,10,11,11,11,11,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,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,10,12,12,10,12,12,0,12,10,11,12,10,10,10,10,12,12,11,11,11,11,11,11,11,11,11,11,11,11,12,11,0,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,10,10,10,10,10,10,12,12,12,10,12,11,11,11,11,11,11,11,11,11,11,11,11,11,16,8,8,8,8,16,10,10,10,5],"n":["Conn","ConnectionOptions","Database","Existing","Fresh","Fresh","InnerNotification","add_captcha_levels","add_traffic_pattern","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","captcha_exists","clone","clone","clone_db","clone_into","clone_into","connect","create_captcha","create_notification","default","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","dev","disable_logging","email_exists","eq","errors","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","from","from","from","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","heading","id","into","into","into","into","into","mark_notification_read","message","migrate","name","ping","pool","pool_options","prelude","received","record_confirm","record_fetch","record_solve","register","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","update_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","url","username_exists","vzip","vzip","vzip","vzip","vzip","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","ColumnDecode","ColumnIndexOutOfBounds","ColumnNotFound","Configuration","Conn","Connect","CreateCaptcha","DBError","DBError","DBOps","DBResult","Database","Database","Decode","Email","EmailTaken","Error","GetConnection","Io","Level","Login","MCDatabase","Migrate","Migrate","NameHash","Notification","NotificationNotFound","Pool","PoolClosed","PoolTimedOut","Protocol","Register","RowNotFound","Secret","SecretTaken","StatsUnixTimestamp","Tls","TrafficPattern","TrafficPatternNotFound","TypeNotFound","UpdateEmail","Username","UsernameTaken","WorkerCrashed","add_captcha_levels","add_traffic_pattern","as_database_error","async_trait","avg_traffic","borrow","borrow_mut","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","dev","difficulty_factor","duration","duration","email","email_exists","errors","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","fmt","from","from","from","from","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","into","into_database_error","key","key","mark_notification_read","message","message","migrate","name","new_email","ops","peak_sustainable_traffic","ping","prelude","provide","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","source","tests","to","to_string","try_from","try_into","type_id","update_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","vzip","index","index","len","source","type_name","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","async_trait","avg_traffic","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","difficulty_factor","duration","duration","email","email_exists","errors","fetch_config_fetched","fetch_confirm","fetch_solve","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","key","key","mark_notification_read","message","message","migrate","name","new_email","ops","peak_sustainable_traffic","ping","prelude","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","tests","to","update_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","AccountNotFound","BoxDynError","CaptchaKeyTaken","CaptchaNotFound","DBError","DBError","DBResult","EmailTaken","NotificationNotFound","SecretTaken","TrafficPatternNotFound","UsernameTaken","Conn","Connect","DBOps","GetConnection","Migrate","Pool","connect","get_conn","migrate","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","avg_traffic","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","difficulty_factor","duration","duration","email","email_exists","fetch_config_fetched","fetch_confirm","fetch_solve","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","key","key","mark_notification_read","message","message","migrate","name","new_email","peak_sustainable_traffic","ping","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","to","update_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","database_works","AccountNotFound","BoxDynError","CaptchaKeyTaken","CaptchaNotFound","DBError","DBError","DBResult","EmailTaken","NotificationNotFound","SecretTaken","TrafficPatternNotFound","UsernameTaken","Conn","Connect","DBOps","GetConnection","Migrate","Pool","connect","get_conn","migrate","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","avg_traffic","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","dev","difficulty_factor","duration","duration","email","email_exists","fetch_config_fetched","fetch_confirm","fetch_solve","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","key","key","mark_notification_read","message","message","migrate","name","new_email","peak_sustainable_traffic","ping","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","to","update_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","async_trait","avg_traffic","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","difficulty_factor","duration","duration","email","email_exists","fetch_config_fetched","fetch_confirm","fetch_solve","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","key","key","mark_notification_read","message","message","migrate","name","new_email","peak_sustainable_traffic","ping","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","to","update_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","database_works","map_register_err","map_row_not_found_err","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","avg_traffic","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","broke_my_site_traffic","captcha_exists","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_db","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","config_fetches","config_id","confirms","connect","create_captcha","create_notification","default","default","default","default","default","default","default","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","difficulty_factor","duration","duration","email","email_exists","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","into","into","into","into","into","into","into","into","into","into","into","into","into","key","key","mark_notification_read","message","message","migrate","name","new_email","ops","peak_sustainable_traffic","ping","provide","received","record_confirm","record_fetch","record_solve","register","secret","secret","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","solves","source","tests","to","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","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_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","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_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","Conn","Connect","DBOps","GetConnection","Migrate","Pool","connect","get_conn","migrate","database_works"],"q":["db_sqlx_postgres","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_postgres::dev","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_postgres::dev::Error","","","","","db_sqlx_postgres::dev::dev","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_postgres::dev::dev::errors","","","","","","","","","","","","db_sqlx_postgres::dev::dev::ops","","","","","","","","","db_sqlx_postgres::dev::dev::prelude","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_postgres::dev::dev::tests","db_sqlx_postgres::dev::errors","","","","","","","","","","","","db_sqlx_postgres::dev::ops","","","","","","","","","db_sqlx_postgres::dev::prelude","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_postgres::dev::prelude::dev","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_postgres::dev::tests","db_sqlx_postgres::errors","","db_sqlx_postgres::prelude","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_postgres::prelude::ops","","","","","","","","","db_sqlx_postgres::prelude::tests"],"d":["Use an existing database pool","Connect to database","","existing connection","","fresh connection","Represents notification","Add levels to captcha","Add traffic configuration","","","","","","","","","","","check if captcha exists","","","","","","","create new captcha","create new notification","","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","","","check if email exists","","Error-handling utilities","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","heading of the notification","db assigned ID of the notification","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","mark a notification read","message of the notification","","receiver name of the notification","ping DB","","","","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","","","","","","","","","","","","","","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","","check if username exists","","","","","","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","Error occurred while decoding a value from a specific …","Column index was out of bounds.","No column found for the given name.","Error occurred while parsing a connection string.","database connection type","Create database connection","data required to create new captcha","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","","Error returned from the database.","Error occurred while decoding a value.","email as login","Email is taken","Represents all the ways a method can fail within SQLx.","Get database connection","Error communicating with the database backend.","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","","type encapsulating username and hashed password of a user","Represents notification","Notification not found","database specific pool-type","Pool::close was called while we were waiting in …","A Pool::acquire timed out due to connections not becoming …","Unexpected or invalid data encountered while communicating …","Data required to register a new user","No rows returned by a query that expected to return at …","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","Error occurred while attempting to establish a TLS …","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","Type in query doesn’t exist. Likely due to typo or …","data required to update them email of a user","username as login","Username is taken","A background worker has crashed.","Add levels to captcha","Add traffic configuration","","","average traffic of user’s website","","","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","useful imports for supporting a new database","","cool down duration","cool down duration","Optionally, email of new use","check if email exists","represents all the ways a trait can fail using this crate","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","","","Returns the argument unchanged.","","","","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","db assigned ID of the notification","Calls U::from(self).","","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","meta operations like migration and connecting to a database","the peak traffic that the user’s website can handle","ping DB","useful imports for users working with a supported database","","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","","Test utilities","who is the notification addressed to?","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","","","","","","","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","","average traffic of user’s website","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","","cool down duration","cool down duration","Optionally, email of new use","check if email exists","represents all the ways a trait can fail using this crate","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","db assigned ID of the notification","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","meta operations like migration and connecting to a database","the peak traffic that the user’s website can handle","ping DB","useful imports for users working with a supported database","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","Test utilities","who is the notification addressed to?","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","Account not found","Convenience type alias for grouping driver-specific errors","Captcha key is taken","Captcha not found","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Generic result data structure","Email is taken","Notification not found","Secret is taken","Traffic pattern not found","Username is taken","database connection type","Create database connection","Database operations trait(migrations, pool creation and …","Get database connection","database migrations","database specific pool-type","database specific error-type create connection pool","database specific error-type get connection from …","database specific error-type run migrations","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","average traffic of user’s website","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","","cool down duration","cool down duration","Optionally, email of new use","check if email exists","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","db assigned ID of the notification","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","the peak traffic that the user’s website can handle","ping DB","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","who is the notification addressed to?","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","test all database functions","Account not found","Convenience type alias for grouping driver-specific errors","Captcha key is taken","Captcha not found","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Generic result data structure","Email is taken","Notification not found","Secret is taken","Traffic pattern not found","Username is taken","database connection type","Create database connection","Database operations trait(migrations, pool creation and …","Get database connection","database migrations","database specific pool-type","database specific error-type create connection pool","database specific error-type get connection from …","database specific error-type run migrations","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","average traffic of user’s website","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","useful imports for supporting a new database","","cool down duration","cool down duration","Optionally, email of new use","check if email exists","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","db assigned ID of the notification","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","the peak traffic that the user’s website can handle","ping DB","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","who is the notification addressed to?","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","","average traffic of user’s website","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","","cool down duration","cool down duration","Optionally, email of new use","check if email exists","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","db assigned ID of the notification","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","the peak traffic that the user’s website can handle","ping DB","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","who is the notification addressed to?","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","test all database functions","map postgres errors to DBError types","map custom row not found error to DB error","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","average traffic of user’s website","","","","","","","","","","","","","","","","","","","","","","","","","","","traffic that bought the user’s website down; optional","check if captcha exists","","","","","","","","","","","","","clone DB","","","","","","","","","","","","","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","","","","","","","","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","","","","","","","","","","","","","","cool down duration","cool down duration","Optionally, email of new use","check if email exists","","","","","","","","","","","","","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","","","","","","","","","","","","","","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.","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","db assigned ID of the notification","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).","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","meta operations like migration and connecting to a database","the peak traffic that the user’s website can handle","ping DB","","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","","","","","","","","","","","","","times at which the PoW was solved","","Test utilities","who is the notification addressed to?","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","","","","","","","","","","","","","","database connection type","Create database connection","Database operations trait(migrations, pool creation and …","Get database connection","database migrations","database specific pool-type","database specific error-type create connection pool","database specific error-type get connection from …","database specific error-type run migrations","test all database functions"],"i":[0,0,0,11,0,11,0,1,1,39,11,40,1,8,39,11,40,1,8,1,1,8,1,1,8,11,1,1,8,1,1,1,1,0,40,1,8,0,1,1,1,8,39,11,40,1,8,1,1,1,1,1,1,1,1,1,1,8,8,39,11,40,1,8,1,8,1,8,1,1,40,0,8,1,1,1,1,1,8,39,11,40,1,8,39,11,40,1,8,39,11,40,1,8,1,1,1,1,1,1,40,1,39,11,40,1,8,33,0,0,0,33,33,0,24,24,24,24,41,0,0,0,33,0,0,0,24,24,17,33,0,0,24,0,0,0,0,24,0,0,33,42,24,24,24,0,24,0,33,0,24,0,33,24,0,17,33,24,9,9,24,0,6,24,24,6,9,43,34,37,34,42,9,9,9,9,9,9,12,37,0,35,12,37,19,9,0,9,9,9,24,24,24,24,24,24,24,13,9,9,9,9,9,41,9,9,9,9,9,19,23,36,13,36,24,24,12,37,9,36,13,44,36,22,0,6,9,0,24,36,9,9,9,9,19,38,34,24,0,13,24,24,24,24,9,9,9,9,9,9,19,22,23,9,35,24,45,46,45,46,47,33,0,0,0,33,33,0,41,0,0,0,33,0,0,17,33,0,0,0,0,0,0,0,33,42,0,0,33,0,0,33,0,17,33,9,9,0,6,6,9,43,34,37,34,42,9,9,9,9,9,9,12,37,35,12,37,19,9,0,9,9,9,13,9,9,9,9,9,41,9,9,9,9,9,19,23,36,13,36,12,37,9,36,13,44,36,22,0,6,9,0,36,9,9,9,9,19,38,34,0,13,9,9,9,9,9,9,19,22,23,9,35,33,0,33,33,0,33,0,33,33,33,33,33,41,0,0,0,0,42,42,41,44,33,0,0,0,33,33,0,41,0,0,0,33,0,0,17,33,0,0,0,0,0,0,0,33,42,0,0,33,0,0,33,0,17,33,9,9,6,6,9,43,34,37,34,42,9,9,9,9,9,9,12,37,35,12,37,19,9,9,9,9,13,9,9,9,9,9,41,9,9,9,9,9,19,23,36,13,36,12,37,9,36,13,44,36,22,6,9,36,9,9,9,9,19,38,34,13,9,9,9,9,9,9,19,22,23,9,35,0,33,0,33,33,0,33,0,33,33,33,33,33,41,0,0,0,0,42,42,41,44,33,0,0,0,33,33,0,41,0,0,0,33,0,0,17,33,0,0,0,0,0,0,0,33,42,0,0,33,0,0,33,0,17,33,9,9,6,6,9,43,34,37,34,42,9,9,9,9,9,9,12,37,0,35,12,37,19,9,9,9,9,13,9,9,9,9,9,41,9,9,9,9,9,19,23,36,13,36,12,37,9,36,13,44,36,22,6,9,36,9,9,9,9,19,38,34,13,9,9,9,9,9,9,19,22,23,9,35,33,0,0,0,33,33,0,41,0,0,0,33,0,0,17,33,0,0,0,0,0,0,0,33,42,0,0,33,0,0,33,0,17,33,9,9,0,6,6,9,43,34,37,34,42,9,9,9,9,9,9,12,37,35,12,37,19,9,9,9,9,13,9,9,9,9,9,41,9,9,9,9,9,19,23,36,13,36,12,37,9,36,13,44,36,22,6,9,36,9,9,9,9,19,38,34,13,9,9,9,9,9,9,19,22,23,9,35,0,0,0,33,0,0,0,33,33,0,41,0,0,0,33,0,0,17,33,0,0,0,0,0,0,0,33,42,0,0,33,0,0,33,0,17,33,9,9,6,33,19,22,17,23,34,35,36,13,6,12,37,38,33,19,22,17,23,34,35,36,13,6,12,37,38,6,9,19,22,17,23,34,35,36,13,6,12,37,38,43,19,22,17,23,34,35,36,13,6,12,37,38,34,37,34,42,9,9,34,36,13,6,12,37,38,9,9,9,9,12,37,19,22,17,23,34,35,36,13,6,12,37,38,35,12,37,19,9,19,22,17,23,34,35,36,13,6,12,37,38,9,9,9,33,33,19,22,17,23,34,35,36,13,6,12,37,38,33,19,22,17,23,34,35,36,36,13,6,12,37,38,13,9,9,9,9,9,41,9,9,9,9,9,19,23,36,13,36,33,19,22,17,23,34,35,36,13,6,12,37,38,12,37,9,36,13,44,36,22,0,6,9,33,36,9,9,9,9,19,38,19,22,17,23,34,35,36,13,6,12,37,38,34,33,0,13,19,22,17,23,34,35,36,13,6,12,37,38,33,33,19,22,17,23,34,35,36,13,6,12,37,38,33,19,22,17,23,34,35,36,13,6,12,37,38,33,19,22,17,23,34,35,36,13,6,12,37,38,9,9,9,9,9,9,19,22,23,9,35,33,19,22,17,23,34,35,36,13,6,12,37,38,41,0,0,0,0,42,42,41,44,0],"f":[0,0,0,0,0,0,0,[[1,2,2],[[5,[[4,[3]]]]]],[[1,2,2,6],[[5,[[4,[3]]]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[1,[7,[2]],2],[[5,[[4,[3]]]]]],[1,1],[8,8],[[],[[4,[9,10]]]],[[]],[[]],[11,[[5,[[4,[3]]]]]],[[1,2,12],[[5,[[4,[3]]]]]],[[1,13],[[5,[[4,[3]]]]]],[[],8],[[1,2,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],0,0,[[1,2],[[5,[[4,[3]]]]]],[[8,8],14],0,[[1,2,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],[[8,15],16],[[]],[[]],[[]],[[]],[[]],[[1,2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,[7,[2]],2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,17],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],0,0,[[]],[[]],[[]],[[]],[[]],[[1,2,18],[[5,[[4,[3]]]]]],0,[1,[[5,[[4,[3]]]]]],0,[1,[[5,[[4,[3]]]]]],0,0,0,0,[[1,2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,19],[[5,[[4,[3]]]]]],[[]],[[]],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],21],[[],21],[[],21],[[],21],[[],21],[[1,2,2,2],[[5,[[4,[3]]]]]],[[1,2,12],[[5,[[4,[3]]]]]],[[1,22],[[5,[[4,[3]]]]]],[[1,23],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],0,[[1,2],[[5,[[4,[3]]]]]],[[]],[[]],[[]],[[]],[[]],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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2,6],[[5,[[4,[3,10]]]]]],[24,[[7,[25]]]],0,0,[[]],[[]],0,[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[4,[9,10]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[13,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,[2,[[5,[[4,[3,10]]]]]],0,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[24,15],[[20,[26]]]],[[24,15],[[20,[26]]]],[[],24],[[]],[27,24],[28,24],[29,24],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[17,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,0,0,[[]],[24,[[7,[[4,[25,10]]]]]],0,0,[[2,18],[[5,[[4,[3,10]]]]]],0,0,[[],[[5,[[4,[3,10]]]]]],0,0,0,0,[[],[[5,[[4,[3,10]]]]]],0,[30],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[19,[[5,[[4,[3,10]]]]]],0,0,0,[24,[[7,[31]]]],0,0,[[],32],[[],20],[[],20],[[],21],[[2,2,2],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[22,[[5,[[4,[3,10]]]]]],[23,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,[2,[[5,[[4,[3,10]]]]]],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,0,0,0,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2,6],[[5,[[4,[3,10]]]]]],0,0,0,[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[4,[9,10]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[13,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,[2,[[5,[[4,[3,10]]]]]],0,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[17,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,[[2,18],[[5,[[4,[3,10]]]]]],0,0,[[],[[5,[[4,[3,10]]]]]],0,0,0,0,[[],[[5,[[4,[3,10]]]]]],0,0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[19,[[5,[[4,[3,10]]]]]],0,0,0,0,0,[[2,2,2],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[22,[[5,[[4,[3,10]]]]]],[23,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,[2,[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],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,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2,6],[[5,[[4,[3,10]]]]]],0,0,[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[4,[9,10]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[13,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[17,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,[[2,18],[[5,[[4,[3,10]]]]]],0,0,[[],[[5,[[4,[3,10]]]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[19,[[5,[[4,[3,10]]]]]],0,0,0,0,[[2,2,2],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[22,[[5,[[4,[3,10]]]]]],[23,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,[2,[[5,[[4,[3,10]]]]]],0,[[19,12,6,13],3],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],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,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2,6],[[5,[[4,[3,10]]]]]],0,0,[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[4,[9,10]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[13,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[17,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,[[2,18],[[5,[[4,[3,10]]]]]],0,0,[[],[[5,[[4,[3,10]]]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[19,[[5,[[4,[3,10]]]]]],0,0,0,0,[[2,2,2],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[22,[[5,[[4,[3,10]]]]]],[23,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,[2,[[5,[[4,[3,10]]]]]],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,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2,6],[[5,[[4,[3,10]]]]]],0,0,0,[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[4,[9,10]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[13,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[17,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,[[2,18],[[5,[[4,[3,10]]]]]],0,0,[[],[[5,[[4,[3,10]]]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[19,[[5,[[4,[3,10]]]]]],0,0,0,0,[[2,2,2],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[22,[[5,[[4,[3,10]]]]]],[23,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,[2,[[5,[[4,[3,10]]]]]],0,[[19,12,6,13],3],[24,33],[[24,33],33],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,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2,6],[[5,[[4,[3,10]]]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[19,19],[22,22],[17,17],[23,23],[34,34],[35,35],[36,36],[13,13],[6,6],[12,12],[37,37],[38,38],[[],[[4,[9,10]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,[[],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[13,[[5,[[4,[3,10]]]]]],[[],34],[[],36],[[],13],[[],6],[[],12],[[],37],[[],38],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],0,0,[[],[[20,[19]]]],[[],[[20,[22]]]],[[],[[20,[17]]]],[[],[[20,[23]]]],[[],[[20,[34]]]],[[],[[20,[35]]]],[[],[[20,[36]]]],[[],[[20,[13]]]],[[],[[20,[6]]]],[[],[[20,[12]]]],[[],[[20,[37]]]],[[],[[20,[38]]]],0,0,0,0,[2,[[5,[[4,[3,10]]]]]],[[19,19],14],[[22,22],14],[[17,17],14],[[23,23],14],[[34,34],14],[[35,35],14],[[36,36],14],[[13,13],14],[[6,6],14],[[12,12],14],[[37,37],14],[[38,38],14],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[33,15],[[20,[26]]]],[[33,15],[[20,[26]]]],[[19,15],[[20,[26]]]],[[22,15],[[20,[26]]]],[[17,15],[[20,[26]]]],[[23,15],[[20,[26]]]],[[34,15],[[20,[26]]]],[[35,15],[[20,[26]]]],[[36,15],[[20,[26]]]],[[13,15],[[20,[26]]]],[[6,15],[[20,[26]]]],[[12,15],[[20,[26]]]],[[37,15],[[20,[26]]]],[[38,15],[[20,[26]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[8,36],[[]],[[]],[[]],[[]],[[]],[[]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[17,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[2,18],[[5,[[4,[3,10]]]]]],0,0,[[],[[5,[[4,[3,10]]]]]],0,0,0,0,[[],[[5,[[4,[3,10]]]]]],[30],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[19,[[5,[[4,[3,10]]]]]],0,0,[19,20],[22,20],[17,20],[23,20],[34,20],[35,20],[36,20],[13,20],[6,20],[12,20],[37,20],[38,20],0,[33,[[7,[31]]]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],32],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[2,2,2],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[22,[[5,[[4,[3,10]]]]]],[23,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,[2,[[5,[[4,[3,10]]]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,[[],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[[19,12,6,13],3]],"p":[[3,"Database"],[15,"str"],[8,"Future"],[3,"Box"],[3,"Pin"],[3,"TrafficPattern"],[4,"Option"],[3,"InnerNotification"],[8,"MCDatabase"],[3,"Global"],[4,"ConnectionOptions"],[3,"CreateCaptcha"],[3,"AddNotification"],[15,"bool"],[3,"Formatter"],[6,"Result"],[4,"Login"],[15,"i32"],[3,"Register"],[4,"Result"],[3,"TypeId"],[3,"UpdateEmail"],[3,"NameHash"],[4,"Error"],[8,"DatabaseError"],[3,"Error"],[4,"MigrateError"],[3,"Error"],[3,"InvalidDNSNameError"],[3,"Demand"],[8,"Error"],[3,"String"],[4,"DBError"],[3,"StatsUnixTimestamp"],[3,"Level"],[3,"Notification"],[3,"Captcha"],[3,"Secret"],[3,"Conn"],[3,"Fresh"],[8,"GetConnection"],[8,"Connect"],[8,"CloneSPDatabase"],[8,"Migrate"],[13,"ColumnIndexOutOfBounds"],[13,"ColumnDecode"],[13,"TypeNotFound"]]},\ -"mcaptcha":{"doc":"","t":[6,6,3,17,17,3,3,17,3,3,3,3,17,3,3,3,3,3,3,3,17,17,17,17,3,3,3,3,17,3,3,17,17,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,0,12,0,0,12,12,0,11,11,11,11,11,11,11,11,0,0,0,11,11,11,11,11,11,11,11,5,5,11,11,11,11,11,11,11,11,12,5,0,12,0,12,0,12,12,12,0,0,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,0,0,2,3,0,0,11,11,11,11,5,11,0,0,0,0,12,0,5,11,11,11,11,3,3,2,11,11,11,11,11,11,11,11,0,11,11,0,12,11,11,11,11,11,11,2,0,0,0,11,11,5,11,11,11,11,11,11,11,11,0,12,11,11,11,11,3,11,11,11,0,5,11,11,11,11,5,3,11,11,11,11,11,11,11,11,11,12,3,11,11,11,11,11,11,11,11,11,11,5,3,11,11,11,11,11,11,11,11,11,11,11,11,11,3,3,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,12,12,12,11,11,5,11,11,11,11,11,11,11,11,11,11,5,3,11,11,11,3,11,11,12,12,11,12,11,11,11,11,11,12,12,12,12,12,11,11,11,11,11,11,11,3,11,11,11,11,5,11,11,11,11,11,11,3,11,11,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,11,5,3,11,11,11,11,11,11,11,11,11,11,12,3,11,11,11,5,11,11,11,11,11,11,11,11,11,11,11,11,3,3,11,11,11,0,0,5,3,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,12,12,11,12,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,5,12,12,12,5,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,0,0,0,0,5,0,5,0,0,3,3,11,11,11,11,11,11,11,11,3,12,11,11,12,11,11,11,11,11,11,11,12,12,12,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,5,3,11,11,11,11,11,11,3,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,3,3,12,11,11,11,11,11,11,11,11,12,5,11,11,11,11,3,11,12,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,11,11,0,11,11,5,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,3,11,11,12,11,11,11,11,11,11,12,11,3,3,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,3,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,3,11,11,12,12,12,11,12,11,11,12,11,11,11,12,12,11,3,11,11,11,11,11,11,11,11,11,11,3,11,11,12,11,0,11,11,11,11,11,11,11,11,11,11,3,11,11,11,12,11,11,11,11,11,11,3,11,11,11,11,11,11,12,11,12,11,11,11,11,11,11,12,12,11,11,0,11,11,11,11,11,11,11,11,11,11,3,3,11,11,11,5,3,3,4,3,3,4,13,13,13,13,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,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,12,12,3,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,0,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,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,3,11,11,12,11,12,11,11,11,11,11,11,0,0,0,0,5,3,3,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,12,11,11,12,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,11,11,11,11,11,11,3,12,12,11,11,12,12,12,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,12,11,11,3,11,11,11,11,11,11,11,11,11,11,3,12,11,11,11,12,11,12,11,11,11,11,11,2,0,0,5,0,0,3,11,11,11,11,11,11,11,11,11,11,3,5,11,11,12,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,12,11,11,14,12,11,11,11,11,12,11,12,11,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,3,11,11,3,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,12,11,11,11,11,12,11,11,11,11,11,11,11,11,11,12,3,11,11,11,17,3,12,12,11,11,12,11,11,11,12,11,12,12,11,11,11,11,3,13,6,13,4,11,11,11,11,11,12,12,12,14,14,11,11,11,11,11,11,11,12,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,17,3,17,17,17,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,6,0,0,5,5,17,17,3,11,11,11,11,11,12,11,11,11,11,11,11,11,11,3,17,17,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,5,3,11,11,11,11,11,11,11,11,11,0,5,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,12,11,11,11,12,11,11,12,11,11,11,11,0,3,17,11,11,11,11,11,11,11,11,11,11,11,11,11,5,12,11,13,13,13,13,13,13,3,13,3,13,13,13,13,4,6,13,13,13,13,4,13,6,3,13,13,13,13,13,13,13,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,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,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,0,0,5,0,0,5,0,0,0,0,5,0,3,3,17,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,3,17,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,12,12,11,11,11,11,11,17,3,11,11,11,11,12,11,11,11,11,11,11,11,11,11,12,11,17,3,3,17,3,12,12,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,11,12,11,11,11,11,0,5,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,12,11,11,11,11,11,12,11,3,17,11,11,11,11,11,11,11,11,11,11,11,0,3,11,11,11,0,5,0,0,12,11,11,11,11,11,11,11,11,11,3,3,17,11,11,11,11,11,11,11,11,11,11,12,12,11,11,11,12,12,12,11,3,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,12,11,11,12,12,12,11,11,11,11,3,17,11,11,11,11,11,11,11,11,11,11,3,12,11,11,11,11,11,11,11,11,11,11,11,11,11,0,12,5,3,11,11,11,11,11,11,11,11,11,11,11,11,11,3,12,11,11,11,11,3,11,11,12,11,11,12,11,11,11,11,11,12,11,0,0,0,0,0,5,0,3,3,3,3,17,12,12,3,12,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,3,12,12,12,12,12,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,11,11,11,11,3,11,11,11,11,11,11,11,3,3,17,3,11,11,11,11,11,11,11,11,11,11,11,11,12,3,12,11,11,11,11,11,11,11,11,12,12,12,12,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,3,17,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,12,11,11,11,11,11,11,11,11,11,3,12,12,11,11,12,12,12,11,11,11,11,11,11,11,12,11,11,11,11,12,11,3,17,11,11,11,11,11,11,12,11,11,11,11,12,12,12,11,11,11,11,12,11,11,11,11,11,11,11,3,11,11,17,3,12,12,11,11,12,12,11,11,11,12,11,11,12,12,12,12,12,11,11,11,11,3,3,12,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,11,11,11,12,11,11,11,5,3,4,3,3,13,13,3,3,3,3,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,5,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,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,12,11,12,11,11,11,11,11,11,11,11,11,12,11,12,12,12,12,12,12,12,12,12,12,12,12,11,12,5,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,12,12,12,12,12,11,11,11,11,11,11,11,11,2,0,5,0,3,11,11,12,11,11,11,11,11,11,11,11,3,3,0,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,11,5,5,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,3,3,3,3,3,6,3,3,3,3,12,12,12,12,12,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,11,11,11,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,8,3,3,8,11,11,11,11,11,11,11,11,11,11,11,11,10,12,12,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,10,11,11,10,11,11,10,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,3,17,17,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,5,3,11,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,11,12,11],"n":["AppData","ArcData","BAR_CHART","CACHE_AGE","COMPILED_DATE","CREDIT_CARD","CSS","DOCS","DOCS_ICON","Data","FILES","GITHUB","GIT_COMMIT_HASH","HELP_CIRCLE","HOME","JS","KEY","MCAPTCHA_TRANS_ICON","MESSAGE","MOBILE_CSS","PAGES","PKG_DESCRIPTION","PKG_HOMEPAGE","PKG_NAME","SETTINGS","SETTINGS_ICON","SOURCE_FILES_OF_INSTANCE","Settings","V1_API_ROUTES","VERIFICATIN_WIDGET_CSS","VERIFICATIN_WIDGET_JS","VERSION","WIDGET_ROUTES","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","allow_demo","allow_registration","api","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","captcha","captcha","commercial","creds","data","database","date","db","db","debug","demo","deref","deref","deref","deref","deref","deref","deref","deref","docs","email","errors","from","from","from","from","from","from","from","from","get_identity_service","get_json_err","into","into","into","into","into","into","into","into","mailer","main","pages","redis","routes","server","settings","settings","smtp","source_code","static_assets","stats","stats","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","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","widget","v1","ROUTES","RedirectQuery","account","auth","borrow","borrow_mut","deserialize","from","get_middleware","into","mcaptcha","meta","notifications","pow","redirect_to","routes","services","try_from","try_into","type_id","vzip","AccountCheckPayload","AccountCheckResp","auth","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","delete","deserialize","deserialize","email","exists","fmt","fmt","from","from","into","into","mcaptcha","password","routes","secret","serialize","serialize","services","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","username","val","vzip","vzip","borrow","borrow_mut","delete_account","from","into","register","runners","services","try_from","try_into","type_id","vzip","delete_user","Email","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","deserialize","email","email_exists","fmt","from","from","from","into","into","into","register","register","serialize","services","set_email","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","ChangePasswordReqest","UpdatePassword","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","confirm_new_password","confirm_new_password","deserialize","fmt","from","from","from","from","into","into","into","new_password","new_password","password","register","serialize","services","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","update_password_runner","update_user_password","vzip","vzip","vzip","Account","borrow","borrow_mut","delete","email_exists","from","get_secret","into","new","try_from","try_into","type_id","update_email","update_password","update_secret","update_username","username_exists","vzip","borrow","borrow","borrow_mut","borrow_mut","from","from","get_secret","into","into","register","register","services","try_from","try_from","try_into","try_into","type_id","type_id","update_user_secret","vzip","vzip","Username","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","deserialize","fmt","from","from","from","into","into","into","register","register","runners","serialize","services","set_username","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","username","username_exists","vzip","vzip","vzip","username_exists","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","from","from","from","into","into","into","login","register","register","register","register","routes","runners","services","signout","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","Auth","borrow","borrow_mut","from","get_login_route","into","login","logout","new","register","try_from","try_into","type_id","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","login_runner","password","password","password","register_runner","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","create","delete","easy","get","get_random","routes","services","stats","update","CreateCaptcha","MCaptchaDetails","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","create","description","deserialize","deserialize","duration","fmt","from","from","from","into","into","into","key","levels","name","register","runner","serialize","serialize","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","create","DeleteCaptcha","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","delete","deserialize","fmt","from","from","into","into","key","password","register","serialize","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","TrafficPatternRequest","UpdateTrafficPattern","avg_traffic","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","broke_my_site_traffic","calculate","clone","clone","clone_into","clone_into","create","default","description","deserialize","deserialize","fmt","fmt","from","from","from","from","into","into","into","into","key","pattern","peak_sustainable_traffic","register","register","routes","serialize","serialize","services","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","update","vzip","vzip","vzip","vzip","Easy","borrow","borrow_mut","create","from","into","new","try_from","try_into","type_id","update","vzip","I32Levels","Levels","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deserialize","deserialize","difficulty_factor","fmt","fmt","from","from","from","get_captcha","into","into","into","levels","register","serialize","serialize","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","visitor_threshold","vzip","vzip","vzip","Captcha","borrow","borrow_mut","create","delete","easy","from","get","into","new","stats","try_from","try_into","type_id","update","update_key","vzip","StatsPayload","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","deserialize","fmt","from","from","get","into","into","key","register","routes","serialize","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Stats","borrow","borrow_mut","from","get","into","new","try_from","try_into","type_id","vzip","UpdateCaptcha","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","description","deserialize","duration","from","from","from","into","into","into","key","levels","register","register","runner","serialize","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","update_captcha","update_key","vzip","vzip","vzip","update_captcha","BuildDetails","BuildDetailsBuilder","BuildDetailsBuilderError","Health","HealthBuilder","HealthBuilderError","UninitializedField","UninitializedField","ValidationError","ValidationError","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","build","build_details","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","create_empty","create_empty","db","db","db","default","default","deserialize","deserialize","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","git_commit_hash","git_commit_hash","git_commit_hash","health","into","into","into","into","into","into","into","into","is_redis","provide","provide","redis","redis","redis","register","register","routes","serialize","serialize","services","to_owned","to_owned","to_owned","to_owned","to_string","to_string","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","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","version","version","version","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","Meta","borrow","borrow_mut","build_details","from","health","into","new","try_from","try_into","type_id","vzip","add","get","mark_read","routes","services","AddNotificationRequest","add_notification","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","default","deserialize","eq","fmt","from","from","heading","into","into","message","register","serialize","to","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","NotificationResp","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","default","deserialize","eq","from","from","from","from_notifications","get_notification","heading","id","into","into","message","name","received","register","serialize","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","MarkReadReq","borrow","borrow","borrow_mut","borrow_mut","deserialize","from","from","id","into","into","mark_read","register","serialize","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Notifications","add","borrow","borrow_mut","from","get","into","mark_read","new","try_from","try_into","type_id","vzip","I32Levels","get_config","routes","services","verify_pow","verify_token","GetConfigPayload","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","deserialize","fmt","from","from","get_config","init_mcaptcha","into","into","key","register","serialize","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","PoW","borrow","borrow_mut","from","get_config","get_config","into","new","rm_scope","scope","try_from","try_into","type_id","validate_captcha_token","validate_captcha_token","verify_pow","verify_pow","vzip","ValidationToken","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","deserialize","fmt","from","from","into","into","register","serialize","to_owned","token","try_from","try_from","try_into","try_into","type_id","type_id","verify_pow","vzip","vzip","CaptchaValidateResp","VerifyCaptchaResultPayload","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deserialize","deserialize","fmt","fmt","from","from","from","into","into","into","key","register","secret","serialize","serialize","to_owned","to_owned","token","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","valid","validate_captcha_token","vzip","vzip","vzip","ROUTES","Routes","account","auth","borrow","borrow_mut","captcha","from","get_login_route","into","meta","new","notifications","pow","try_from","try_into","type_id","vzip","Data","Embedded","Mailer","Redis","SystemGroup","add_site","borrow","borrow","borrow_mut","borrow_mut","captcha","creds","db","enum_system_actor","enum_system_wrapper","from","from","get_creds","get_mailer","get_pow","into","into","mailer","new","new","new_system","remove","rename","settings","stats","try_from","try_from","try_into","try_into","type_id","type_id","validate_verification_tokens","verify_pow","vzip","vzip","DAY","Date","HOUR","MINUTE","WEEK","borrow","borrow_mut","clone","clone_into","date","fmt","format","from","into","new","print_date","time","to_owned","try_from","try_into","type_id","vzip","BoxDB","maria","pg","get_data","get_data","DEMO_PASSWORD","DEMO_USER","DemoUser","abort","borrow","borrow_mut","delete_demo_user","from","handle","into","register_demo_user","run","spawn","try_from","try_into","type_id","vzip","Asset","DOCS","OPEN_API_SPEC","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","dist","from","from","from","from","get","get","handle_embedded_file","index","into","into","into","into","iter","iter","register","register","register","routes","services","spec","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","Docs","assets","borrow","borrow_mut","from","home","into","new","spec","try_from","try_into","type_id","vzip","verification","IndexPage","PAGE","borrow","borrow_mut","clone","clone_into","from","into","new","render_once","render_once_to","to_owned","try_from","try_into","type_id","verification","verification_link","vzip","AccountNotFound","BlacklistError","CaptchaError","CaptchaNotFound","ClosedForRegistration","DBError","DBErrorWrapper","EmailTaken","ErrorToResponse","InternalServerError","InternalServerError","NotAUrl","NotAnEmail","PageError","PageResult","PasswordTooLong","PasswordTooShort","PasswordsDontMatch","ProfainityError","ServiceError","ServiceError","ServiceResult","SmtpErrorWrapper","TokenNotFound","TrafficPatternNotFound","UnableToSendEmail","UsernameCaseMappedError","UsernameNotFound","UsernameTaken","WrongPassword","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","deserialize","eq","eq","eq","eq","error","error_response","error_response","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","into","into","into","into","into","provide","provide","provide","provide","serialize","source","source","source","source","status_code","status_code","to_string","to_string","to_string","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","vzip","vzip","vzip","vzip","vzip","NAME","auth","errors","get_middleware","panel","routes","services","sitemap","login","register","routes","services","sudo","INDEX","IndexPage","PAGE","__private_field","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","default","deref","from","from","from","into","into","into","login","register","render_once","render_once_to","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","INDEX","IndexPage","PAGE","__private_field","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","default","deref","from","from","from","into","into","into","join","register","render_once","render_once_to","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","Auth","borrow","borrow_mut","from","get_login_route","get_sitemap","into","join","login","new","try_from","try_into","type_id","vzip","PAGE","SudoPage","borrow","borrow_mut","clone","clone_into","data","from","into","new","render_once","render_once_to","to_owned","try_from","try_into","type_id","url","vzip","ERROR_ROUTE","ErrorPage","INTERNAL_SERVER_ERROR_BODY","PAGE","UNKNOWN_ERROR_BODY","__private_field","__private_field","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","deref","deref","error","from","from","from","from","into","into","into","into","message","new","register","render_once","render_once_to","routes","services","title","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","Errors","borrow","borrow_mut","from","internal_server_error","into","new","try_from","try_into","type_id","unknown_error","vzip","IndexPage","PAGE","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","from","from","into","into","new","notifications","panel","register","render_once","render_once_to","routes","services","settings","sitekey","sitekeys","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","IndexPage","Notification","PAGE","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","from","from","from","from","heading","id","into","into","into","message","n","name","new","notifications","print_date","received","register","render_once","render_once_to","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","Panel","borrow","borrow_mut","from","get_sitemap","home","into","new","notifications","settings","sitekey","try_from","try_into","type_id","vzip","IndexPage","PAGE","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","delete_account","email","from","from","from","from","into","into","into","into","register","register","register","render_once","render_once_to","routes","secret","services","settings","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","update_secret","username","vzip","vzip","vzip","vzip","Settings","borrow","borrow_mut","delete_account","from","get_sitemap","home","into","new","try_from","try_into","type_id","update_secret","vzip","add","delete","edit","list","routes","services","view","ADVANCE_INDEX","AdvanceIndexPage","EASY_INDEX","EasyIndexPage","PAGE","__private_field","__private_field","advance","avg_traffic","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","broke_my_site_traffic","clone","clone","clone_into","clone_into","default","default","deref","deref","easy","form_description","form_description","form_duration","form_title","form_title","from","from","from","from","from","from","into","into","into","into","into","into","levels","peak_sustainable_traffic","register","register","render_once","render_once","render_once_to","render_once_to","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","vzip","vzip","vzip","vzip","vzip","vzip","borrow","borrow_mut","delete_sitekey","from","into","register","try_from","try_into","type_id","vzip","AdvanceEditPage","EasyEditPage","PAGE","advance","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","duration","easy","form_title","from","from","from","from","into","into","into","into","key","key","levels","name","new","new","pattern","register","register","render_once","render_once","render_once_to","render_once_to","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","vzip","vzip","vzip","vzip","IndexPage","PAGE","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","from","from","into","into","list_sitekeys","new","register","render_once","render_once_to","sitekeys","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Sitekey","add_advance","add_easy","borrow","borrow_mut","delete","edit_advance","edit_easy","from","get_delete","get_edit_advance","get_edit_easy","get_sitemap","get_view","into","list","new","try_from","try_into","type_id","view","vzip","IndexPage","PAGE","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","duration","from","from","into","into","key","levels","name","new","register","render_once","render_once_to","stats","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","view_sitekey","vzip","vzip","ROUTES","Routes","about","auth","borrow","borrow_mut","donate","errors","from","get_login_route","get_sitemap","home","into","new","panel","privacy","security","sitemap","thanks","try_from","try_into","type_id","vzip","INDEX","IndexPage","__private_field","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","default","deref","domain","from","from","from","into","into","into","register","render_once","render_once_to","sitemap","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","urls","vzip","vzip","vzip","services","Captcha","DBType","Database","DefaultDifficultyStrategy","Maria","Postgres","Redis","Server","Settings","Smtp","allow_demo","allow_registration","avg_traffic_difficulty","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","broke_my_site_traffic_difficulty","captcha","check_url","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","commercial","cookie_secret","database","database_type","debug","default_difficulty_strategy","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","domain","duration","enable_stats","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from_url","gc","get_ip","into","into","into","into","into","into","into","into","ip","new","password","peak_sustainable_traffic_difficulty","pool","pool","port","port","proxy_has_tls","queue_length","redis","reply","runners","salt","serialize","server","set_database_url","smtp","source_code","to_owned","to_owned","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_from","try_from","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","url","url","url","url_prefix","username","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","FileMap","filemap","services","static_files","FileMap","borrow","borrow_mut","files","from","get","into","new","try_from","try_into","type_id","vzip","Asset","Favicons","assets","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","favicons","from","from","from","from","get","get","get","get","handle_assets","handle_favicons","into","into","into","into","iter","iter","iter","iter","register","register","static_files","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","BAR_CHART","CREDIT_CARD","DOCS_ICON","GITHUB","HELP_CIRCLE","HOME","Img","KEY","MCAPTCHA_TRANS_ICON","MESSAGE","SETTINGS_ICON","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","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","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","from","from","from","from","from","from","from","from","from","from","into","into","into","into","into","into","into","into","into","into","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","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","CaptchaStats","CloneStats","Dummy","Real","Stats","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","clone_stats","config_fetches","confirms","default","default","default","deserialize","eq","eq","eq","fetch","fetch","fetch","fmt","fmt","fmt","from","from","from","into","into","into","record_confirm","record_confirm","record_confirm","record_fetch","record_fetch","record_fetch","record_solve","record_solve","record_solve","serialize","solves","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","INDEX_PAGE","IndexPage","PAGE","WIDGET_ROUTES","__private_field","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","deref","from","from","from","into","into","into","new","register","render_once","render_once_to","routes","services","show_widget","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","Widget","borrow","borrow_mut","from","into","new","try_from","try_into","type_id","verification_widget","vzip"],"q":["mcaptcha","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api","mcaptcha::api::v1","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::account","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::account::delete","","","","","","","","","","","","mcaptcha::api::v1::account::delete::runners","mcaptcha::api::v1::account::email","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::account::password","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::account::routes","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::account::secret","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::account::username","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::account::username::runners","mcaptcha::api::v1::auth","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::auth::routes","","","","","","","","","","","","","","mcaptcha::api::v1::auth::runners","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::mcaptcha","","","","","","","","","mcaptcha::api::v1::mcaptcha::create","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::mcaptcha::create::runner","mcaptcha::api::v1::mcaptcha::delete","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::mcaptcha::easy","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::mcaptcha::easy::routes","","","","","","","","","","","","mcaptcha::api::v1::mcaptcha::get","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::mcaptcha::routes","","","","","","","","","","","","","","","","","mcaptcha::api::v1::mcaptcha::stats","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::mcaptcha::stats::routes","","","","","","","","","","","mcaptcha::api::v1::mcaptcha::update","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::mcaptcha::update::runner","mcaptcha::api::v1::meta","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::meta::routes","","","","","","","","","","","","mcaptcha::api::v1::notifications","","","","","mcaptcha::api::v1::notifications::add","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::notifications::get","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::notifications::mark_read","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::notifications::routes","","","","","","","","","","","","","mcaptcha::api::v1::pow","","","","","","mcaptcha::api::v1::pow::get_config","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::pow::routes","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::pow::verify_pow","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::pow::verify_token","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::routes","","","","","","","","","","","","","","","","","","mcaptcha::data","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::date","","","","","","","","","","","","","","","","","","","","","","mcaptcha::db","","","mcaptcha::db::maria","mcaptcha::db::pg","mcaptcha::demo","","","","","","","","","","","","","","","","","mcaptcha::docs","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::docs::routes","","","","","","","","","","","","","mcaptcha::email","mcaptcha::email::verification","","","","","","","","","","","","","","","","","","mcaptcha::errors","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::pages","","","","","","","","mcaptcha::pages::auth","","","","","mcaptcha::pages::auth::login","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::pages::auth::register","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::pages::auth::routes","","","","","","","","","","","","","","mcaptcha::pages::auth::sudo","","","","","","","","","","","","","","","","","","mcaptcha::pages::errors","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::pages::errors::routes","","","","","","","","","","","","mcaptcha::pages::panel","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::pages::panel::notifications","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::pages::panel::routes","","","","","","","","","","","","","","","mcaptcha::pages::panel::settings","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::pages::panel::settings::routes","","","","","","","","","","","","","","mcaptcha::pages::panel::sitekey","","","","","","","mcaptcha::pages::panel::sitekey::add","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::pages::panel::sitekey::delete","","","","","","","","","","mcaptcha::pages::panel::sitekey::edit","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::pages::panel::sitekey::list","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::pages::panel::sitekey::routes","","","","","","","","","","","","","","","","","","","","","","mcaptcha::pages::panel::sitekey::view","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::pages::routes","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::pages::sitemap","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::routes","mcaptcha::settings","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::static_assets","","","","mcaptcha::static_assets::filemap","","","","","","","","","","","","mcaptcha::static_assets::static_files","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::static_assets::static_files::assets","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::stats","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::widget","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::widget::routes","","","","","","","","","",""],"d":["","","","","","","","","","App data","","","","","","","","","","","","","","","","","points to source files matching build commit","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mCaptcha system: Redis cache, etc.","","","credential management configuration","App data: redis cache, database connections, etc.","","","","database ops defined by db crates","","","","","","","","","","","","","","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).","email client","","","","","","","app settings","","","","","stats recorder","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","User facing CAPTCHA widget","","","","","","","","","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.","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).","","","","","update email","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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.","","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).","","","","","","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).","","","","","","","","","","","","","","","","","","","","","","","","","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 Ok(()) when everything checks out and the user is …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","User’s traffic pattern; used in generating a captcha …","","average traffic of user’s website","","","","","","","","","traffic that bought the user’s website down; optional","","","","","","","","Captcha description","","","","","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).","","","the peak traffic that the user’s website can handle","","","","","","","","","","","","","","","","","","","","","","","","","","","","","easy is using defaults","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.","","Calls U::from(self).","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","Builder for BuildDetails.","Error type for BuildDetailsBuilder","Health check return datatype","Builder for Health.","Error type for HealthBuilder","Uninitialized field","Uninitialized field","Custom validation error","Custom validation error","","","","","","","","","","","","","","","","","Builds a new BuildDetails.","Builds a new Health.","emits build details of the bninary","","","","","","","","","Create an empty builder, with all fields set to None or …","Create an empty builder, with all fields set to None or …","","","","","","","","","","","","","","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.","","","","checks all components of the system","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).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","route handler that adds a notification message","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","route handler that gets all unread notifications","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","route handler that marks a notification read","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","PoW Verification module","PoW success token module","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","get PoW configuration for an mcaptcha key","Call this when MCaptcha is not in master.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","Returns the argument unchanged.","remove scope for $name route","","Calls U::from(self).","","","","","","","remove scope for $name route","","remove scope for $name route","","","validation token that clients receive as proof for …","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","route handler that verifies PoW and issues a solution token","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","route handler that validates a PoW solution token","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","App data","","Mailer data type AsyncSmtpTransport","","Represents mCaptcha cache and master system. When Redis is …","","","","","","mCaptcha system: Redis cache, etc.","credential management configuration","database ops defined by db crates","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","Calls U::from(self).","Calls U::from(self).","email client","","create new instance of app data","","","","app settings","stats recorder","","","","","","","","","","","","","","","","","","","","print date","","","Returns the argument unchanged.","Calls U::from(self).","","print relative time from date","","","","","","","","","","","","Demo password","Demo username","","","","","","Returns the argument unchanged.","","Calls U::from(self).","register demo user runner","","","","","","","","","","","","","","","","","","","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).","","","","","","","Email operations: verification, notification, etc","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","when the value passed contains blacklisted words see …","","captcha not found","","","","email is already taken","","","","","","","","","","","when the value passed contains profainity","","","","","token not found","Traffic pattern not found","Unable to send email","when the value passed contains characters not present in …","","when the a username is already taken","","","","","","","","","","","","","","","","","","","","","","","","","","","","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.","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.","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).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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.","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","notifications","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","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).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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).","","","","","","","","","route handler that renders individual views for sitekeys","","","","","","","","","","","","","","route handler that renders individual views for sitekeys","","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.","Calls U::from(self).","Calls U::from(self).","render a list of all sitekeys that a user has","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","Calls U::from(self).","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","route handler that renders individual views for sitekeys","","","","","","","","","","","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.","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).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","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.","","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.","","Iterates over the file paths in the folder.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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.","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).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Trait to clone MCDatabase","","","","","","","","","","","","","","","","clone DB","","","","","","","","","","fetch stats","fetch stats","fetch stats","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","record PoWConfig confirms","record PoWConfig confirms","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig fetches","record PoWConfig fetches","record PoWConfig solves","record PoWConfig solves","record PoWConfig solves","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","widget services","render a client side widget for CAPTCHA verification","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","",""],"i":[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,212,213,214,215,216,217,218,219,220,221,1,3,5,7,8,9,10,11,2,2,0,1,3,5,7,8,9,10,11,1,3,5,7,8,9,10,11,37,2,2,37,0,2,0,0,37,2,0,1,3,5,7,8,9,10,11,0,0,0,1,3,5,7,8,9,10,11,0,0,1,3,5,7,8,9,10,11,37,0,0,2,0,2,0,37,2,2,0,0,37,1,3,5,7,8,9,10,11,1,3,5,7,8,9,10,11,1,3,5,7,8,9,10,11,1,3,5,7,8,9,10,11,0,0,0,0,0,0,19,19,19,19,0,19,0,0,0,0,19,0,0,19,19,19,19,0,0,0,23,24,23,24,23,24,23,24,0,23,24,0,24,23,24,23,24,23,24,0,0,0,0,23,24,0,23,24,23,24,23,24,23,24,0,23,23,24,27,27,0,27,27,27,0,0,27,27,27,27,0,0,31,32,33,31,32,33,31,31,31,31,0,31,31,32,33,31,32,33,32,33,31,0,0,31,31,32,33,31,32,33,31,32,33,31,32,33,0,0,35,34,36,35,34,36,34,34,35,34,34,34,35,35,34,36,35,34,36,35,34,34,36,34,0,34,35,34,36,35,34,36,35,34,36,0,0,35,34,36,0,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,39,40,39,40,39,40,0,39,40,39,40,0,39,40,39,40,39,40,0,39,40,0,42,41,43,42,41,43,41,41,41,41,42,41,43,42,41,43,42,43,0,41,0,0,41,42,41,43,42,41,43,42,41,43,41,0,42,41,43,0,44,45,46,44,45,46,44,45,46,44,45,46,0,0,44,45,46,0,0,0,0,44,45,46,44,45,46,44,45,46,44,45,46,0,47,47,47,47,47,47,47,47,47,47,47,47,47,0,0,0,49,50,51,49,50,51,49,50,51,49,50,51,49,49,50,51,49,49,50,51,49,50,51,49,50,51,50,0,49,50,51,0,49,50,51,49,50,51,49,50,51,49,50,51,49,50,51,49,49,50,51,0,0,0,0,0,0,0,0,0,0,0,54,53,55,54,53,55,53,53,0,54,54,53,54,53,54,53,55,54,53,55,53,54,53,55,0,54,53,53,54,53,55,54,53,55,54,53,55,54,53,55,0,0,56,57,56,57,56,56,0,56,56,56,57,56,57,56,56,57,56,56,56,57,56,57,56,57,56,57,0,0,62,62,64,63,65,62,64,63,65,62,0,62,63,62,63,0,62,62,62,63,62,63,62,64,63,65,62,64,63,65,63,63,62,64,65,0,62,63,0,62,63,62,64,63,65,62,64,63,65,62,64,63,65,0,62,64,63,65,0,66,66,66,66,66,66,66,66,66,66,66,0,0,69,67,68,69,67,68,67,68,67,68,67,68,68,67,68,69,67,68,0,69,67,68,67,69,67,68,67,68,69,67,68,69,67,68,69,67,68,68,69,67,68,0,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,0,71,72,71,72,71,71,71,71,71,72,0,71,72,71,72,0,71,71,71,72,71,72,71,72,71,72,0,73,73,73,73,73,73,73,73,73,73,0,75,74,76,75,74,76,74,74,74,75,74,76,75,74,76,74,74,75,76,0,74,75,74,76,75,74,76,75,74,76,0,0,75,74,76,0,0,0,0,0,0,0,79,82,79,82,78,77,79,86,81,80,82,87,78,77,79,86,81,80,82,87,77,80,0,78,77,81,80,78,77,81,80,77,80,80,81,80,77,80,78,81,78,79,79,81,82,82,78,77,79,79,79,86,81,80,82,82,82,87,77,78,77,0,78,77,79,86,81,80,82,87,81,79,82,80,81,80,86,87,0,78,81,0,78,77,81,80,79,82,78,77,79,86,81,80,82,87,78,77,79,86,81,80,82,87,78,77,79,86,81,80,82,87,77,78,77,78,77,79,86,81,80,82,87,0,88,88,88,88,88,88,88,88,88,88,88,0,0,0,0,0,0,0,89,90,89,90,89,89,89,89,89,89,89,90,89,89,90,89,90,89,89,89,89,90,89,90,89,90,89,90,0,91,93,91,93,91,91,91,91,91,91,91,93,91,0,91,91,91,93,91,91,91,93,91,91,91,93,91,93,91,93,91,93,0,94,95,94,95,94,94,95,94,94,95,0,95,94,94,95,94,95,94,95,94,95,0,96,96,96,96,96,96,96,96,96,96,96,96,0,0,0,0,0,0,0,97,98,97,98,97,97,97,97,97,98,0,0,97,98,97,98,97,97,97,98,97,98,97,98,97,98,0,99,99,99,99,99,99,99,0,99,99,99,99,99,99,99,99,99,0,100,101,100,101,100,100,100,100,100,101,100,101,101,100,100,100,100,101,100,101,100,101,0,100,101,0,0,102,103,104,102,103,104,102,103,102,103,102,103,102,103,102,103,104,102,103,104,103,104,103,102,103,102,103,103,102,103,104,102,103,104,102,103,104,102,0,102,103,104,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,105,0,105,0,105,105,37,105,37,37,37,37,0,0,105,37,37,37,105,105,37,37,105,37,105,105,105,37,37,105,37,105,37,105,37,105,105,105,37,0,0,0,0,0,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,0,0,0,0,0,0,0,0,126,126,126,126,126,126,126,126,126,126,126,126,126,126,0,0,0,231,133,134,135,231,133,134,135,0,231,133,134,135,231,231,0,0,231,133,134,135,231,231,133,134,135,0,0,0,231,133,134,135,231,133,134,135,231,133,134,135,231,133,134,135,0,136,136,136,136,136,136,136,136,136,136,136,136,0,0,0,137,137,137,137,137,137,137,137,137,137,137,137,137,0,137,137,30,30,30,30,30,30,0,30,0,30,144,30,30,0,0,30,30,30,30,0,144,0,0,30,30,30,30,30,30,30,142,143,30,141,144,142,143,30,141,144,141,142,143,30,144,141,30,144,142,142,143,143,30,30,144,144,142,143,30,30,30,30,30,30,30,30,30,141,144,144,144,142,143,30,141,144,142,143,30,144,141,142,143,30,144,30,144,142,143,30,144,142,143,30,141,144,142,143,30,141,144,142,143,30,141,144,142,143,30,141,144,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,157,156,157,158,156,157,158,156,156,156,157,156,157,158,156,157,158,0,158,156,156,156,156,157,158,156,157,158,156,157,158,156,157,158,0,0,0,160,159,160,161,159,160,161,159,159,159,160,159,160,161,159,160,161,0,161,159,159,159,159,160,161,159,160,161,159,160,161,159,160,161,0,162,162,162,162,162,162,162,162,162,162,162,162,162,0,0,163,163,163,163,163,163,163,163,163,163,163,163,163,163,163,163,0,0,0,0,0,165,166,164,165,166,167,164,165,166,167,164,164,165,166,0,164,165,166,167,164,165,166,167,164,164,167,164,164,0,0,164,164,164,165,166,167,164,165,166,167,164,165,166,167,164,165,166,167,0,168,168,168,168,168,168,168,168,168,168,168,0,0,169,171,169,171,169,169,169,171,169,171,169,0,0,171,169,169,0,0,0,0,169,169,169,171,169,171,169,171,169,171,0,0,0,172,173,174,172,173,174,172,172,173,174,172,172,172,173,174,172,173,172,173,0,172,172,174,173,173,172,173,174,172,173,174,172,173,174,172,173,174,0,175,175,175,175,175,175,175,175,175,175,175,175,175,175,0,0,176,177,178,179,176,177,178,179,176,176,0,176,176,177,178,179,176,177,178,179,177,178,179,176,176,0,176,0,0,176,176,177,178,179,176,177,178,179,176,177,178,179,0,176,176,177,178,179,0,180,180,180,180,180,180,180,180,180,180,180,180,180,0,0,0,0,0,0,0,0,0,0,0,0,183,184,0,182,183,184,181,185,182,186,183,184,181,185,182,186,182,181,182,181,182,181,182,183,184,0,181,182,181,181,182,183,184,181,185,182,186,183,184,181,185,182,186,181,182,185,186,181,182,181,182,181,182,183,184,181,185,182,186,183,184,181,185,182,186,183,184,181,185,182,186,183,184,181,185,182,186,187,187,0,187,187,187,187,187,187,187,0,0,0,0,188,190,189,191,188,190,189,191,188,189,188,189,188,0,189,188,190,189,191,188,190,189,191,188,189,188,188,188,189,189,190,191,188,189,188,189,188,189,188,190,189,191,188,190,189,191,188,190,189,191,188,190,189,191,0,0,192,193,192,193,192,192,192,193,192,193,0,192,193,192,192,192,192,192,193,192,193,192,193,192,193,0,194,194,194,194,194,194,194,194,194,194,194,194,194,194,194,194,194,194,194,194,194,0,0,195,197,195,197,195,195,195,195,197,195,197,195,195,195,195,197,195,195,195,195,195,197,195,197,195,197,0,195,197,0,0,155,155,155,155,155,155,155,155,155,155,155,155,155,155,155,155,155,155,155,155,155,0,0,199,198,199,200,198,199,200,198,198,198,199,198,198,199,200,198,199,200,200,198,198,0,198,198,199,200,198,199,200,198,199,200,198,198,199,200,0,0,0,0,0,205,205,0,0,0,0,2,2,59,202,203,59,204,205,206,207,2,202,203,59,204,205,206,207,2,59,2,0,202,203,59,204,205,206,207,2,202,203,59,204,205,206,207,2,2,202,2,206,2,203,202,203,59,204,205,206,207,2,202,59,203,205,202,203,59,204,205,205,206,207,2,202,203,59,204,205,206,207,2,204,205,203,202,202,203,59,204,205,206,207,2,202,2,204,59,206,207,202,204,202,203,2,204,203,203,205,2,0,2,2,202,203,59,204,205,206,207,2,205,202,203,59,204,205,206,207,2,202,203,59,204,205,206,207,2,202,203,59,204,205,206,207,2,204,206,207,202,204,202,203,59,204,205,206,207,2,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,0,0,0,232,210,233,211,232,210,233,211,0,232,210,233,211,232,232,233,233,0,0,232,210,233,211,232,232,233,233,210,211,0,232,210,233,211,232,210,233,211,232,210,233,211,232,210,233,211,0,0,0,0,0,0,0,0,0,0,0,212,213,214,215,216,217,218,219,220,221,212,213,214,215,216,217,218,219,220,221,212,213,214,215,216,217,218,219,220,221,212,213,214,215,216,217,218,219,220,221,212,213,214,215,216,217,218,219,220,221,212,213,214,215,216,217,218,219,220,221,212,213,214,215,216,217,218,219,220,221,212,213,214,215,216,217,218,219,220,221,212,213,214,215,216,217,218,219,220,221,212,213,214,215,216,217,218,219,220,221,0,0,0,0,0,196,222,223,196,222,223,196,222,223,196,222,223,234,196,196,196,222,223,196,196,222,223,224,222,223,196,222,223,196,222,223,196,222,223,224,222,223,224,222,223,224,222,223,196,196,196,222,223,196,222,223,196,222,223,196,222,223,196,222,223,0,0,0,0,228,227,228,229,227,228,229,227,227,228,227,228,229,227,228,229,227,229,227,227,0,0,0,227,227,228,229,227,228,229,227,228,229,227,228,229,0,230,230,230,230,230,230,230,230,230,230],"f":[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,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,[1,2],[3,4],[5,6],[7,6],[8,6],[9,6],[10,6],[11,12],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[2,[[14,[13]]]],[[],15],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[],16],0,0,0,0,0,0,0,0,0,0,0,[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,[[]],[[]],[[],[[17,[19]]]],[[]],[[],[[21,[20]]]],[[]],0,0,0,0,0,0,[22],[[],17],[[],17],[[],18],[[]],0,0,0,[[]],[[]],[[]],[[]],[23,23],[24,24],[[]],[[]],0,[[],[[17,[23]]]],[[],[[17,[24]]]],0,0,[[23,25],26],[[24,25],26],[[]],[[]],[[]],[[]],0,0,0,0,[23,17],[24,17],[22],[[]],[[]],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],0,0,[[]],[[]],[[]],[[]],0,[[]],[[]],[[27,28]],0,[22],[[],17],[[],17],[[],18],[[]],[[6,29],[[17,[30]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[31,31],[[]],[[],[[17,[31]]]],0,0,[[31,25],26],[[]],[[]],[[]],[[]],[[]],[[]],[[32,28]],[[33,28]],[31,17],[22],0,[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[]],[[]],[[]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[34,34],[[]],0,0,[[],[[17,[34]]]],[[34,25],26],[34,35],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,[[36,28]],[34,17],[22],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[6,35,37],[[17,[30]]]],0,[[]],[[]],[[]],0,[[]],[[]],0,0,[[]],0,[[]],[[],38],[[],17],[[],17],[[],18],0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[]],[[]],[[39,28]],[[40,28]],[22],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],0,[[]],[[]],0,[[]],[[]],[[]],[[]],[[]],[[]],[41,41],[[]],[[],[[17,[41]]]],[[41,25],26],[[]],[[]],[[]],[[]],[[]],[[]],[[42,28]],[[43,28]],0,[41,17],[22],0,[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],0,0,[[]],[[]],[[]],[[23,29],[[17,[24,30]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[44,28]],[[45,28]],[[46,28]],0,0,[22],0,[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[]],[[]],[[]],0,[[]],[[]],[[]],[[47,[48,[6]]],12],[[]],0,0,[[],47],0,[[],17],[[],17],[[],18],[[]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[49,49],[50,50],[51,51],[[]],[[]],[[]],0,[[],[[17,[49]]]],[[],[[17,[50]]]],[[],[[17,[51]]]],0,[[49,25],26],[[50,25],26],[[51,25],26],[[]],[[]],[[]],[[]],[[]],[[]],0,[[50,29],[[17,[12,30]]]],0,0,0,[[49,29],[[17,[30]]]],[49,17],[50,17],[51,17],[[]],[[]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],0,[[]],[[]],[[]],0,0,0,0,[52,12],0,[22],0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[53,53],[[]],0,0,[[],[[17,[54]]]],[[],[[17,[53]]]],0,[[53,25],26],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,[[55,28]],0,[54,17],[53,17],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[54,29,6],[[17,[53,30]]]],0,[[]],[[]],[[]],[[]],[56,56],[[]],0,[[],[[17,[56]]]],[[56,25],26],[[]],[[]],[[]],[[]],0,0,[[57,28]],[56,17],[[]],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[]],[[]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[58,59],[[17,[[61,[60]],30]]]],[62,62],[63,63],[[]],[[]],0,[[],62],0,[[],[[17,[62]]]],[[],[[17,[63]]]],[[62,25],26],[[63,25],26],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,[[64,28]],[[65,28]],0,[62,17],[63,17],[22],[[]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],0,[[]],[[]],[[]],[[]],0,[[]],[[]],0,[[]],[[]],[[],66],[[],17],[[],17],[[],18],0,[[]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[67,67],[68,68],[[]],[[]],[[],[[17,[67]]]],[[],[[17,[68]]]],0,[[67,25],26],[[68,25],26],[[]],[[]],[[]],0,[[]],[[]],[[]],0,[[69,28]],[67,17],[68,17],[[]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],0,[[]],[[]],[[]],0,[[]],[[]],0,0,0,[[]],0,[[]],[[],70],0,[[],17],[[],17],[[],18],0,0,[[]],0,[[]],[[]],[[]],[[]],[71,71],[[]],[[],[[17,[71]]]],[[71,25],26],[[]],[[]],0,[[]],[[]],0,[[72,28]],0,[71,17],[[]],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[]],[[]],0,[[]],[[]],[[]],0,[[]],[[],73],[[],17],[[],17],[[],18],[[]],0,[[]],[[]],[[]],[[]],[[]],[[]],0,[[],[[17,[74]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[75,28]],[[76,28]],0,[74,17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],0,0,[[]],[[]],[[]],[[74,29,6],[[17,[30]]]],0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[77,[[17,[78,79]]]],[80,[[17,[81,82]]]],0,[78,78],[77,77],[81,81],[80,80],[[]],[[]],[[]],[[]],[[],77],[[],80],[[80,83],80],0,0,[[],77],[[],80],[[],[[17,[78]]]],[[],[[17,[81]]]],[[78,25],26],[[79,25],26],[[79,25],26],[[81,25],26],[[82,25],26],[[82,25],26],[[]],[[]],[12,79],[84,79],[[]],[[]],[[]],[[]],[84,82],[12,82],[[]],[[]],[[77,6],77],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[48,83],[85],[85],[[80,[48,[83]]],80],0,0,[[86,28]],[[87,28]],0,[78,17],[81,17],[22],[[]],[[]],[[]],[[]],[[],12],[[],12],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[77,6],77],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[]],[[]],0,[[]],0,[[]],[[],88],[[],17],[[],17],[[],18],[[]],0,0,0,0,[22],0,0,[[]],[[]],[[]],[[]],[89,89],[[]],[[],89],[[],[[17,[89]]]],[[89,89],83],[[89,25],26],[[]],[[]],0,[[]],[[]],0,[[90,28]],[89,17],0,[[]],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[]],[[]],0,[[]],[[]],[[]],[[]],[91,91],[[]],[[],91],[[],[[17,[91]]]],[[91,91],83],[92,91],[[]],[[]],[[[61,[92]]],[[61,[91]]]],0,0,0,[[]],[[]],0,0,0,[[93,28]],[91,17],[[]],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[]],[[]],0,[[]],[[]],[[]],[[]],[[],[[17,[94]]]],[[]],[[]],0,[[]],[[]],0,[[95,28]],[94,17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[]],[[]],0,0,[[]],[[]],[[]],0,[[]],0,[[],96],[[],17],[[],17],[[],18],[[]],0,0,0,[22],0,0,0,[[]],[[]],[[]],[[]],[97,97],[[]],[[],[[17,[97]]]],[[97,25],26],[[]],[[]],0,[[29,6],[[17,[30]]]],[[]],[[]],0,[[98,28]],[97,17],[[]],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[]],[[]],0,[[]],[[]],[[]],[99,6],0,[[]],[[],99],0,0,[[],17],[[],17],[[],18],[99,6],0,[99,6],0,[[]],0,[[]],[[]],[[]],[[]],[100,100],[[]],[[],[[17,[100]]]],[[100,25],26],[[]],[[]],[[]],[[]],[[101,28]],[100,17],[[]],0,[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],0,[[]],[[]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[102,102],[103,103],[[]],[[]],[[],[[17,[102]]]],[[],[[17,[103]]]],[[102,25],26],[[103,25],26],[[]],[[]],[[]],[[]],[[]],[[]],0,[[104,28]],0,[102,17],[103,17],[[]],[[]],0,[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],0,0,[[]],[[]],[[]],0,0,0,0,[[]],[[]],0,[[]],[[20,[48,[6]]],12],[[]],0,[[],20],0,0,[[],17],[[],17],[[],18],[[]],0,0,0,0,0,[[105,106],[[17,[30]]]],[[]],[[]],[[]],[[]],0,0,0,0,0,[[]],[[]],[[],107],[2,[[48,[[109,[108]]]]]],[[105,12],[[111,[[48,[110]]]]]],[[]],[[]],0,[2,105],[2,[[112,[37]]]],[[2,[114,[113]],[114,[115]]],[[116,[115,113]]]],[[105,117],[[17,[30]]]],[[105,118],[[17,[30]]]],0,0,[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[105,119],[[111,[83]]]],[[105,120,12],[[111,[12]]]],[[]],[[]],0,0,0,0,0,[[]],[[]],[121,121],[[]],[121,12],[[121,25],26],[122,12],[[]],[[]],[123,121],[121,12],0,[[]],[[],17],[[],17],[[],18],[[]],0,0,0,[[[48,[2]]],[[125,[124]]]],[[[48,[2]]],[[125,[124]]]],0,0,0,[126],[[]],[[]],[29,[[17,[30]]]],[[]],0,[[]],[29,[[17,[30]]]],[[29,127],[[17,[128,30]]]],[[29,127],[[17,[126,30]]]],[[],17],[[],17],[[],18],[[]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[]],[[]],[[]],[[]],[6,[[48,[129]]]],[6,[[48,[129]]]],[6,130],0,[[]],[[]],[[]],[[]],[[],131],[[],132],[[133,28]],[[134,28]],[[135,28]],0,[22],0,[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],0,0,[[]],[[]],[[]],0,[[]],[[],136],0,[[],17],[[],17],[[],18],[[]],0,0,0,[[]],[[]],[137,137],[[]],[[]],[[]],[6,137],[137,138],[[137,139],[[17,[140]]]],[[]],[[],17],[[],17],[[],18],[[37,6,6],[[17,[30]]]],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,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[[17,[141]]]],[[142,142],83],[[143,143],83],[[30,30],83],[[144,144],83],0,[30,130],[144,130],[[142,25],26],[[142,25],26],[[143,25],26],[[143,25],26],[[30,25],26],[[30,25],26],[[144,25],26],[[144,25],26],[[]],[[]],[[]],[145,30],[146,30],[147,30],[148,30],[149,30],[150,30],[151,30],[152,30],[[]],[147,144],[[]],[30,144],[[]],[[]],[[]],[[]],[[]],[85],[85],[85],[85],[141,17],[142,[[48,[153]]]],[143,[[48,[153]]]],[30,[[48,[153]]]],[144,[[48,[153]]]],[30,154],[144,154],[[],12],[[],12],[[],12],[[],12],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],[[]],0,0,0,[[],[[21,[155]]]],0,0,[22],0,0,0,0,[22],0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[156,156],[[]],[[],156],[157,12],[[]],[[]],[[]],[[]],[[]],[[]],0,[[158,28]],[156,138],[[156,139],[[17,[140]]]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[]],[[]],[[]],0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[159,159],[[]],[[],159],[160,12],[[]],[[]],[[]],[[]],[[]],[[]],0,[[161,28]],[159,138],[[159,139],[[17,[140]]]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[]],[[]],[[]],0,[[]],[[]],[[]],[[162,[48,[6]]],12],[[]],[[]],0,0,[[],162],[[],17],[[],17],[[],18],[[]],0,0,[[]],[[]],[163,163],[[]],0,[[]],[[]],[[6,[48,[61]]],163],[163,138],[[163,139],[[17,[140]]]],[[]],[[],17],[[],17],[[],18],0,[[]],0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[164,164],[[]],[165,12],[166,12],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[6,6],164],[[167,28]],[164,138],[[164,139],[[17,[140]]]],0,[22],0,[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],0,[[]],[[]],[[]],0,[[]],[[],168],[[],17],[[],17],[[],18],0,[[]],0,0,[[]],[[]],[[]],[[]],[169,169],[[]],[[]],[[]],[[]],[[]],[[[61,[170]]],169],0,0,[[171,28]],[169,138],[[169,139],[[17,[140]]]],0,[22],0,0,0,[[]],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[]],[[]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[92,172],[[]],[[]],[[]],0,0,[[]],[[]],[[]],0,0,0,[[[61,[172]]],173],0,[172,12],0,[[174,28]],[173,138],[[173,139],[[17,[140]]]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[]],[[]],[[]],0,[[]],[[]],[[]],[[]],0,[[]],[[],175],0,0,0,[[],17],[[],17],[[],18],[[]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[176,176],[[]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[177,28]],[[178,28]],[[179,28]],[176,138],[[176,139],[[17,[140]]]],0,0,[22],0,[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],0,0,[[]],[[]],[[]],[[]],0,[[]],[[]],0,[[]],[[]],0,[[]],[[],180],[[],17],[[],17],[[],18],0,[[]],0,0,0,0,0,[22],0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[181,181],[182,182],[[]],[[]],[[],181],[[],182],[183,12],[184,12],0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[185,28]],[[186,28]],[181,138],[182,138],[[181,139],[[17,[140]]]],[[182,139],[[17,[140]]]],[[]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[]],[[]],[[187,28]],[[],17],[[],17],[[],18],[[]],0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[188,188],[189,189],[[]],[[]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,[[170,[61,[60]],12],188],[[12,62],189],0,[[190,28]],[[191,28]],[188,138],[189,138],[[188,139],[[17,[140]]]],[[189,139],[[17,[140]]]],[[]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],0,0,[[]],[[]],[[]],[[]],[192,192],[[]],[[]],[[]],[[]],[[]],0,[[[61,[170]]],192],[[193,28]],[192,138],[[192,139],[[17,[140]]]],0,[[]],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[]],[[]],0,0,0,[[]],[[]],0,0,0,[[]],[[194,6],12],[[194,6],12],[[194,6],12],[[]],[[194,6],12],[[]],0,[[],194],[[],17],[[],17],[[],18],0,[[]],0,0,[[]],[[]],[[]],[[]],[195,195],[[]],0,[[]],[[]],[[]],[[]],0,0,0,[[196,170,[61,[60]],12],195],[[197,28]],[195,138],[[195,139],[[17,[140]]]],0,[[]],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],0,[[]],[[]],0,0,0,0,[[]],[[]],0,0,[[]],[[155,[48,[6]]],12],[[]],0,[[]],[[],155],0,0,0,0,0,[[],17],[[],17],[[],18],[[]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[198,198],[[]],[[],198],[199,12],0,[[]],[[]],[[]],[[]],[[]],[[]],[[200,28]],[198,138],[[198,139],[[17,[140]]]],0,[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],0,[[]],[[]],[[]],[22],0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[201],[202,202],[203,203],[59,59],[204,204],[205,205],[206,206],[207,207],[2,2],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,[[],[[17,[202]]]],[[],[[17,[203]]]],[[],[[17,[59]]]],[[],[[17,[204]]]],[[],[[17,[205]]]],[[],[[17,[206]]]],[[],[[17,[207]]]],[[],[[17,[2]]]],0,0,0,[[205,205],83],[[202,25],26],[[203,25],26],[[59,25],26],[[204,25],26],[[205,25],26],[[205,25],26],[[206,25],26],[[207,25],26],[[2,25],26],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[208,[[17,[205,209]]]],0,[202,12],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[],[[17,[2,209]]]],0,0,0,0,0,0,0,0,0,0,0,0,[205,17],0,[201],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],12],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[22],0,0,[[]],[[]],0,[[]],[[4,6],[[48,[6]]]],[[]],[[],4],[[],17],[[],17],[[],18],[[]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[]],[[]],[[]],[[]],[6,[[48,[129]]]],[6,[[48,[129]]]],[6,[[48,[129]]]],[6,[[48,[129]]]],[6,130],[6,130],[[]],[[]],[[]],[[]],[[],132],[[],131],[[],132],[[],131],[[210,28]],[[211,28]],0,[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],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,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[212],[213],[214],[215],[216],[217],[218],[219],[220],[221],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[196,196],[222,222],[223,223],[[]],[[]],[[]],[[],[[125,[224]]]],0,0,[[],196],[[],222],[[],223],[[],[[17,[196]]]],[[196,196],83],[[222,222],83],[[223,223],83],[[37,6,6],[[226,[[125,[225]]]]]],[[222,37,6,6],[[226,[[125,[225]]]]]],[[223,37,6,6],[[226,[[125,[225]]]]]],[[196,25],26],[[222,25],26],[[223,25],26],[[]],[[]],[[]],[[]],[[]],[[]],[[37,6],[[226,[[125,[225]]]]]],[[222,37,6],[[226,[[125,[225]]]]]],[[223,37,6],[[226,[[125,[225]]]]]],[[37,6],[[226,[[125,[225]]]]]],[[222,37,6],[[226,[[125,[225]]]]]],[[223,37,6],[[226,[[125,[225]]]]]],[[37,6],[[226,[[125,[225]]]]]],[[222,37,6],[[226,[[125,[225]]]]]],[[223,37,6],[[226,[[125,[225]]]]]],[196,17],0,[[]],[[]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[]],[[]],[[]],0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[227,227],[[]],[228,12],[[]],[[]],[[]],[[]],[[]],[[]],[[],227],[[229,28]],[227,138],[[227,139],[[17,[140]]]],0,[22],0,[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[]],[[]],[[]],0,[[]],[[]],[[]],[[]],[[],230],[[],17],[[],17],[[],18],0,[[]]],"p":[[3,"SETTINGS"],[3,"Settings"],[3,"FILES"],[3,"FileMap"],[3,"JS"],[15,"str"],[3,"CSS"],[3,"MOBILE_CSS"],[3,"VERIFICATIN_WIDGET_JS"],[3,"VERIFICATIN_WIDGET_CSS"],[3,"SOURCE_FILES_OF_INSTANCE"],[3,"String"],[3,"CookieIdentityPolicy"],[3,"IdentityService"],[3,"JsonConfig"],[6,"Result"],[4,"Result"],[3,"TypeId"],[3,"RedirectQuery"],[3,"Routes"],[3,"Authentication"],[3,"ServiceConfig"],[3,"AccountCheckPayload"],[3,"AccountCheckResp"],[3,"Formatter"],[6,"Result"],[3,"delete_account"],[3,"AppService"],[6,"AppData"],[4,"ServiceError"],[3,"Email"],[3,"email_exists"],[3,"set_email"],[3,"ChangePasswordReqest"],[3,"UpdatePassword"],[3,"update_user_password"],[3,"Data"],[3,"Account"],[3,"get_secret"],[3,"update_user_secret"],[3,"Username"],[3,"username_exists"],[3,"set_username"],[3,"register"],[3,"login"],[3,"signout"],[3,"Auth"],[4,"Option"],[3,"Register"],[3,"Login"],[3,"Password"],[15,"usize"],[3,"MCaptchaDetails"],[3,"CreateCaptcha"],[3,"create"],[3,"DeleteCaptcha"],[3,"delete"],[3,"TrafficPattern"],[3,"DefaultDifficultyStrategy"],[3,"Level"],[3,"Vec"],[3,"TrafficPatternRequest"],[3,"UpdateTrafficPattern"],[3,"create"],[3,"update"],[3,"Easy"],[3,"Levels"],[3,"I32Levels"],[3,"get_captcha"],[3,"Captcha"],[3,"StatsPayload"],[3,"get"],[3,"Stats"],[3,"UpdateCaptcha"],[3,"update_key"],[3,"update_captcha"],[3,"BuildDetailsBuilder"],[3,"BuildDetails"],[4,"BuildDetailsBuilderError"],[3,"HealthBuilder"],[3,"Health"],[4,"HealthBuilderError"],[15,"bool"],[3,"UninitializedFieldError"],[3,"Demand"],[3,"build_details"],[3,"health"],[3,"Meta"],[3,"AddNotificationRequest"],[3,"add_notification"],[3,"NotificationResp"],[3,"Notification"],[3,"get_notification"],[3,"MarkReadReq"],[3,"mark_read"],[3,"Notifications"],[3,"GetConfigPayload"],[3,"get_config"],[3,"PoW"],[3,"ValidationToken"],[3,"verify_pow"],[3,"CaptchaValidateResp"],[3,"VerifyCaptchaResultPayload"],[3,"validate_captcha_token"],[4,"SystemGroup"],[3,"AddSite"],[3,"Config"],[3,"Tokio1Executor"],[3,"AsyncSmtpTransport"],[3,"PoWConfig"],[6,"CaptchaResult"],[3,"Arc"],[8,"Master"],[3,"Addr"],[8,"Save"],[3,"System"],[3,"RemoveCaptcha"],[3,"Rename"],[3,"VerifyCaptchaResult"],[3,"Work"],[3,"Date"],[3,"OffsetDateTime"],[15,"i64"],[8,"MCDatabase"],[3,"Box"],[3,"DemoUser"],[3,"Duration"],[3,"JoinHandle"],[3,"EmbeddedFile"],[3,"HttpResponse"],[8,"Iterator"],[4,"Filenames"],[3,"dist"],[3,"spec"],[3,"index"],[3,"Docs"],[3,"IndexPage"],[6,"RenderResult"],[3,"Buffer"],[4,"RenderError"],[3,"ErrorToResponse"],[3,"SmtpErrorWrapper"],[3,"DBErrorWrapper"],[4,"PageError"],[4,"CaptchaError"],[4,"CredsError"],[4,"DBError"],[3,"ValidationErrors"],[4,"ParseError"],[4,"MailboxError"],[3,"Error"],[3,"RecvError"],[8,"Error"],[3,"StatusCode"],[3,"Routes"],[3,"IndexPage"],[3,"INDEX"],[3,"login"],[3,"IndexPage"],[3,"INDEX"],[3,"join"],[3,"Auth"],[3,"SudoPage"],[3,"ErrorPage"],[3,"INTERNAL_SERVER_ERROR_BODY"],[3,"UNKNOWN_ERROR_BODY"],[3,"error"],[3,"Errors"],[3,"IndexPage"],[3,"Captcha"],[3,"panel"],[3,"Notification"],[3,"IndexPage"],[3,"notifications"],[3,"Panel"],[3,"IndexPage"],[3,"settings"],[3,"delete_account"],[3,"update_secret"],[3,"Settings"],[3,"AdvanceIndexPage"],[3,"EasyIndexPage"],[3,"ADVANCE_INDEX"],[3,"EASY_INDEX"],[3,"advance"],[3,"easy"],[3,"delete_sitekey"],[3,"AdvanceEditPage"],[3,"EasyEditPage"],[3,"advance"],[3,"easy"],[3,"IndexPage"],[3,"list_sitekeys"],[3,"Sitekey"],[3,"IndexPage"],[3,"CaptchaStats"],[3,"view_sitekey"],[3,"IndexPage"],[3,"INDEX"],[3,"sitemap"],[3,"Config"],[3,"Server"],[3,"Captcha"],[3,"Smtp"],[4,"DBType"],[3,"Database"],[3,"Redis"],[3,"Url"],[4,"ConfigError"],[3,"static_files"],[3,"favicons"],[3,"KEY"],[3,"GITHUB"],[3,"HOME"],[3,"SETTINGS_ICON"],[3,"CREDIT_CARD"],[3,"HELP_CIRCLE"],[3,"MESSAGE"],[3,"DOCS_ICON"],[3,"MCAPTCHA_TRANS_ICON"],[3,"BAR_CHART"],[3,"Real"],[3,"Dummy"],[8,"Stats"],[8,"Future"],[3,"Pin"],[3,"IndexPage"],[3,"INDEX_PAGE"],[3,"show_widget"],[3,"Widget"],[3,"Asset"],[3,"Asset"],[3,"Favicons"],[8,"CloneStats"]]}\ +"db_sqlx_maria":{"doc":"","t":[3,4,3,13,3,13,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,0,12,11,11,0,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,12,11,12,11,12,12,0,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,12,11,11,11,11,11,11,13,3,6,3,13,13,8,13,13,13,13,16,8,3,4,13,8,6,2,13,13,13,13,4,8,13,3,4,8,8,13,3,3,13,16,13,13,13,3,13,3,13,3,13,3,13,13,3,13,13,13,10,10,11,23,12,11,11,12,10,10,12,12,12,10,10,10,10,10,10,10,12,12,0,12,12,12,12,10,0,10,10,10,11,11,11,11,11,11,11,12,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,11,11,12,12,10,12,12,10,12,12,0,12,10,0,11,12,10,10,10,10,12,12,12,11,0,12,11,11,11,11,10,10,10,10,10,10,12,12,12,10,12,11,12,12,12,12,12,13,3,6,3,13,13,8,16,8,3,4,13,8,6,13,13,8,3,4,8,8,3,3,13,16,3,3,13,3,3,13,3,13,13,10,10,23,12,12,10,10,12,12,12,10,10,10,10,10,10,10,12,12,12,12,12,12,10,0,10,10,10,12,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,10,12,12,10,12,12,0,12,10,0,12,10,10,10,10,12,12,12,0,12,10,10,10,10,10,10,12,12,12,10,12,13,6,13,13,4,13,6,13,13,13,13,13,16,8,8,8,8,16,10,10,10,13,3,6,3,13,13,8,16,8,3,4,13,8,6,13,13,8,3,4,8,8,3,3,13,16,3,3,13,3,3,13,3,13,13,10,10,12,12,10,10,12,12,12,10,10,10,10,10,10,10,12,12,12,12,12,12,10,10,10,10,12,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,10,12,12,10,12,12,12,10,12,10,10,10,10,12,12,12,12,10,10,10,10,10,10,12,12,12,10,12,5,13,6,13,13,4,13,6,13,13,13,13,13,16,8,8,8,8,16,10,10,10,13,3,6,3,13,13,8,16,8,3,4,13,8,6,13,13,8,3,4,8,8,3,3,13,16,3,3,13,3,3,13,3,13,13,10,10,12,12,10,10,12,12,12,10,10,10,10,10,10,10,12,12,0,12,12,12,12,10,10,10,10,12,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,10,12,12,10,12,12,12,10,12,10,10,10,10,12,12,12,12,10,10,10,10,10,10,12,12,12,10,12,13,3,6,3,13,13,8,16,8,3,4,13,8,6,13,13,8,3,4,8,8,3,3,13,16,3,3,13,3,3,13,3,13,13,10,10,23,12,12,10,10,12,12,12,10,10,10,10,10,10,10,12,12,12,12,12,12,10,10,10,10,12,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,10,12,12,10,12,12,12,10,12,10,10,10,10,12,12,12,12,10,10,10,10,10,10,12,12,12,10,12,5,5,5,13,3,6,3,13,13,8,16,8,3,4,13,8,6,13,13,8,3,4,8,8,3,3,13,16,3,3,13,3,3,13,3,13,13,10,10,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,12,10,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,10,10,10,11,11,11,11,11,11,11,10,10,10,10,12,12,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,10,11,11,11,11,11,11,11,11,11,11,11,11,10,10,10,11,11,11,11,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,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,10,12,12,10,12,12,0,12,10,11,12,10,10,10,10,12,12,11,11,11,11,11,11,11,11,11,11,11,11,12,11,0,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,10,10,10,10,10,10,12,12,12,10,12,11,11,11,11,11,11,11,11,11,11,11,11,11,16,8,8,8,8,16,10,10,10,5],"n":["Conn","ConnectionOptions","Database","Existing","Fresh","Fresh","InnerNotification","add_captcha_levels","add_traffic_pattern","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","captcha_exists","clone","clone","clone_db","clone_into","clone_into","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","dev","disable_logging","email_exists","eq","errors","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","from","from","from","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","heading","id","into","into","into","into","into","mark_notification_read","message","migrate","name","ping","pool","pool_options","prelude","received","record_confirm","record_fetch","record_solve","register","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","update_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","url","username_exists","vzip","vzip","vzip","vzip","vzip","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","ColumnDecode","ColumnIndexOutOfBounds","ColumnNotFound","Configuration","Conn","Connect","CreateCaptcha","DBError","DBError","DBOps","DBResult","Database","Database","Decode","Email","EmailTaken","Error","GetConnection","Io","Level","Login","MCDatabase","Migrate","Migrate","NameHash","Notification","NotificationNotFound","Pool","PoolClosed","PoolTimedOut","Protocol","Register","RowNotFound","Secret","SecretTaken","StatsUnixTimestamp","Tls","TrafficPattern","TrafficPatternNotFound","TypeNotFound","UpdateEmail","Username","UsernameTaken","WorkerCrashed","add_captcha_levels","add_traffic_pattern","as_database_error","async_trait","avg_traffic","borrow","borrow_mut","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","dev","difficulty_factor","duration","duration","email","email_exists","errors","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","fmt","from","from","from","from","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","into","into_database_error","key","key","mark_notification_read","message","message","migrate","name","new_email","ops","peak_sustainable_traffic","ping","prelude","provide","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","source","tests","to","to_string","try_from","try_into","type_id","update_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","vzip","index","index","len","source","type_name","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","async_trait","avg_traffic","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","difficulty_factor","duration","duration","email","email_exists","errors","fetch_config_fetched","fetch_confirm","fetch_solve","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","key","key","mark_notification_read","message","message","migrate","name","new_email","ops","peak_sustainable_traffic","ping","prelude","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","tests","to","update_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","AccountNotFound","BoxDynError","CaptchaKeyTaken","CaptchaNotFound","DBError","DBError","DBResult","EmailTaken","NotificationNotFound","SecretTaken","TrafficPatternNotFound","UsernameTaken","Conn","Connect","DBOps","GetConnection","Migrate","Pool","connect","get_conn","migrate","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","avg_traffic","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","difficulty_factor","duration","duration","email","email_exists","fetch_config_fetched","fetch_confirm","fetch_solve","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","key","key","mark_notification_read","message","message","migrate","name","new_email","peak_sustainable_traffic","ping","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","to","update_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","database_works","AccountNotFound","BoxDynError","CaptchaKeyTaken","CaptchaNotFound","DBError","DBError","DBResult","EmailTaken","NotificationNotFound","SecretTaken","TrafficPatternNotFound","UsernameTaken","Conn","Connect","DBOps","GetConnection","Migrate","Pool","connect","get_conn","migrate","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","avg_traffic","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","dev","difficulty_factor","duration","duration","email","email_exists","fetch_config_fetched","fetch_confirm","fetch_solve","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","key","key","mark_notification_read","message","message","migrate","name","new_email","peak_sustainable_traffic","ping","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","to","update_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","async_trait","avg_traffic","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","difficulty_factor","duration","duration","email","email_exists","fetch_config_fetched","fetch_confirm","fetch_solve","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","key","key","mark_notification_read","message","message","migrate","name","new_email","peak_sustainable_traffic","ping","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","to","update_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","database_works","map_register_err","map_row_not_found_err","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","avg_traffic","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","broke_my_site_traffic","captcha_exists","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_db","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","config_fetches","config_id","confirms","connect","create_captcha","create_notification","default","default","default","default","default","default","default","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","difficulty_factor","duration","duration","email","email_exists","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","into","into","into","into","into","into","into","into","into","into","into","into","into","key","key","mark_notification_read","message","message","migrate","name","new_email","ops","peak_sustainable_traffic","ping","provide","received","record_confirm","record_fetch","record_solve","register","secret","secret","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","solves","source","tests","to","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","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_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","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_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","Conn","Connect","DBOps","GetConnection","Migrate","Pool","connect","get_conn","migrate","database_works"],"q":["db_sqlx_maria","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_maria::dev","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_maria::dev::Error","","","","","db_sqlx_maria::dev::dev","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_maria::dev::dev::errors","","","","","","","","","","","","db_sqlx_maria::dev::dev::ops","","","","","","","","","db_sqlx_maria::dev::dev::prelude","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_maria::dev::dev::tests","db_sqlx_maria::dev::errors","","","","","","","","","","","","db_sqlx_maria::dev::ops","","","","","","","","","db_sqlx_maria::dev::prelude","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_maria::dev::prelude::dev","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_maria::dev::tests","db_sqlx_maria::errors","","db_sqlx_maria::prelude","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_maria::prelude::ops","","","","","","","","","db_sqlx_maria::prelude::tests"],"d":["Use an existing database pool","Connect to database","","existing connection","","fresh connection","Represents notification","Add levels to captcha","Add traffic configuration","","","","","","","","","","","check if captcha exists","","","","","","","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","","","check if email exists","","Error-handling utilities","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","heading of the notification","db assigned ID of the notification","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","mark a notification read","message of the notification","","receiver name of the notification","ping DB","","","","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","","","","","","","","","","","","","","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","","check if username exists","","","","","","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","Error occurred while decoding a value from a specific …","Column index was out of bounds.","No column found for the given name.","Error occurred while parsing a connection string.","database connection type","Create database connection","data required to create new captcha","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","","Error returned from the database.","Error occurred while decoding a value.","email as login","Email is taken","Represents all the ways a method can fail within SQLx.","Get database connection","Error communicating with the database backend.","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","","type encapsulating username and hashed password of a user","Represents notification","Notification not found","database specific pool-type","Pool::close was called while we were waiting in …","A Pool::acquire timed out due to connections not becoming …","Unexpected or invalid data encountered while communicating …","Data required to register a new user","No rows returned by a query that expected to return at …","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","Error occurred while attempting to establish a TLS …","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","Type in query doesn’t exist. Likely due to typo or …","data required to update them email of a user","username as login","Username is taken","A background worker has crashed.","Add levels to captcha","Add traffic configuration","","","average traffic of user’s website","","","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","useful imports for supporting a new database","","cool down duration","cool down duration","Optionally, email of new use","check if email exists","represents all the ways a trait can fail using this crate","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","","","","Returns the argument unchanged.","","","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","db assigned ID of the notification","Calls U::from(self).","","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","meta operations like migration and connecting to a database","the peak traffic that the user’s website can handle","ping DB","useful imports for users working with a supported database","","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","","Test utilities","who is the notification addressed to?","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","","","","","","","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","","average traffic of user’s website","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","","cool down duration","cool down duration","Optionally, email of new use","check if email exists","represents all the ways a trait can fail using this crate","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","db assigned ID of the notification","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","meta operations like migration and connecting to a database","the peak traffic that the user’s website can handle","ping DB","useful imports for users working with a supported database","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","Test utilities","who is the notification addressed to?","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","Account not found","Convenience type alias for grouping driver-specific errors","Captcha key is taken","Captcha not found","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Generic result data structure","Email is taken","Notification not found","Secret is taken","Traffic pattern not found","Username is taken","database connection type","Create database connection","Database operations trait(migrations, pool creation and …","Get database connection","database migrations","database specific pool-type","database specific error-type create connection pool","database specific error-type get connection from …","database specific error-type run migrations","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","average traffic of user’s website","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","","cool down duration","cool down duration","Optionally, email of new use","check if email exists","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","db assigned ID of the notification","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","the peak traffic that the user’s website can handle","ping DB","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","who is the notification addressed to?","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","test all database functions","Account not found","Convenience type alias for grouping driver-specific errors","Captcha key is taken","Captcha not found","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Generic result data structure","Email is taken","Notification not found","Secret is taken","Traffic pattern not found","Username is taken","database connection type","Create database connection","Database operations trait(migrations, pool creation and …","Get database connection","database migrations","database specific pool-type","database specific error-type create connection pool","database specific error-type get connection from …","database specific error-type run migrations","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","average traffic of user’s website","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","useful imports for supporting a new database","","cool down duration","cool down duration","Optionally, email of new use","check if email exists","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","db assigned ID of the notification","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","the peak traffic that the user’s website can handle","ping DB","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","who is the notification addressed to?","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","","average traffic of user’s website","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","","cool down duration","cool down duration","Optionally, email of new use","check if email exists","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","db assigned ID of the notification","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","the peak traffic that the user’s website can handle","ping DB","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","who is the notification addressed to?","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","test all database functions","map postgres errors to DBError types","map custom row not found error to DB error","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","average traffic of user’s website","","","","","","","","","","","","","","","","","","","","","","","","","","","traffic that bought the user’s website down; optional","check if captcha exists","","","","","","","","","","","","","clone DB","","","","","","","","","","","","","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","","","","","","","","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","","","","","","","","","","","","","","cool down duration","cool down duration","Optionally, email of new use","check if email exists","","","","","","","","","","","","","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","","","","","","","","","","","","","","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.","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","db assigned ID of the notification","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).","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","meta operations like migration and connecting to a database","the peak traffic that the user’s website can handle","ping DB","","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","","","","","","","","","","","","","times at which the PoW was solved","","Test utilities","who is the notification addressed to?","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","","","","","","","","","","","","","","database connection type","Create database connection","Database operations trait(migrations, pool creation and …","Get database connection","database migrations","database specific pool-type","database specific error-type create connection pool","database specific error-type get connection from …","database specific error-type run migrations","test all database functions"],"i":[0,0,0,11,0,11,0,1,1,39,11,40,1,8,39,11,40,1,8,1,1,8,1,1,8,11,1,1,1,1,1,1,0,40,1,8,0,1,1,1,8,39,11,40,1,8,1,1,1,1,1,1,1,1,1,1,8,8,39,11,40,1,8,1,8,1,8,1,1,40,0,8,1,1,1,1,1,8,39,11,40,1,8,39,11,40,1,8,39,11,40,1,8,1,1,1,1,1,1,40,1,39,11,40,1,8,33,0,0,0,33,33,0,24,24,24,24,41,0,0,0,33,0,0,0,24,24,17,33,0,0,24,0,0,0,0,24,0,0,33,42,24,24,24,0,24,0,33,0,24,0,33,24,0,17,33,24,9,9,24,0,6,24,24,6,9,43,34,37,34,42,9,9,9,9,9,9,12,37,0,35,12,37,19,9,0,9,9,9,24,24,24,24,24,24,24,13,9,9,9,9,9,41,9,9,9,9,9,19,23,36,13,36,24,24,12,37,9,36,13,44,36,22,0,6,9,0,24,36,9,9,9,9,19,38,34,24,0,13,24,24,24,24,9,9,9,9,9,9,19,22,23,9,35,24,45,46,45,46,47,33,0,0,0,33,33,0,41,0,0,0,33,0,0,17,33,0,0,0,0,0,0,0,33,42,0,0,33,0,0,33,0,17,33,9,9,0,6,6,9,43,34,37,34,42,9,9,9,9,9,9,12,37,35,12,37,19,9,0,9,9,9,13,9,9,9,9,9,41,9,9,9,9,9,19,23,36,13,36,12,37,9,36,13,44,36,22,0,6,9,0,36,9,9,9,9,19,38,34,0,13,9,9,9,9,9,9,19,22,23,9,35,33,0,33,33,0,33,0,33,33,33,33,33,41,0,0,0,0,42,42,41,44,33,0,0,0,33,33,0,41,0,0,0,33,0,0,17,33,0,0,0,0,0,0,0,33,42,0,0,33,0,0,33,0,17,33,9,9,6,6,9,43,34,37,34,42,9,9,9,9,9,9,12,37,35,12,37,19,9,9,9,9,13,9,9,9,9,9,41,9,9,9,9,9,19,23,36,13,36,12,37,9,36,13,44,36,22,6,9,36,9,9,9,9,19,38,34,13,9,9,9,9,9,9,19,22,23,9,35,0,33,0,33,33,0,33,0,33,33,33,33,33,41,0,0,0,0,42,42,41,44,33,0,0,0,33,33,0,41,0,0,0,33,0,0,17,33,0,0,0,0,0,0,0,33,42,0,0,33,0,0,33,0,17,33,9,9,6,6,9,43,34,37,34,42,9,9,9,9,9,9,12,37,0,35,12,37,19,9,9,9,9,13,9,9,9,9,9,41,9,9,9,9,9,19,23,36,13,36,12,37,9,36,13,44,36,22,6,9,36,9,9,9,9,19,38,34,13,9,9,9,9,9,9,19,22,23,9,35,33,0,0,0,33,33,0,41,0,0,0,33,0,0,17,33,0,0,0,0,0,0,0,33,42,0,0,33,0,0,33,0,17,33,9,9,0,6,6,9,43,34,37,34,42,9,9,9,9,9,9,12,37,35,12,37,19,9,9,9,9,13,9,9,9,9,9,41,9,9,9,9,9,19,23,36,13,36,12,37,9,36,13,44,36,22,6,9,36,9,9,9,9,19,38,34,13,9,9,9,9,9,9,19,22,23,9,35,0,0,0,33,0,0,0,33,33,0,41,0,0,0,33,0,0,17,33,0,0,0,0,0,0,0,33,42,0,0,33,0,0,33,0,17,33,9,9,6,33,19,22,17,23,34,35,36,13,6,12,37,38,33,19,22,17,23,34,35,36,13,6,12,37,38,6,9,19,22,17,23,34,35,36,13,6,12,37,38,43,19,22,17,23,34,35,36,13,6,12,37,38,34,37,34,42,9,9,34,36,13,6,12,37,38,9,9,9,9,12,37,19,22,17,23,34,35,36,13,6,12,37,38,35,12,37,19,9,19,22,17,23,34,35,36,13,6,12,37,38,9,9,9,33,33,19,22,17,23,34,35,36,13,6,12,37,38,33,19,22,17,23,34,35,36,36,13,6,12,37,38,13,9,9,9,9,9,41,9,9,9,9,9,19,23,36,13,36,33,19,22,17,23,34,35,36,13,6,12,37,38,12,37,9,36,13,44,36,22,0,6,9,33,36,9,9,9,9,19,38,19,22,17,23,34,35,36,13,6,12,37,38,34,33,0,13,19,22,17,23,34,35,36,13,6,12,37,38,33,33,19,22,17,23,34,35,36,13,6,12,37,38,33,19,22,17,23,34,35,36,13,6,12,37,38,33,19,22,17,23,34,35,36,13,6,12,37,38,9,9,9,9,9,9,19,22,23,9,35,33,19,22,17,23,34,35,36,13,6,12,37,38,41,0,0,0,0,42,42,41,44,0],"f":[0,0,0,0,0,0,0,[[1,2,2],[[5,[[4,[3]]]]]],[[1,2,2,6],[[5,[[4,[3]]]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[1,[7,[2]],2],[[5,[[4,[3]]]]]],[1,1],[8,8],[[],[[4,[9,10]]]],[[]],[[]],[11,[[5,[[4,[3]]]]]],[[1,2,12],[[5,[[4,[3]]]]]],[[1,13],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],0,0,[[1,2],[[5,[[4,[3]]]]]],[[8,8],14],0,[[1,2,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],[[8,15],16],[[]],[[]],[[]],[[]],[[]],[[1,2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,[7,[2]],2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,17],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],0,0,[[]],[[]],[[]],[[]],[[]],[[1,2,18],[[5,[[4,[3]]]]]],0,[1,[[5,[[4,[3]]]]]],0,[1,[[5,[[4,[3]]]]]],0,0,0,0,[[1,2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,19],[[5,[[4,[3]]]]]],[[]],[[]],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],21],[[],21],[[],21],[[],21],[[],21],[[1,2,2,2],[[5,[[4,[3]]]]]],[[1,2,12],[[5,[[4,[3]]]]]],[[1,22],[[5,[[4,[3]]]]]],[[1,23],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],0,[[1,2],[[5,[[4,[3]]]]]],[[]],[[]],[[]],[[]],[[]],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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2,6],[[5,[[4,[3,10]]]]]],[24,[[7,[25]]]],0,0,[[]],[[]],0,[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[4,[9,10]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[13,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,[2,[[5,[[4,[3,10]]]]]],0,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[24,15],[[20,[26]]]],[[24,15],[[20,[26]]]],[27,24],[28,24],[[]],[29,24],[[],24],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[17,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,0,0,[[]],[24,[[7,[[4,[25,10]]]]]],0,0,[[2,18],[[5,[[4,[3,10]]]]]],0,0,[[],[[5,[[4,[3,10]]]]]],0,0,0,0,[[],[[5,[[4,[3,10]]]]]],0,[30],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[19,[[5,[[4,[3,10]]]]]],0,0,0,[24,[[7,[31]]]],0,0,[[],32],[[],20],[[],20],[[],21],[[2,2,2],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[22,[[5,[[4,[3,10]]]]]],[23,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,[2,[[5,[[4,[3,10]]]]]],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,0,0,0,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2,6],[[5,[[4,[3,10]]]]]],0,0,0,[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[4,[9,10]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[13,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,[2,[[5,[[4,[3,10]]]]]],0,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[17,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,[[2,18],[[5,[[4,[3,10]]]]]],0,0,[[],[[5,[[4,[3,10]]]]]],0,0,0,0,[[],[[5,[[4,[3,10]]]]]],0,0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[19,[[5,[[4,[3,10]]]]]],0,0,0,0,0,[[2,2,2],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[22,[[5,[[4,[3,10]]]]]],[23,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,[2,[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],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,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2,6],[[5,[[4,[3,10]]]]]],0,0,[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[4,[9,10]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[13,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[17,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,[[2,18],[[5,[[4,[3,10]]]]]],0,0,[[],[[5,[[4,[3,10]]]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[19,[[5,[[4,[3,10]]]]]],0,0,0,0,[[2,2,2],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[22,[[5,[[4,[3,10]]]]]],[23,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,[2,[[5,[[4,[3,10]]]]]],0,[[19,12,6,13],3],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],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,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2,6],[[5,[[4,[3,10]]]]]],0,0,[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[4,[9,10]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[13,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[17,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,[[2,18],[[5,[[4,[3,10]]]]]],0,0,[[],[[5,[[4,[3,10]]]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[19,[[5,[[4,[3,10]]]]]],0,0,0,0,[[2,2,2],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[22,[[5,[[4,[3,10]]]]]],[23,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,[2,[[5,[[4,[3,10]]]]]],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,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2,6],[[5,[[4,[3,10]]]]]],0,0,0,[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[4,[9,10]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[13,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[17,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,[[2,18],[[5,[[4,[3,10]]]]]],0,0,[[],[[5,[[4,[3,10]]]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[19,[[5,[[4,[3,10]]]]]],0,0,0,0,[[2,2,2],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[22,[[5,[[4,[3,10]]]]]],[23,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,[2,[[5,[[4,[3,10]]]]]],0,[[19,12,6,13],3],[24,33],[[24,33],33],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,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2,6],[[5,[[4,[3,10]]]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[19,19],[22,22],[17,17],[23,23],[34,34],[35,35],[36,36],[13,13],[6,6],[12,12],[37,37],[38,38],[[],[[4,[9,10]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,[[],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[13,[[5,[[4,[3,10]]]]]],[[],34],[[],36],[[],13],[[],6],[[],12],[[],37],[[],38],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],0,0,[[],[[20,[19]]]],[[],[[20,[22]]]],[[],[[20,[17]]]],[[],[[20,[23]]]],[[],[[20,[34]]]],[[],[[20,[35]]]],[[],[[20,[36]]]],[[],[[20,[13]]]],[[],[[20,[6]]]],[[],[[20,[12]]]],[[],[[20,[37]]]],[[],[[20,[38]]]],0,0,0,0,[2,[[5,[[4,[3,10]]]]]],[[19,19],14],[[22,22],14],[[17,17],14],[[23,23],14],[[34,34],14],[[35,35],14],[[36,36],14],[[13,13],14],[[6,6],14],[[12,12],14],[[37,37],14],[[38,38],14],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[33,15],[[20,[26]]]],[[33,15],[[20,[26]]]],[[19,15],[[20,[26]]]],[[22,15],[[20,[26]]]],[[17,15],[[20,[26]]]],[[23,15],[[20,[26]]]],[[34,15],[[20,[26]]]],[[35,15],[[20,[26]]]],[[36,15],[[20,[26]]]],[[13,15],[[20,[26]]]],[[6,15],[[20,[26]]]],[[12,15],[[20,[26]]]],[[37,15],[[20,[26]]]],[[38,15],[[20,[26]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[8,36],[[]],[[]],[[]],[[]],[[]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[17,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[2,18],[[5,[[4,[3,10]]]]]],0,0,[[],[[5,[[4,[3,10]]]]]],0,0,0,0,[[],[[5,[[4,[3,10]]]]]],[30],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[19,[[5,[[4,[3,10]]]]]],0,0,[19,20],[22,20],[17,20],[23,20],[34,20],[35,20],[36,20],[13,20],[6,20],[12,20],[37,20],[38,20],0,[33,[[7,[31]]]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],32],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[2,2,2],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[22,[[5,[[4,[3,10]]]]]],[23,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,[2,[[5,[[4,[3,10]]]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,[[],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[[19,12,6,13],3]],"p":[[3,"Database"],[15,"str"],[8,"Future"],[3,"Box"],[3,"Pin"],[3,"TrafficPattern"],[4,"Option"],[3,"InnerNotification"],[8,"MCDatabase"],[3,"Global"],[4,"ConnectionOptions"],[3,"CreateCaptcha"],[3,"AddNotification"],[15,"bool"],[3,"Formatter"],[6,"Result"],[4,"Login"],[15,"i32"],[3,"Register"],[4,"Result"],[3,"TypeId"],[3,"UpdateEmail"],[3,"NameHash"],[4,"Error"],[8,"DatabaseError"],[3,"Error"],[4,"MigrateError"],[3,"Error"],[3,"InvalidDNSNameError"],[3,"Demand"],[8,"Error"],[3,"String"],[4,"DBError"],[3,"StatsUnixTimestamp"],[3,"Level"],[3,"Notification"],[3,"Captcha"],[3,"Secret"],[3,"Conn"],[3,"Fresh"],[8,"GetConnection"],[8,"Connect"],[8,"CloneSPDatabase"],[8,"Migrate"],[13,"ColumnIndexOutOfBounds"],[13,"ColumnDecode"],[13,"TypeNotFound"]]},\ +"db_sqlx_postgres":{"doc":"","t":[3,4,3,13,3,13,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,0,12,11,11,0,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,12,11,12,11,12,12,0,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,12,11,11,11,11,11,11,13,3,6,3,13,13,8,13,13,13,13,16,8,3,4,13,8,6,2,13,13,13,13,4,8,13,3,4,8,8,13,3,3,13,16,13,13,13,3,13,3,13,3,13,3,13,13,3,13,13,13,10,10,11,23,12,11,11,12,10,10,12,12,12,10,10,10,10,10,10,10,12,12,0,12,12,12,12,10,0,10,10,10,11,11,11,11,11,11,11,12,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,11,11,12,12,10,12,12,10,12,12,0,12,10,0,11,12,10,10,10,10,12,12,12,11,0,12,11,11,11,11,10,10,10,10,10,10,12,12,12,10,12,11,12,12,12,12,12,13,3,6,3,13,13,8,16,8,3,4,13,8,6,13,13,8,3,4,8,8,3,3,13,16,3,3,13,3,3,13,3,13,13,10,10,23,12,12,10,10,12,12,12,10,10,10,10,10,10,10,12,12,12,12,12,12,10,0,10,10,10,12,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,10,12,12,10,12,12,0,12,10,0,12,10,10,10,10,12,12,12,0,12,10,10,10,10,10,10,12,12,12,10,12,13,6,13,13,4,13,6,13,13,13,13,13,16,8,8,8,8,16,10,10,10,13,3,6,3,13,13,8,16,8,3,4,13,8,6,13,13,8,3,4,8,8,3,3,13,16,3,3,13,3,3,13,3,13,13,10,10,12,12,10,10,12,12,12,10,10,10,10,10,10,10,12,12,12,12,12,12,10,10,10,10,12,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,10,12,12,10,12,12,12,10,12,10,10,10,10,12,12,12,12,10,10,10,10,10,10,12,12,12,10,12,5,13,6,13,13,4,13,6,13,13,13,13,13,16,8,8,8,8,16,10,10,10,13,3,6,3,13,13,8,16,8,3,4,13,8,6,13,13,8,3,4,8,8,3,3,13,16,3,3,13,3,3,13,3,13,13,10,10,12,12,10,10,12,12,12,10,10,10,10,10,10,10,12,12,0,12,12,12,12,10,10,10,10,12,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,10,12,12,10,12,12,12,10,12,10,10,10,10,12,12,12,12,10,10,10,10,10,10,12,12,12,10,12,13,3,6,3,13,13,8,16,8,3,4,13,8,6,13,13,8,3,4,8,8,3,3,13,16,3,3,13,3,3,13,3,13,13,10,10,23,12,12,10,10,12,12,12,10,10,10,10,10,10,10,12,12,12,12,12,12,10,10,10,10,12,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,10,12,12,10,12,12,12,10,12,10,10,10,10,12,12,12,12,10,10,10,10,10,10,12,12,12,10,12,5,5,5,13,3,6,3,13,13,8,16,8,3,4,13,8,6,13,13,8,3,4,8,8,3,3,13,16,3,3,13,3,3,13,3,13,13,10,10,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,12,10,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,10,10,10,11,11,11,11,11,11,11,10,10,10,10,12,12,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,10,11,11,11,11,11,11,11,11,11,11,11,11,10,10,10,11,11,11,11,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,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,10,12,12,10,12,12,0,12,10,11,12,10,10,10,10,12,12,11,11,11,11,11,11,11,11,11,11,11,11,12,11,0,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,10,10,10,10,10,10,12,12,12,10,12,11,11,11,11,11,11,11,11,11,11,11,11,11,16,8,8,8,8,16,10,10,10,5],"n":["Conn","ConnectionOptions","Database","Existing","Fresh","Fresh","InnerNotification","add_captcha_levels","add_traffic_pattern","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","captcha_exists","clone","clone","clone_db","clone_into","clone_into","connect","create_captcha","create_notification","default","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","dev","disable_logging","email_exists","eq","errors","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","from","from","from","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","heading","id","into","into","into","into","into","mark_notification_read","message","migrate","name","ping","pool","pool_options","prelude","received","record_confirm","record_fetch","record_solve","register","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","update_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","url","username_exists","vzip","vzip","vzip","vzip","vzip","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","ColumnDecode","ColumnIndexOutOfBounds","ColumnNotFound","Configuration","Conn","Connect","CreateCaptcha","DBError","DBError","DBOps","DBResult","Database","Database","Decode","Email","EmailTaken","Error","GetConnection","Io","Level","Login","MCDatabase","Migrate","Migrate","NameHash","Notification","NotificationNotFound","Pool","PoolClosed","PoolTimedOut","Protocol","Register","RowNotFound","Secret","SecretTaken","StatsUnixTimestamp","Tls","TrafficPattern","TrafficPatternNotFound","TypeNotFound","UpdateEmail","Username","UsernameTaken","WorkerCrashed","add_captcha_levels","add_traffic_pattern","as_database_error","async_trait","avg_traffic","borrow","borrow_mut","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","dev","difficulty_factor","duration","duration","email","email_exists","errors","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","fmt","from","from","from","from","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","into","into_database_error","key","key","mark_notification_read","message","message","migrate","name","new_email","ops","peak_sustainable_traffic","ping","prelude","provide","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","source","tests","to","to_string","try_from","try_into","type_id","update_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","vzip","index","index","len","source","type_name","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","async_trait","avg_traffic","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","difficulty_factor","duration","duration","email","email_exists","errors","fetch_config_fetched","fetch_confirm","fetch_solve","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","key","key","mark_notification_read","message","message","migrate","name","new_email","ops","peak_sustainable_traffic","ping","prelude","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","tests","to","update_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","AccountNotFound","BoxDynError","CaptchaKeyTaken","CaptchaNotFound","DBError","DBError","DBResult","EmailTaken","NotificationNotFound","SecretTaken","TrafficPatternNotFound","UsernameTaken","Conn","Connect","DBOps","GetConnection","Migrate","Pool","connect","get_conn","migrate","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","avg_traffic","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","difficulty_factor","duration","duration","email","email_exists","fetch_config_fetched","fetch_confirm","fetch_solve","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","key","key","mark_notification_read","message","message","migrate","name","new_email","peak_sustainable_traffic","ping","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","to","update_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","database_works","AccountNotFound","BoxDynError","CaptchaKeyTaken","CaptchaNotFound","DBError","DBError","DBResult","EmailTaken","NotificationNotFound","SecretTaken","TrafficPatternNotFound","UsernameTaken","Conn","Connect","DBOps","GetConnection","Migrate","Pool","connect","get_conn","migrate","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","avg_traffic","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","dev","difficulty_factor","duration","duration","email","email_exists","fetch_config_fetched","fetch_confirm","fetch_solve","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","key","key","mark_notification_read","message","message","migrate","name","new_email","peak_sustainable_traffic","ping","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","to","update_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","async_trait","avg_traffic","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","difficulty_factor","duration","duration","email","email_exists","fetch_config_fetched","fetch_confirm","fetch_solve","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","key","key","mark_notification_read","message","message","migrate","name","new_email","peak_sustainable_traffic","ping","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","to","update_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","database_works","map_register_err","map_row_not_found_err","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","avg_traffic","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","broke_my_site_traffic","captcha_exists","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_db","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","config_fetches","config_id","confirms","connect","create_captcha","create_notification","default","default","default","default","default","default","default","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","difficulty_factor","duration","duration","email","email_exists","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","into","into","into","into","into","into","into","into","into","into","into","into","into","key","key","mark_notification_read","message","message","migrate","name","new_email","ops","peak_sustainable_traffic","ping","provide","received","record_confirm","record_fetch","record_solve","register","secret","secret","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","solves","source","tests","to","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","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_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","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_captcha_key","update_captcha_metadata","update_email","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","Conn","Connect","DBOps","GetConnection","Migrate","Pool","connect","get_conn","migrate","database_works"],"q":["db_sqlx_postgres","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_postgres::dev","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_postgres::dev::Error","","","","","db_sqlx_postgres::dev::dev","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_postgres::dev::dev::errors","","","","","","","","","","","","db_sqlx_postgres::dev::dev::ops","","","","","","","","","db_sqlx_postgres::dev::dev::prelude","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_postgres::dev::dev::tests","db_sqlx_postgres::dev::errors","","","","","","","","","","","","db_sqlx_postgres::dev::ops","","","","","","","","","db_sqlx_postgres::dev::prelude","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_postgres::dev::prelude::dev","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_postgres::dev::tests","db_sqlx_postgres::errors","","db_sqlx_postgres::prelude","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","db_sqlx_postgres::prelude::ops","","","","","","","","","db_sqlx_postgres::prelude::tests"],"d":["Use an existing database pool","Connect to database","","existing connection","","fresh connection","Represents notification","Add levels to captcha","Add traffic configuration","","","","","","","","","","","check if captcha exists","","","","","","","create new captcha","create new notification","","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","","","check if email exists","","Error-handling utilities","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","heading of the notification","db assigned ID of the notification","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","mark a notification read","message of the notification","","receiver name of the notification","ping DB","","","","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","","","","","","","","","","","","","","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","","check if username exists","","","","","","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","Error occurred while decoding a value from a specific …","Column index was out of bounds.","No column found for the given name.","Error occurred while parsing a connection string.","database connection type","Create database connection","data required to create new captcha","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","","Error returned from the database.","Error occurred while decoding a value.","email as login","Email is taken","Represents all the ways a method can fail within SQLx.","Get database connection","Error communicating with the database backend.","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","","type encapsulating username and hashed password of a user","Represents notification","Notification not found","database specific pool-type","Pool::close was called while we were waiting in …","A Pool::acquire timed out due to connections not becoming …","Unexpected or invalid data encountered while communicating …","Data required to register a new user","No rows returned by a query that expected to return at …","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","Error occurred while attempting to establish a TLS …","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","Type in query doesn’t exist. Likely due to typo or …","data required to update them email of a user","username as login","Username is taken","A background worker has crashed.","Add levels to captcha","Add traffic configuration","","","average traffic of user’s website","","","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","useful imports for supporting a new database","","cool down duration","cool down duration","Optionally, email of new use","check if email exists","represents all the ways a trait can fail using this crate","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","","","","Returns the argument unchanged.","","","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","db assigned ID of the notification","Calls U::from(self).","","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","meta operations like migration and connecting to a database","the peak traffic that the user’s website can handle","ping DB","useful imports for users working with a supported database","","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","","Test utilities","who is the notification addressed to?","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","","","","","","","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","","average traffic of user’s website","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","","cool down duration","cool down duration","Optionally, email of new use","check if email exists","represents all the ways a trait can fail using this crate","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","db assigned ID of the notification","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","meta operations like migration and connecting to a database","the peak traffic that the user’s website can handle","ping DB","useful imports for users working with a supported database","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","Test utilities","who is the notification addressed to?","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","Account not found","Convenience type alias for grouping driver-specific errors","Captcha key is taken","Captcha not found","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Generic result data structure","Email is taken","Notification not found","Secret is taken","Traffic pattern not found","Username is taken","database connection type","Create database connection","Database operations trait(migrations, pool creation and …","Get database connection","database migrations","database specific pool-type","database specific error-type create connection pool","database specific error-type get connection from …","database specific error-type run migrations","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","average traffic of user’s website","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","","cool down duration","cool down duration","Optionally, email of new use","check if email exists","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","db assigned ID of the notification","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","the peak traffic that the user’s website can handle","ping DB","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","who is the notification addressed to?","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","test all database functions","Account not found","Convenience type alias for grouping driver-specific errors","Captcha key is taken","Captcha not found","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Generic result data structure","Email is taken","Notification not found","Secret is taken","Traffic pattern not found","Username is taken","database connection type","Create database connection","Database operations trait(migrations, pool creation and …","Get database connection","database migrations","database specific pool-type","database specific error-type create connection pool","database specific error-type get connection from …","database specific error-type run migrations","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","average traffic of user’s website","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","useful imports for supporting a new database","","cool down duration","cool down duration","Optionally, email of new use","check if email exists","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","db assigned ID of the notification","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","the peak traffic that the user’s website can handle","ping DB","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","who is the notification addressed to?","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","","average traffic of user’s website","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","","cool down duration","cool down duration","Optionally, email of new use","check if email exists","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","db assigned ID of the notification","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","the peak traffic that the user’s website can handle","ping DB","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","who is the notification addressed to?","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","test all database functions","map postgres errors to DBError types","map custom row not found error to DB error","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","average traffic of user’s website","","","","","","","","","","","","","","","","","","","","","","","","","","","traffic that bought the user’s website down; optional","check if captcha exists","","","","","","","","","","","","","clone DB","","","","","","","","","","","","","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","","","","","","","","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","","","","","","","","","","","","","","cool down duration","cool down duration","Optionally, email of new use","check if email exists","","","","","","","","","","","","","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","","","","","","","","","","","","","","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.","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","db assigned ID of the notification","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).","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","meta operations like migration and connecting to a database","the peak traffic that the user’s website can handle","ping DB","","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","","","","","","","","","","","","","times at which the PoW was solved","","Test utilities","who is the notification addressed to?","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","","","","","","","","","","","","","","database connection type","Create database connection","Database operations trait(migrations, pool creation and …","Get database connection","database migrations","database specific pool-type","database specific error-type create connection pool","database specific error-type get connection from …","database specific error-type run migrations","test all database functions"],"i":[0,0,0,11,0,11,0,1,1,39,11,40,1,8,39,11,40,1,8,1,1,8,1,1,8,11,1,1,8,1,1,1,1,0,40,1,8,0,1,1,1,8,39,11,40,1,8,1,1,1,1,1,1,1,1,1,1,8,8,39,11,40,1,8,1,8,1,8,1,1,40,0,8,1,1,1,1,1,8,39,11,40,1,8,39,11,40,1,8,39,11,40,1,8,1,1,1,1,1,1,40,1,39,11,40,1,8,33,0,0,0,33,33,0,24,24,24,24,41,0,0,0,33,0,0,0,24,24,17,33,0,0,24,0,0,0,0,24,0,0,33,42,24,24,24,0,24,0,33,0,24,0,33,24,0,17,33,24,9,9,24,0,6,24,24,6,9,43,34,37,34,42,9,9,9,9,9,9,12,37,0,35,12,37,19,9,0,9,9,9,24,24,24,24,24,24,24,13,9,9,9,9,9,41,9,9,9,9,9,19,23,36,13,36,24,24,12,37,9,36,13,44,36,22,0,6,9,0,24,36,9,9,9,9,19,38,34,24,0,13,24,24,24,24,9,9,9,9,9,9,19,22,23,9,35,24,45,46,45,46,47,33,0,0,0,33,33,0,41,0,0,0,33,0,0,17,33,0,0,0,0,0,0,0,33,42,0,0,33,0,0,33,0,17,33,9,9,0,6,6,9,43,34,37,34,42,9,9,9,9,9,9,12,37,35,12,37,19,9,0,9,9,9,13,9,9,9,9,9,41,9,9,9,9,9,19,23,36,13,36,12,37,9,36,13,44,36,22,0,6,9,0,36,9,9,9,9,19,38,34,0,13,9,9,9,9,9,9,19,22,23,9,35,33,0,33,33,0,33,0,33,33,33,33,33,41,0,0,0,0,42,42,41,44,33,0,0,0,33,33,0,41,0,0,0,33,0,0,17,33,0,0,0,0,0,0,0,33,42,0,0,33,0,0,33,0,17,33,9,9,6,6,9,43,34,37,34,42,9,9,9,9,9,9,12,37,35,12,37,19,9,9,9,9,13,9,9,9,9,9,41,9,9,9,9,9,19,23,36,13,36,12,37,9,36,13,44,36,22,6,9,36,9,9,9,9,19,38,34,13,9,9,9,9,9,9,19,22,23,9,35,0,33,0,33,33,0,33,0,33,33,33,33,33,41,0,0,0,0,42,42,41,44,33,0,0,0,33,33,0,41,0,0,0,33,0,0,17,33,0,0,0,0,0,0,0,33,42,0,0,33,0,0,33,0,17,33,9,9,6,6,9,43,34,37,34,42,9,9,9,9,9,9,12,37,0,35,12,37,19,9,9,9,9,13,9,9,9,9,9,41,9,9,9,9,9,19,23,36,13,36,12,37,9,36,13,44,36,22,6,9,36,9,9,9,9,19,38,34,13,9,9,9,9,9,9,19,22,23,9,35,33,0,0,0,33,33,0,41,0,0,0,33,0,0,17,33,0,0,0,0,0,0,0,33,42,0,0,33,0,0,33,0,17,33,9,9,0,6,6,9,43,34,37,34,42,9,9,9,9,9,9,12,37,35,12,37,19,9,9,9,9,13,9,9,9,9,9,41,9,9,9,9,9,19,23,36,13,36,12,37,9,36,13,44,36,22,6,9,36,9,9,9,9,19,38,34,13,9,9,9,9,9,9,19,22,23,9,35,0,0,0,33,0,0,0,33,33,0,41,0,0,0,33,0,0,17,33,0,0,0,0,0,0,0,33,42,0,0,33,0,0,33,0,17,33,9,9,6,33,19,22,17,23,34,35,36,13,6,12,37,38,33,19,22,17,23,34,35,36,13,6,12,37,38,6,9,19,22,17,23,34,35,36,13,6,12,37,38,43,19,22,17,23,34,35,36,13,6,12,37,38,34,37,34,42,9,9,34,36,13,6,12,37,38,9,9,9,9,12,37,19,22,17,23,34,35,36,13,6,12,37,38,35,12,37,19,9,19,22,17,23,34,35,36,13,6,12,37,38,9,9,9,33,33,19,22,17,23,34,35,36,13,6,12,37,38,33,19,22,17,23,34,35,36,36,13,6,12,37,38,13,9,9,9,9,9,41,9,9,9,9,9,19,23,36,13,36,33,19,22,17,23,34,35,36,13,6,12,37,38,12,37,9,36,13,44,36,22,0,6,9,33,36,9,9,9,9,19,38,19,22,17,23,34,35,36,13,6,12,37,38,34,33,0,13,19,22,17,23,34,35,36,13,6,12,37,38,33,33,19,22,17,23,34,35,36,13,6,12,37,38,33,19,22,17,23,34,35,36,13,6,12,37,38,33,19,22,17,23,34,35,36,13,6,12,37,38,9,9,9,9,9,9,19,22,23,9,35,33,19,22,17,23,34,35,36,13,6,12,37,38,41,0,0,0,0,42,42,41,44,0],"f":[0,0,0,0,0,0,0,[[1,2,2],[[5,[[4,[3]]]]]],[[1,2,2,6],[[5,[[4,[3]]]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[1,[7,[2]],2],[[5,[[4,[3]]]]]],[1,1],[8,8],[[],[[4,[9,10]]]],[[]],[[]],[11,[[5,[[4,[3]]]]]],[[1,2,12],[[5,[[4,[3]]]]]],[[1,13],[[5,[[4,[3]]]]]],[[],8],[[1,2,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],0,0,[[1,2],[[5,[[4,[3]]]]]],[[8,8],14],0,[[1,2,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],[[8,15],16],[[]],[[]],[[]],[[]],[[]],[[1,2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,[7,[2]],2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,17],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],0,0,[[]],[[]],[[]],[[]],[[]],[[1,2,18],[[5,[[4,[3]]]]]],0,[1,[[5,[[4,[3]]]]]],0,[1,[[5,[[4,[3]]]]]],0,0,0,0,[[1,2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,2],[[5,[[4,[3]]]]]],[[1,19],[[5,[[4,[3]]]]]],[[]],[[]],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],21],[[],21],[[],21],[[],21],[[],21],[[1,2,2,2],[[5,[[4,[3]]]]]],[[1,2,12],[[5,[[4,[3]]]]]],[[1,22],[[5,[[4,[3]]]]]],[[1,23],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],[[1,2,2],[[5,[[4,[3]]]]]],0,[[1,2],[[5,[[4,[3]]]]]],[[]],[[]],[[]],[[]],[[]],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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2,6],[[5,[[4,[3,10]]]]]],[24,[[7,[25]]]],0,0,[[]],[[]],0,[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[4,[9,10]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[13,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,[2,[[5,[[4,[3,10]]]]]],0,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[24,15],[[20,[26]]]],[[24,15],[[20,[26]]]],[27,24],[28,24],[[]],[[],24],[29,24],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[17,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,0,0,[[]],[24,[[7,[[4,[25,10]]]]]],0,0,[[2,18],[[5,[[4,[3,10]]]]]],0,0,[[],[[5,[[4,[3,10]]]]]],0,0,0,0,[[],[[5,[[4,[3,10]]]]]],0,[30],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[19,[[5,[[4,[3,10]]]]]],0,0,0,[24,[[7,[31]]]],0,0,[[],32],[[],20],[[],20],[[],21],[[2,2,2],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[22,[[5,[[4,[3,10]]]]]],[23,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,[2,[[5,[[4,[3,10]]]]]],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,0,0,0,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2,6],[[5,[[4,[3,10]]]]]],0,0,0,[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[4,[9,10]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[13,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,[2,[[5,[[4,[3,10]]]]]],0,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[17,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,[[2,18],[[5,[[4,[3,10]]]]]],0,0,[[],[[5,[[4,[3,10]]]]]],0,0,0,0,[[],[[5,[[4,[3,10]]]]]],0,0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[19,[[5,[[4,[3,10]]]]]],0,0,0,0,0,[[2,2,2],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[22,[[5,[[4,[3,10]]]]]],[23,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,[2,[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],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,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2,6],[[5,[[4,[3,10]]]]]],0,0,[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[4,[9,10]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[13,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[17,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,[[2,18],[[5,[[4,[3,10]]]]]],0,0,[[],[[5,[[4,[3,10]]]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[19,[[5,[[4,[3,10]]]]]],0,0,0,0,[[2,2,2],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[22,[[5,[[4,[3,10]]]]]],[23,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,[2,[[5,[[4,[3,10]]]]]],0,[[19,12,6,13],3],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],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,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2,6],[[5,[[4,[3,10]]]]]],0,0,[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[4,[9,10]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[13,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[17,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,[[2,18],[[5,[[4,[3,10]]]]]],0,0,[[],[[5,[[4,[3,10]]]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[19,[[5,[[4,[3,10]]]]]],0,0,0,0,[[2,2,2],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[22,[[5,[[4,[3,10]]]]]],[23,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,[2,[[5,[[4,[3,10]]]]]],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,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2,6],[[5,[[4,[3,10]]]]]],0,0,0,[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[4,[9,10]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[13,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[17,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,0,0,0,0,[[2,18],[[5,[[4,[3,10]]]]]],0,0,[[],[[5,[[4,[3,10]]]]]],0,0,0,[[],[[5,[[4,[3,10]]]]]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[19,[[5,[[4,[3,10]]]]]],0,0,0,0,[[2,2,2],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[22,[[5,[[4,[3,10]]]]]],[23,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,[2,[[5,[[4,[3,10]]]]]],0,[[19,12,6,13],3],[24,33],[[24,33],33],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,[[2,2],[[5,[[4,[3,10]]]]]],[[2,2,6],[[5,[[4,[3,10]]]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[19,19],[22,22],[17,17],[23,23],[34,34],[35,35],[36,36],[13,13],[6,6],[12,12],[37,37],[38,38],[[],[[4,[9,10]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,[[],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[13,[[5,[[4,[3,10]]]]]],[[],34],[[],36],[[],13],[[],6],[[],12],[[],37],[[],38],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],0,0,[[],[[20,[19]]]],[[],[[20,[22]]]],[[],[[20,[17]]]],[[],[[20,[23]]]],[[],[[20,[34]]]],[[],[[20,[35]]]],[[],[[20,[36]]]],[[],[[20,[13]]]],[[],[[20,[6]]]],[[],[[20,[12]]]],[[],[[20,[37]]]],[[],[[20,[38]]]],0,0,0,0,[2,[[5,[[4,[3,10]]]]]],[[19,19],14],[[22,22],14],[[17,17],14],[[23,23],14],[[34,34],14],[[35,35],14],[[36,36],14],[[13,13],14],[[6,6],14],[[12,12],14],[[37,37],14],[[38,38],14],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[33,15],[[20,[26]]]],[[33,15],[[20,[26]]]],[[19,15],[[20,[26]]]],[[22,15],[[20,[26]]]],[[17,15],[[20,[26]]]],[[23,15],[[20,[26]]]],[[34,15],[[20,[26]]]],[[35,15],[[20,[26]]]],[[36,15],[[20,[26]]]],[[13,15],[[20,[26]]]],[[6,15],[[20,[26]]]],[[12,15],[[20,[26]]]],[[37,15],[[20,[26]]]],[[38,15],[[20,[26]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[8,36],[[]],[[]],[[]],[[]],[[]],[[]],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[[7,[2]],2],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[17,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[2,18],[[5,[[4,[3,10]]]]]],0,0,[[],[[5,[[4,[3,10]]]]]],0,0,0,0,[[],[[5,[[4,[3,10]]]]]],[30],0,[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[2,[[5,[[4,[3,10]]]]]],[19,[[5,[[4,[3,10]]]]]],0,0,[19,20],[22,20],[17,20],[23,20],[34,20],[35,20],[36,20],[13,20],[6,20],[12,20],[37,20],[38,20],0,[33,[[7,[31]]]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],32],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[2,2,2],[[5,[[4,[3,10]]]]]],[[2,12],[[5,[[4,[3,10]]]]]],[22,[[5,[[4,[3,10]]]]]],[23,[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],[[2,2],[[5,[[4,[3,10]]]]]],0,0,0,[2,[[5,[[4,[3,10]]]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,[[],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[[],[[5,[[4,[3,10]]]]]],[[19,12,6,13],3]],"p":[[3,"Database"],[15,"str"],[8,"Future"],[3,"Box"],[3,"Pin"],[3,"TrafficPattern"],[4,"Option"],[3,"InnerNotification"],[8,"MCDatabase"],[3,"Global"],[4,"ConnectionOptions"],[3,"CreateCaptcha"],[3,"AddNotification"],[15,"bool"],[3,"Formatter"],[6,"Result"],[4,"Login"],[15,"i32"],[3,"Register"],[4,"Result"],[3,"TypeId"],[3,"UpdateEmail"],[3,"NameHash"],[4,"Error"],[8,"DatabaseError"],[3,"Error"],[3,"Error"],[4,"MigrateError"],[3,"InvalidDNSNameError"],[3,"Demand"],[8,"Error"],[3,"String"],[4,"DBError"],[3,"StatsUnixTimestamp"],[3,"Level"],[3,"Notification"],[3,"Captcha"],[3,"Secret"],[3,"Conn"],[3,"Fresh"],[8,"GetConnection"],[8,"Connect"],[8,"CloneSPDatabase"],[8,"Migrate"],[13,"ColumnIndexOutOfBounds"],[13,"ColumnDecode"],[13,"TypeNotFound"]]},\ +"mcaptcha":{"doc":"","t":[6,6,3,17,17,3,3,17,3,3,3,3,17,3,3,3,3,3,3,3,17,17,17,17,3,3,3,3,17,3,3,17,17,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,0,12,0,0,12,12,0,11,11,11,11,11,11,11,11,0,0,0,11,11,11,11,11,11,11,11,5,5,11,11,11,11,11,11,11,11,12,5,0,12,0,12,0,12,12,12,0,0,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,0,0,2,3,0,0,11,11,11,11,5,11,0,0,0,0,12,0,5,11,11,11,11,3,3,2,11,11,11,11,11,11,11,11,0,11,11,0,12,11,11,11,11,11,11,2,0,0,0,11,11,5,11,11,11,11,11,11,11,11,0,12,11,11,11,11,3,11,11,11,0,5,11,11,11,11,5,3,11,11,11,11,11,11,11,11,11,12,3,11,11,11,11,11,11,11,11,11,11,5,3,11,11,11,11,11,11,11,11,11,11,11,11,11,3,3,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,12,12,12,11,11,5,11,11,11,11,11,11,11,11,11,11,5,3,11,11,11,3,11,11,12,12,11,12,11,11,11,11,11,12,12,12,12,12,11,11,11,11,11,11,11,3,11,11,11,11,5,11,11,11,11,11,11,3,11,11,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,11,5,3,11,11,11,11,11,11,11,11,11,11,12,3,11,11,11,5,11,11,11,11,11,11,11,11,11,11,11,11,3,3,11,11,11,0,0,5,3,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,12,12,11,12,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,5,12,12,12,5,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,0,0,0,0,5,0,5,0,0,3,3,11,11,11,11,11,11,11,11,3,12,11,11,12,11,11,11,11,11,11,11,12,12,12,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,5,3,11,11,11,11,11,11,3,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,3,3,12,11,11,11,11,11,11,11,11,12,5,11,11,11,11,3,11,12,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,11,11,0,11,11,5,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,3,11,11,12,11,11,11,11,11,11,12,11,3,3,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,3,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,3,11,11,12,12,12,11,12,11,11,12,11,11,11,12,12,11,3,11,11,11,11,11,11,11,11,11,11,3,11,11,12,11,0,11,11,11,11,11,11,11,11,11,11,3,11,11,11,12,11,11,11,11,11,11,3,11,11,11,11,11,11,12,11,12,11,11,11,11,11,11,12,12,11,11,0,11,11,11,11,11,11,11,11,11,11,3,3,11,11,11,5,3,3,4,3,3,4,13,13,13,13,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,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,12,12,3,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,0,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,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,3,11,11,12,11,12,11,11,11,11,11,11,0,0,0,0,5,3,3,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,12,11,11,12,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,11,11,11,11,11,11,3,12,12,11,11,12,12,12,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,12,11,11,3,11,11,11,11,11,11,11,11,11,11,3,12,11,11,11,12,11,12,11,11,11,11,11,2,0,0,5,0,0,3,11,11,11,11,11,11,11,11,11,11,3,5,11,11,12,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,12,11,11,14,12,11,11,11,11,12,11,12,11,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,3,11,11,3,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,12,11,11,11,11,12,11,11,11,11,11,11,11,11,11,12,3,11,11,11,17,3,12,12,11,11,12,11,11,11,12,11,12,12,11,11,11,11,3,13,6,13,4,11,11,11,11,11,12,12,12,14,14,11,11,11,11,11,11,11,12,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,17,3,17,17,17,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,6,0,0,5,5,17,17,3,11,11,11,11,11,12,11,11,11,11,11,11,11,11,3,17,17,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,5,3,11,11,11,11,11,11,11,11,11,0,5,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,12,11,11,11,12,11,11,12,11,11,11,11,0,3,17,11,11,11,11,11,11,11,11,11,11,11,11,11,5,12,11,13,13,13,13,13,13,3,13,3,13,13,13,13,4,6,13,13,13,13,4,13,6,3,13,13,13,13,13,13,13,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,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,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,0,0,5,0,0,5,0,0,0,0,5,0,3,3,17,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,3,17,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,12,12,11,11,11,11,11,17,3,11,11,11,11,12,11,11,11,11,11,11,11,11,11,12,11,17,3,3,17,3,12,12,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,11,12,11,11,11,11,0,5,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,12,11,11,11,11,11,12,11,3,17,11,11,11,11,11,11,11,11,11,11,11,0,3,11,11,11,0,5,0,0,12,11,11,11,11,11,11,11,11,11,3,3,17,11,11,11,11,11,11,11,11,11,11,12,12,11,11,11,12,12,12,11,3,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,12,11,11,12,12,12,11,11,11,11,3,17,11,11,11,11,11,11,11,11,11,11,3,12,11,11,11,11,11,11,11,11,11,11,11,11,11,0,12,5,3,11,11,11,11,11,11,11,11,11,11,11,11,11,3,12,11,11,11,11,3,11,11,12,11,11,12,11,11,11,11,11,12,11,0,0,0,0,0,5,0,3,3,3,3,17,12,12,3,12,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,3,12,12,12,12,12,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,11,11,11,11,3,11,11,11,11,11,11,11,3,3,17,3,11,11,11,11,11,11,11,11,11,11,11,11,12,3,12,11,11,11,11,11,11,11,11,12,12,12,12,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,3,17,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,12,11,11,11,11,11,11,11,11,11,3,12,12,11,11,12,12,12,11,11,11,11,11,11,11,12,11,11,11,11,12,11,3,17,11,11,11,11,11,11,12,11,11,11,11,12,12,12,11,11,11,11,12,11,11,11,11,11,11,11,3,11,11,17,3,12,12,11,11,12,12,11,11,11,12,11,11,12,12,12,12,12,11,11,11,11,3,3,12,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,11,11,11,12,11,11,11,5,3,4,3,3,13,13,3,3,3,3,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,5,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,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,12,11,12,11,11,11,11,11,11,11,11,11,12,11,12,12,12,12,12,12,12,12,12,12,12,12,11,12,5,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,12,12,12,12,12,11,11,11,11,11,11,11,11,2,0,5,0,3,11,11,12,11,11,11,11,11,11,11,11,3,3,0,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,11,5,5,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,3,3,3,3,3,6,3,3,3,3,12,12,12,12,12,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,11,11,11,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,8,3,3,8,11,11,11,11,11,11,11,11,11,11,11,11,10,12,12,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,10,11,11,10,11,11,10,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,3,17,17,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,5,3,11,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,11,12,11],"n":["AppData","ArcData","BAR_CHART","CACHE_AGE","COMPILED_DATE","CREDIT_CARD","CSS","DOCS","DOCS_ICON","Data","FILES","GITHUB","GIT_COMMIT_HASH","HELP_CIRCLE","HOME","JS","KEY","MCAPTCHA_TRANS_ICON","MESSAGE","MOBILE_CSS","PAGES","PKG_DESCRIPTION","PKG_HOMEPAGE","PKG_NAME","SETTINGS","SETTINGS_ICON","SOURCE_FILES_OF_INSTANCE","Settings","V1_API_ROUTES","VERIFICATIN_WIDGET_CSS","VERIFICATIN_WIDGET_JS","VERSION","WIDGET_ROUTES","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","allow_demo","allow_registration","api","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","captcha","captcha","commercial","creds","data","database","date","db","db","debug","demo","deref","deref","deref","deref","deref","deref","deref","deref","docs","email","errors","from","from","from","from","from","from","from","from","get_identity_service","get_json_err","into","into","into","into","into","into","into","into","mailer","main","pages","redis","routes","server","settings","settings","smtp","source_code","static_assets","stats","stats","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","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","widget","v1","ROUTES","RedirectQuery","account","auth","borrow","borrow_mut","deserialize","from","get_middleware","into","mcaptcha","meta","notifications","pow","redirect_to","routes","services","try_from","try_into","type_id","vzip","AccountCheckPayload","AccountCheckResp","auth","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","delete","deserialize","deserialize","email","exists","fmt","fmt","from","from","into","into","mcaptcha","password","routes","secret","serialize","serialize","services","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","username","val","vzip","vzip","borrow","borrow_mut","delete_account","from","into","register","runners","services","try_from","try_into","type_id","vzip","delete_user","Email","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","deserialize","email","email_exists","fmt","from","from","from","into","into","into","register","register","serialize","services","set_email","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","ChangePasswordReqest","UpdatePassword","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","confirm_new_password","confirm_new_password","deserialize","fmt","from","from","from","from","into","into","into","new_password","new_password","password","register","serialize","services","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","update_password_runner","update_user_password","vzip","vzip","vzip","Account","borrow","borrow_mut","delete","email_exists","from","get_secret","into","new","try_from","try_into","type_id","update_email","update_password","update_secret","update_username","username_exists","vzip","borrow","borrow","borrow_mut","borrow_mut","from","from","get_secret","into","into","register","register","services","try_from","try_from","try_into","try_into","type_id","type_id","update_user_secret","vzip","vzip","Username","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","deserialize","fmt","from","from","from","into","into","into","register","register","runners","serialize","services","set_username","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","username","username_exists","vzip","vzip","vzip","username_exists","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","from","from","from","into","into","into","login","register","register","register","register","routes","runners","services","signout","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","Auth","borrow","borrow_mut","from","get_login_route","into","login","logout","new","register","try_from","try_into","type_id","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","login_runner","password","password","password","register_runner","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","create","delete","easy","get","get_random","routes","services","stats","update","CreateCaptcha","MCaptchaDetails","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","create","description","deserialize","deserialize","duration","fmt","from","from","from","into","into","into","key","levels","name","register","runner","serialize","serialize","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","create","DeleteCaptcha","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","delete","deserialize","fmt","from","from","into","into","key","password","register","serialize","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","TrafficPatternRequest","UpdateTrafficPattern","avg_traffic","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","broke_my_site_traffic","calculate","clone","clone","clone_into","clone_into","create","default","description","deserialize","deserialize","fmt","fmt","from","from","from","from","into","into","into","into","key","pattern","peak_sustainable_traffic","register","register","routes","serialize","serialize","services","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","update","vzip","vzip","vzip","vzip","Easy","borrow","borrow_mut","create","from","into","new","try_from","try_into","type_id","update","vzip","I32Levels","Levels","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deserialize","deserialize","difficulty_factor","fmt","fmt","from","from","from","get_captcha","into","into","into","levels","register","serialize","serialize","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","visitor_threshold","vzip","vzip","vzip","Captcha","borrow","borrow_mut","create","delete","easy","from","get","into","new","stats","try_from","try_into","type_id","update","update_key","vzip","StatsPayload","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","deserialize","fmt","from","from","get","into","into","key","register","routes","serialize","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Stats","borrow","borrow_mut","from","get","into","new","try_from","try_into","type_id","vzip","UpdateCaptcha","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","description","deserialize","duration","from","from","from","into","into","into","key","levels","register","register","runner","serialize","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","update_captcha","update_key","vzip","vzip","vzip","update_captcha","BuildDetails","BuildDetailsBuilder","BuildDetailsBuilderError","Health","HealthBuilder","HealthBuilderError","UninitializedField","UninitializedField","ValidationError","ValidationError","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","build","build_details","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","create_empty","create_empty","db","db","db","default","default","deserialize","deserialize","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","git_commit_hash","git_commit_hash","git_commit_hash","health","into","into","into","into","into","into","into","into","is_redis","provide","provide","redis","redis","redis","register","register","routes","serialize","serialize","services","to_owned","to_owned","to_owned","to_owned","to_string","to_string","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","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","version","version","version","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","Meta","borrow","borrow_mut","build_details","from","health","into","new","try_from","try_into","type_id","vzip","add","get","mark_read","routes","services","AddNotificationRequest","add_notification","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","default","deserialize","eq","fmt","from","from","heading","into","into","message","register","serialize","to","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","NotificationResp","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","default","deserialize","eq","from","from","from","from_notifications","get_notification","heading","id","into","into","message","name","received","register","serialize","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","MarkReadReq","borrow","borrow","borrow_mut","borrow_mut","deserialize","from","from","id","into","into","mark_read","register","serialize","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Notifications","add","borrow","borrow_mut","from","get","into","mark_read","new","try_from","try_into","type_id","vzip","I32Levels","get_config","routes","services","verify_pow","verify_token","GetConfigPayload","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","deserialize","fmt","from","from","get_config","init_mcaptcha","into","into","key","register","serialize","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","PoW","borrow","borrow_mut","from","get_config","get_config","into","new","rm_scope","scope","try_from","try_into","type_id","validate_captcha_token","validate_captcha_token","verify_pow","verify_pow","vzip","ValidationToken","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","deserialize","fmt","from","from","into","into","register","serialize","to_owned","token","try_from","try_from","try_into","try_into","type_id","type_id","verify_pow","vzip","vzip","CaptchaValidateResp","VerifyCaptchaResultPayload","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deserialize","deserialize","fmt","fmt","from","from","from","into","into","into","key","register","secret","serialize","serialize","to_owned","to_owned","token","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","valid","validate_captcha_token","vzip","vzip","vzip","ROUTES","Routes","account","auth","borrow","borrow_mut","captcha","from","get_login_route","into","meta","new","notifications","pow","try_from","try_into","type_id","vzip","Data","Embedded","Mailer","Redis","SystemGroup","add_site","borrow","borrow","borrow_mut","borrow_mut","captcha","creds","db","enum_system_actor","enum_system_wrapper","from","from","get_creds","get_mailer","get_pow","into","into","mailer","new","new","new_system","remove","rename","settings","stats","try_from","try_from","try_into","try_into","type_id","type_id","validate_verification_tokens","verify_pow","vzip","vzip","DAY","Date","HOUR","MINUTE","WEEK","borrow","borrow_mut","clone","clone_into","date","fmt","format","from","into","new","print_date","time","to_owned","try_from","try_into","type_id","vzip","BoxDB","maria","pg","get_data","get_data","DEMO_PASSWORD","DEMO_USER","DemoUser","abort","borrow","borrow_mut","delete_demo_user","from","handle","into","register_demo_user","run","spawn","try_from","try_into","type_id","vzip","Asset","DOCS","OPEN_API_SPEC","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","dist","from","from","from","from","get","get","handle_embedded_file","index","into","into","into","into","iter","iter","register","register","register","routes","services","spec","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","Docs","assets","borrow","borrow_mut","from","home","into","new","spec","try_from","try_into","type_id","vzip","verification","IndexPage","PAGE","borrow","borrow_mut","clone","clone_into","from","into","new","render_once","render_once_to","to_owned","try_from","try_into","type_id","verification","verification_link","vzip","AccountNotFound","BlacklistError","CaptchaError","CaptchaNotFound","ClosedForRegistration","DBError","DBErrorWrapper","EmailTaken","ErrorToResponse","InternalServerError","InternalServerError","NotAUrl","NotAnEmail","PageError","PageResult","PasswordTooLong","PasswordTooShort","PasswordsDontMatch","ProfainityError","ServiceError","ServiceError","ServiceResult","SmtpErrorWrapper","TokenNotFound","TrafficPatternNotFound","UnableToSendEmail","UsernameCaseMappedError","UsernameNotFound","UsernameTaken","WrongPassword","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","deserialize","eq","eq","eq","eq","error","error_response","error_response","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","into","into","into","into","into","provide","provide","provide","provide","serialize","source","source","source","source","status_code","status_code","to_string","to_string","to_string","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","vzip","vzip","vzip","vzip","vzip","NAME","auth","errors","get_middleware","panel","routes","services","sitemap","login","register","routes","services","sudo","INDEX","IndexPage","PAGE","__private_field","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","default","deref","from","from","from","into","into","into","login","register","render_once","render_once_to","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","INDEX","IndexPage","PAGE","__private_field","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","default","deref","from","from","from","into","into","into","join","register","render_once","render_once_to","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","Auth","borrow","borrow_mut","from","get_login_route","get_sitemap","into","join","login","new","try_from","try_into","type_id","vzip","PAGE","SudoPage","borrow","borrow_mut","clone","clone_into","data","from","into","new","render_once","render_once_to","to_owned","try_from","try_into","type_id","url","vzip","ERROR_ROUTE","ErrorPage","INTERNAL_SERVER_ERROR_BODY","PAGE","UNKNOWN_ERROR_BODY","__private_field","__private_field","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","deref","deref","error","from","from","from","from","into","into","into","into","message","new","register","render_once","render_once_to","routes","services","title","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","Errors","borrow","borrow_mut","from","internal_server_error","into","new","try_from","try_into","type_id","unknown_error","vzip","IndexPage","PAGE","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","from","from","into","into","new","notifications","panel","register","render_once","render_once_to","routes","services","settings","sitekey","sitekeys","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","IndexPage","Notification","PAGE","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","from","from","from","from","heading","id","into","into","into","message","n","name","new","notifications","print_date","received","register","render_once","render_once_to","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","Panel","borrow","borrow_mut","from","get_sitemap","home","into","new","notifications","settings","sitekey","try_from","try_into","type_id","vzip","IndexPage","PAGE","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","delete_account","email","from","from","from","from","into","into","into","into","register","register","register","render_once","render_once_to","routes","secret","services","settings","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","update_secret","username","vzip","vzip","vzip","vzip","Settings","borrow","borrow_mut","delete_account","from","get_sitemap","home","into","new","try_from","try_into","type_id","update_secret","vzip","add","delete","edit","list","routes","services","view","ADVANCE_INDEX","AdvanceIndexPage","EASY_INDEX","EasyIndexPage","PAGE","__private_field","__private_field","advance","avg_traffic","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","broke_my_site_traffic","clone","clone","clone_into","clone_into","default","default","deref","deref","easy","form_description","form_description","form_duration","form_title","form_title","from","from","from","from","from","from","into","into","into","into","into","into","levels","peak_sustainable_traffic","register","register","render_once","render_once","render_once_to","render_once_to","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","vzip","vzip","vzip","vzip","vzip","vzip","borrow","borrow_mut","delete_sitekey","from","into","register","try_from","try_into","type_id","vzip","AdvanceEditPage","EasyEditPage","PAGE","advance","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","duration","easy","form_title","from","from","from","from","into","into","into","into","key","key","levels","name","new","new","pattern","register","register","render_once","render_once","render_once_to","render_once_to","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","vzip","vzip","vzip","vzip","IndexPage","PAGE","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","from","from","into","into","list_sitekeys","new","register","render_once","render_once_to","sitekeys","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Sitekey","add_advance","add_easy","borrow","borrow_mut","delete","edit_advance","edit_easy","from","get_delete","get_edit_advance","get_edit_easy","get_sitemap","get_view","into","list","new","try_from","try_into","type_id","view","vzip","IndexPage","PAGE","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","duration","from","from","into","into","key","levels","name","new","register","render_once","render_once_to","stats","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","view_sitekey","vzip","vzip","ROUTES","Routes","about","auth","borrow","borrow_mut","donate","errors","from","get_login_route","get_sitemap","home","into","new","panel","privacy","security","sitemap","thanks","try_from","try_into","type_id","vzip","INDEX","IndexPage","__private_field","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","default","deref","domain","from","from","from","into","into","into","register","render_once","render_once_to","sitemap","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","urls","vzip","vzip","vzip","services","Captcha","DBType","Database","DefaultDifficultyStrategy","Maria","Postgres","Redis","Server","Settings","Smtp","allow_demo","allow_registration","avg_traffic_difficulty","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","broke_my_site_traffic_difficulty","captcha","check_url","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","commercial","cookie_secret","database","database_type","debug","default_difficulty_strategy","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","domain","duration","enable_stats","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from_url","gc","get_ip","into","into","into","into","into","into","into","into","ip","new","password","peak_sustainable_traffic_difficulty","pool","pool","port","port","proxy_has_tls","queue_length","redis","reply","runners","salt","serialize","server","set_database_url","smtp","source_code","to_owned","to_owned","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_from","try_from","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","url","url","url","url_prefix","username","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","FileMap","filemap","services","static_files","FileMap","borrow","borrow_mut","files","from","get","into","new","try_from","try_into","type_id","vzip","Asset","Favicons","assets","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","favicons","from","from","from","from","get","get","get","get","handle_assets","handle_favicons","into","into","into","into","iter","iter","iter","iter","register","register","static_files","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","BAR_CHART","CREDIT_CARD","DOCS_ICON","GITHUB","HELP_CIRCLE","HOME","Img","KEY","MCAPTCHA_TRANS_ICON","MESSAGE","SETTINGS_ICON","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","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","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","from","from","from","from","from","from","from","from","from","from","into","into","into","into","into","into","into","into","into","into","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","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","CaptchaStats","CloneStats","Dummy","Real","Stats","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","clone_stats","config_fetches","confirms","default","default","default","deserialize","eq","eq","eq","fetch","fetch","fetch","fmt","fmt","fmt","from","from","from","into","into","into","record_confirm","record_confirm","record_confirm","record_fetch","record_fetch","record_fetch","record_solve","record_solve","record_solve","serialize","solves","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","INDEX_PAGE","IndexPage","PAGE","WIDGET_ROUTES","__private_field","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","deref","from","from","from","into","into","into","new","register","render_once","render_once_to","routes","services","show_widget","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","Widget","borrow","borrow_mut","from","into","new","try_from","try_into","type_id","verification_widget","vzip"],"q":["mcaptcha","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api","mcaptcha::api::v1","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::account","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::account::delete","","","","","","","","","","","","mcaptcha::api::v1::account::delete::runners","mcaptcha::api::v1::account::email","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::account::password","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::account::routes","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::account::secret","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::account::username","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::account::username::runners","mcaptcha::api::v1::auth","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::auth::routes","","","","","","","","","","","","","","mcaptcha::api::v1::auth::runners","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::mcaptcha","","","","","","","","","mcaptcha::api::v1::mcaptcha::create","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::mcaptcha::create::runner","mcaptcha::api::v1::mcaptcha::delete","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::mcaptcha::easy","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::mcaptcha::easy::routes","","","","","","","","","","","","mcaptcha::api::v1::mcaptcha::get","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::mcaptcha::routes","","","","","","","","","","","","","","","","","mcaptcha::api::v1::mcaptcha::stats","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::mcaptcha::stats::routes","","","","","","","","","","","mcaptcha::api::v1::mcaptcha::update","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::mcaptcha::update::runner","mcaptcha::api::v1::meta","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::meta::routes","","","","","","","","","","","","mcaptcha::api::v1::notifications","","","","","mcaptcha::api::v1::notifications::add","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::notifications::get","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::notifications::mark_read","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::notifications::routes","","","","","","","","","","","","","mcaptcha::api::v1::pow","","","","","","mcaptcha::api::v1::pow::get_config","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::pow::routes","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::pow::verify_pow","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::pow::verify_token","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::api::v1::routes","","","","","","","","","","","","","","","","","","mcaptcha::data","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::date","","","","","","","","","","","","","","","","","","","","","","mcaptcha::db","","","mcaptcha::db::maria","mcaptcha::db::pg","mcaptcha::demo","","","","","","","","","","","","","","","","","mcaptcha::docs","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::docs::routes","","","","","","","","","","","","","mcaptcha::email","mcaptcha::email::verification","","","","","","","","","","","","","","","","","","mcaptcha::errors","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::pages","","","","","","","","mcaptcha::pages::auth","","","","","mcaptcha::pages::auth::login","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::pages::auth::register","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::pages::auth::routes","","","","","","","","","","","","","","mcaptcha::pages::auth::sudo","","","","","","","","","","","","","","","","","","mcaptcha::pages::errors","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::pages::errors::routes","","","","","","","","","","","","mcaptcha::pages::panel","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::pages::panel::notifications","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::pages::panel::routes","","","","","","","","","","","","","","","mcaptcha::pages::panel::settings","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::pages::panel::settings::routes","","","","","","","","","","","","","","mcaptcha::pages::panel::sitekey","","","","","","","mcaptcha::pages::panel::sitekey::add","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::pages::panel::sitekey::delete","","","","","","","","","","mcaptcha::pages::panel::sitekey::edit","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::pages::panel::sitekey::list","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::pages::panel::sitekey::routes","","","","","","","","","","","","","","","","","","","","","","mcaptcha::pages::panel::sitekey::view","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::pages::routes","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::pages::sitemap","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::routes","mcaptcha::settings","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::static_assets","","","","mcaptcha::static_assets::filemap","","","","","","","","","","","","mcaptcha::static_assets::static_files","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::static_assets::static_files::assets","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::stats","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::widget","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mcaptcha::widget::routes","","","","","","","","","",""],"d":["","","","","","","","","","App data","","","","","","","","","","","","","","","","","points to source files matching build commit","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mCaptcha system: Redis cache, etc.","","","credential management configuration","App data: redis cache, database connections, etc.","","","","database ops defined by db crates","","","","","","","","","","","","","","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).","email client","","","","","","","app settings","","","","","stats recorder","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","User facing CAPTCHA widget","","","","","","","","","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.","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).","","","","","update email","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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.","","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).","","","","","","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).","","","","","","","","","","","","","","","","","","","","","","","","","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 Ok(()) when everything checks out and the user is …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","User’s traffic pattern; used in generating a captcha …","","average traffic of user’s website","","","","","","","","","traffic that bought the user’s website down; optional","","","","","","","","Captcha description","","","","","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).","","","the peak traffic that the user’s website can handle","","","","","","","","","","","","","","","","","","","","","","","","","","","","","easy is using defaults","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.","","Calls U::from(self).","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","Builder for BuildDetails.","Error type for BuildDetailsBuilder","Health check return datatype","Builder for Health.","Error type for HealthBuilder","Uninitialized field","Uninitialized field","Custom validation error","Custom validation error","","","","","","","","","","","","","","","","","Builds a new BuildDetails.","Builds a new Health.","emits build details of the bninary","","","","","","","","","Create an empty builder, with all fields set to None or …","Create an empty builder, with all fields set to None or …","","","","","","","","","","","","","","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.","","","","checks all components of the system","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).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","route handler that adds a notification message","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","route handler that gets all unread notifications","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","route handler that marks a notification read","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","PoW Verification module","PoW success token module","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","get PoW configuration for an mcaptcha key","Call this when MCaptcha is not in master.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","Returns the argument unchanged.","remove scope for $name route","","Calls U::from(self).","","","","","","","remove scope for $name route","","remove scope for $name route","","","validation token that clients receive as proof for …","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","route handler that verifies PoW and issues a solution token","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","route handler that validates a PoW solution token","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","App data","","Mailer data type AsyncSmtpTransport","","Represents mCaptcha cache and master system. When Redis is …","","","","","","mCaptcha system: Redis cache, etc.","credential management configuration","database ops defined by db crates","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","Calls U::from(self).","Calls U::from(self).","email client","","create new instance of app data","","","","app settings","stats recorder","","","","","","","","","","","","","","","","","","","","print date","","","Returns the argument unchanged.","Calls U::from(self).","","print relative time from date","","","","","","","","","","","","Demo password","Demo username","","","","","","Returns the argument unchanged.","","Calls U::from(self).","register demo user runner","","","","","","","","","","","","","","","","","","","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).","","","","","","","Email operations: verification, notification, etc","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","when the value passed contains blacklisted words see …","","captcha not found","","","","email is already taken","","","","","","","","","","","when the value passed contains profainity","","","","","token not found","Traffic pattern not found","Unable to send email","when the value passed contains characters not present in …","","when the a username is already taken","","","","","","","","","","","","","","","","","","","","","","","","","","","","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.","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.","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).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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.","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","notifications","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","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).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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).","","","","","","","","","route handler that renders individual views for sitekeys","","","","","","","","","","","","","","route handler that renders individual views for sitekeys","","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.","Calls U::from(self).","Calls U::from(self).","render a list of all sitekeys that a user has","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","Calls U::from(self).","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","route handler that renders individual views for sitekeys","","","","","","","","","","","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.","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).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","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.","","","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.","","","Iterates over the file paths in the folder.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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.","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).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Trait to clone MCDatabase","","","","","","","","","","","","","","","","clone DB","","","","","","","","","","fetch stats","fetch stats","fetch stats","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","record PoWConfig confirms","record PoWConfig confirms","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig fetches","record PoWConfig fetches","record PoWConfig solves","record PoWConfig solves","record PoWConfig solves","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","widget services","render a client side widget for CAPTCHA verification","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","",""],"i":[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,212,213,214,215,216,217,218,219,220,221,1,3,5,7,8,9,10,11,2,2,0,1,3,5,7,8,9,10,11,1,3,5,7,8,9,10,11,37,2,2,37,0,2,0,0,37,2,0,1,3,5,7,8,9,10,11,0,0,0,1,3,5,7,8,9,10,11,0,0,1,3,5,7,8,9,10,11,37,0,0,2,0,2,0,37,2,2,0,0,37,1,3,5,7,8,9,10,11,1,3,5,7,8,9,10,11,1,3,5,7,8,9,10,11,1,3,5,7,8,9,10,11,0,0,0,0,0,0,19,19,19,19,0,19,0,0,0,0,19,0,0,19,19,19,19,0,0,0,23,24,23,24,23,24,23,24,0,23,24,0,24,23,24,23,24,23,24,0,0,0,0,23,24,0,23,24,23,24,23,24,23,24,0,23,23,24,27,27,0,27,27,27,0,0,27,27,27,27,0,0,31,32,33,31,32,33,31,31,31,31,0,31,31,32,33,31,32,33,32,33,31,0,0,31,31,32,33,31,32,33,31,32,33,31,32,33,0,0,35,34,36,35,34,36,34,34,35,34,34,34,35,35,34,36,35,34,36,35,34,34,36,34,0,34,35,34,36,35,34,36,35,34,36,0,0,35,34,36,0,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,39,40,39,40,39,40,0,39,40,39,40,0,39,40,39,40,39,40,0,39,40,0,42,41,43,42,41,43,41,41,41,41,42,41,43,42,41,43,42,43,0,41,0,0,41,42,41,43,42,41,43,42,41,43,41,0,42,41,43,0,44,45,46,44,45,46,44,45,46,44,45,46,0,0,44,45,46,0,0,0,0,44,45,46,44,45,46,44,45,46,44,45,46,0,47,47,47,47,47,47,47,47,47,47,47,47,47,0,0,0,49,50,51,49,50,51,49,50,51,49,50,51,49,49,50,51,49,49,50,51,49,50,51,49,50,51,50,0,49,50,51,0,49,50,51,49,50,51,49,50,51,49,50,51,49,50,51,49,49,50,51,0,0,0,0,0,0,0,0,0,0,0,54,53,55,54,53,55,53,53,0,54,54,53,54,53,54,53,55,54,53,55,53,54,53,55,0,54,53,53,54,53,55,54,53,55,54,53,55,54,53,55,0,0,56,57,56,57,56,56,0,56,56,56,57,56,57,56,56,57,56,56,56,57,56,57,56,57,56,57,0,0,62,62,64,63,65,62,64,63,65,62,0,62,63,62,63,0,62,62,62,63,62,63,62,64,63,65,62,64,63,65,63,63,62,64,65,0,62,63,0,62,63,62,64,63,65,62,64,63,65,62,64,63,65,0,62,64,63,65,0,66,66,66,66,66,66,66,66,66,66,66,0,0,69,67,68,69,67,68,67,68,67,68,67,68,68,67,68,69,67,68,0,69,67,68,67,69,67,68,67,68,69,67,68,69,67,68,69,67,68,68,69,67,68,0,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,0,71,72,71,72,71,71,71,71,71,72,0,71,72,71,72,0,71,71,71,72,71,72,71,72,71,72,0,73,73,73,73,73,73,73,73,73,73,0,75,74,76,75,74,76,74,74,74,75,74,76,75,74,76,74,74,75,76,0,74,75,74,76,75,74,76,75,74,76,0,0,75,74,76,0,0,0,0,0,0,0,79,82,79,82,78,77,79,86,81,80,82,87,78,77,79,86,81,80,82,87,77,80,0,78,77,81,80,78,77,81,80,77,80,80,81,80,77,80,78,81,78,79,79,81,82,82,78,77,79,79,79,86,81,80,82,82,82,87,77,78,77,0,78,77,79,86,81,80,82,87,81,79,82,80,81,80,86,87,0,78,81,0,78,77,81,80,79,82,78,77,79,86,81,80,82,87,78,77,79,86,81,80,82,87,78,77,79,86,81,80,82,87,77,78,77,78,77,79,86,81,80,82,87,0,88,88,88,88,88,88,88,88,88,88,88,0,0,0,0,0,0,0,89,90,89,90,89,89,89,89,89,89,89,90,89,89,90,89,90,89,89,89,89,90,89,90,89,90,89,90,0,91,93,91,93,91,91,91,91,91,91,91,93,91,0,91,91,91,93,91,91,91,93,91,91,91,93,91,93,91,93,91,93,0,94,95,94,95,94,94,95,94,94,95,0,95,94,94,95,94,95,94,95,94,95,0,96,96,96,96,96,96,96,96,96,96,96,96,0,0,0,0,0,0,0,97,98,97,98,97,97,97,97,97,98,0,0,97,98,97,98,97,97,97,98,97,98,97,98,97,98,0,99,99,99,99,99,99,99,0,99,99,99,99,99,99,99,99,99,0,100,101,100,101,100,100,100,100,100,101,100,101,101,100,100,100,100,101,100,101,100,101,0,100,101,0,0,102,103,104,102,103,104,102,103,102,103,102,103,102,103,102,103,104,102,103,104,103,104,103,102,103,102,103,103,102,103,104,102,103,104,102,103,104,102,0,102,103,104,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,105,0,105,0,105,105,37,105,37,37,37,37,0,0,105,37,37,37,105,105,37,37,105,37,105,105,105,37,37,105,37,105,37,105,37,105,105,105,37,0,0,0,0,0,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,0,0,0,0,0,0,0,0,126,126,126,126,126,126,126,126,126,126,126,126,126,126,0,0,0,231,133,134,135,231,133,134,135,0,231,133,134,135,231,231,0,0,231,133,134,135,231,231,133,134,135,0,0,0,231,133,134,135,231,133,134,135,231,133,134,135,231,133,134,135,0,136,136,136,136,136,136,136,136,136,136,136,136,0,0,0,137,137,137,137,137,137,137,137,137,137,137,137,137,0,137,137,30,30,30,30,30,30,0,30,0,30,144,30,30,0,0,30,30,30,30,0,144,0,0,30,30,30,30,30,30,30,142,143,30,141,144,142,143,30,141,144,141,142,143,30,144,141,30,144,142,142,143,143,30,30,144,144,142,143,30,30,30,30,30,30,30,30,30,141,144,144,144,142,143,30,141,144,142,143,30,144,141,142,143,30,144,30,144,142,143,30,144,142,143,30,141,144,142,143,30,141,144,142,143,30,141,144,142,143,30,141,144,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,157,156,157,158,156,157,158,156,156,156,157,156,157,158,156,157,158,0,158,156,156,156,156,157,158,156,157,158,156,157,158,156,157,158,0,0,0,160,159,160,161,159,160,161,159,159,159,160,159,160,161,159,160,161,0,161,159,159,159,159,160,161,159,160,161,159,160,161,159,160,161,0,162,162,162,162,162,162,162,162,162,162,162,162,162,0,0,163,163,163,163,163,163,163,163,163,163,163,163,163,163,163,163,0,0,0,0,0,165,166,164,165,166,167,164,165,166,167,164,164,165,166,0,164,165,166,167,164,165,166,167,164,164,167,164,164,0,0,164,164,164,165,166,167,164,165,166,167,164,165,166,167,164,165,166,167,0,168,168,168,168,168,168,168,168,168,168,168,0,0,169,171,169,171,169,169,169,171,169,171,169,0,0,171,169,169,0,0,0,0,169,169,169,171,169,171,169,171,169,171,0,0,0,172,173,174,172,173,174,172,172,173,174,172,172,172,173,174,172,173,172,173,0,172,172,174,173,173,172,173,174,172,173,174,172,173,174,172,173,174,0,175,175,175,175,175,175,175,175,175,175,175,175,175,175,0,0,176,177,178,179,176,177,178,179,176,176,0,176,176,177,178,179,176,177,178,179,177,178,179,176,176,0,176,0,0,176,176,177,178,179,176,177,178,179,176,177,178,179,0,176,176,177,178,179,0,180,180,180,180,180,180,180,180,180,180,180,180,180,0,0,0,0,0,0,0,0,0,0,0,0,183,184,0,182,183,184,181,185,182,186,183,184,181,185,182,186,182,181,182,181,182,181,182,183,184,0,181,182,181,181,182,183,184,181,185,182,186,183,184,181,185,182,186,181,182,185,186,181,182,181,182,181,182,183,184,181,185,182,186,183,184,181,185,182,186,183,184,181,185,182,186,183,184,181,185,182,186,187,187,0,187,187,187,187,187,187,187,0,0,0,0,188,190,189,191,188,190,189,191,188,189,188,189,188,0,189,188,190,189,191,188,190,189,191,188,189,188,188,188,189,189,190,191,188,189,188,189,188,189,188,190,189,191,188,190,189,191,188,190,189,191,188,190,189,191,0,0,192,193,192,193,192,192,192,193,192,193,0,192,193,192,192,192,192,192,193,192,193,192,193,192,193,0,194,194,194,194,194,194,194,194,194,194,194,194,194,194,194,194,194,194,194,194,194,0,0,195,197,195,197,195,195,195,195,197,195,197,195,195,195,195,197,195,195,195,195,195,197,195,197,195,197,0,195,197,0,0,155,155,155,155,155,155,155,155,155,155,155,155,155,155,155,155,155,155,155,155,155,0,0,199,198,199,200,198,199,200,198,198,198,199,198,198,199,200,198,199,200,200,198,198,0,198,198,199,200,198,199,200,198,199,200,198,198,199,200,0,0,0,0,0,205,205,0,0,0,0,2,2,59,202,203,59,204,205,206,207,2,202,203,59,204,205,206,207,2,59,2,0,202,203,59,204,205,206,207,2,202,203,59,204,205,206,207,2,2,202,2,206,2,203,202,203,59,204,205,206,207,2,202,59,203,205,202,203,59,204,205,205,206,207,2,202,203,59,204,205,206,207,2,204,205,203,202,202,203,59,204,205,206,207,2,202,2,204,59,206,207,202,204,202,203,2,204,203,203,205,2,0,2,2,202,203,59,204,205,206,207,2,205,202,203,59,204,205,206,207,2,202,203,59,204,205,206,207,2,202,203,59,204,205,206,207,2,204,206,207,202,204,202,203,59,204,205,206,207,2,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,0,0,0,232,210,233,211,232,210,233,211,0,232,210,233,211,232,232,233,233,0,0,232,210,233,211,232,232,233,233,210,211,0,232,210,233,211,232,210,233,211,232,210,233,211,232,210,233,211,0,0,0,0,0,0,0,0,0,0,0,212,213,214,215,216,217,218,219,220,221,212,213,214,215,216,217,218,219,220,221,212,213,214,215,216,217,218,219,220,221,212,213,214,215,216,217,218,219,220,221,212,213,214,215,216,217,218,219,220,221,212,213,214,215,216,217,218,219,220,221,212,213,214,215,216,217,218,219,220,221,212,213,214,215,216,217,218,219,220,221,212,213,214,215,216,217,218,219,220,221,212,213,214,215,216,217,218,219,220,221,0,0,0,0,0,196,222,223,196,222,223,196,222,223,196,222,223,234,196,196,196,222,223,196,196,222,223,224,222,223,196,222,223,196,222,223,196,222,223,224,222,223,224,222,223,224,222,223,196,196,196,222,223,196,222,223,196,222,223,196,222,223,196,222,223,0,0,0,0,228,227,228,229,227,228,229,227,227,228,227,228,229,227,228,229,227,229,227,227,0,0,0,227,227,228,229,227,228,229,227,228,229,227,228,229,0,230,230,230,230,230,230,230,230,230,230],"f":[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,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,[1,2],[3,4],[5,6],[7,6],[8,6],[9,6],[10,6],[11,12],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[2,[[14,[13]]]],[[],15],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[],16],0,0,0,0,0,0,0,0,0,0,0,[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,[[]],[[]],[[],[[17,[19]]]],[[]],[[],[[21,[20]]]],[[]],0,0,0,0,0,0,[22],[[],17],[[],17],[[],18],[[]],0,0,0,[[]],[[]],[[]],[[]],[23,23],[24,24],[[]],[[]],0,[[],[[17,[23]]]],[[],[[17,[24]]]],0,0,[[23,25],26],[[24,25],26],[[]],[[]],[[]],[[]],0,0,0,0,[23,17],[24,17],[22],[[]],[[]],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],0,0,[[]],[[]],[[]],[[]],0,[[]],[[]],[[27,28]],0,[22],[[],17],[[],17],[[],18],[[]],[[6,29],[[17,[30]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[31,31],[[]],[[],[[17,[31]]]],0,0,[[31,25],26],[[]],[[]],[[]],[[]],[[]],[[]],[[32,28]],[[33,28]],[31,17],[22],0,[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[]],[[]],[[]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[34,34],[[]],0,0,[[],[[17,[34]]]],[[34,25],26],[34,35],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,[[36,28]],[34,17],[22],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[6,35,37],[[17,[30]]]],0,[[]],[[]],[[]],0,[[]],[[]],0,0,[[]],0,[[]],[[],38],[[],17],[[],17],[[],18],0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[]],[[]],[[39,28]],[[40,28]],[22],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],0,[[]],[[]],0,[[]],[[]],[[]],[[]],[[]],[[]],[41,41],[[]],[[],[[17,[41]]]],[[41,25],26],[[]],[[]],[[]],[[]],[[]],[[]],[[42,28]],[[43,28]],0,[41,17],[22],0,[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],0,0,[[]],[[]],[[]],[[23,29],[[17,[24,30]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[44,28]],[[45,28]],[[46,28]],0,0,[22],0,[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[]],[[]],[[]],0,[[]],[[]],[[]],[[47,[48,[6]]],12],[[]],0,0,[[],47],0,[[],17],[[],17],[[],18],[[]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[49,49],[50,50],[51,51],[[]],[[]],[[]],0,[[],[[17,[49]]]],[[],[[17,[50]]]],[[],[[17,[51]]]],0,[[49,25],26],[[50,25],26],[[51,25],26],[[]],[[]],[[]],[[]],[[]],[[]],0,[[50,29],[[17,[12,30]]]],0,0,0,[[49,29],[[17,[30]]]],[49,17],[50,17],[51,17],[[]],[[]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],0,[[]],[[]],[[]],0,0,0,0,[52,12],0,[22],0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[53,53],[[]],0,0,[[],[[17,[54]]]],[[],[[17,[53]]]],0,[[53,25],26],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,[[55,28]],0,[54,17],[53,17],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[54,29,6],[[17,[53,30]]]],0,[[]],[[]],[[]],[[]],[56,56],[[]],0,[[],[[17,[56]]]],[[56,25],26],[[]],[[]],[[]],[[]],0,0,[[57,28]],[56,17],[[]],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[]],[[]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[58,59],[[17,[[61,[60]],30]]]],[62,62],[63,63],[[]],[[]],0,[[],62],0,[[],[[17,[62]]]],[[],[[17,[63]]]],[[62,25],26],[[63,25],26],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,[[64,28]],[[65,28]],0,[62,17],[63,17],[22],[[]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],0,[[]],[[]],[[]],[[]],0,[[]],[[]],0,[[]],[[]],[[],66],[[],17],[[],17],[[],18],0,[[]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[67,67],[68,68],[[]],[[]],[[],[[17,[67]]]],[[],[[17,[68]]]],0,[[67,25],26],[[68,25],26],[[]],[[]],[[]],0,[[]],[[]],[[]],0,[[69,28]],[67,17],[68,17],[[]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],0,[[]],[[]],[[]],0,[[]],[[]],0,0,0,[[]],0,[[]],[[],70],0,[[],17],[[],17],[[],18],0,0,[[]],0,[[]],[[]],[[]],[[]],[71,71],[[]],[[],[[17,[71]]]],[[71,25],26],[[]],[[]],0,[[]],[[]],0,[[72,28]],0,[71,17],[[]],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[]],[[]],0,[[]],[[]],[[]],0,[[]],[[],73],[[],17],[[],17],[[],18],[[]],0,[[]],[[]],[[]],[[]],[[]],[[]],0,[[],[[17,[74]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[75,28]],[[76,28]],0,[74,17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],0,0,[[]],[[]],[[]],[[74,29,6],[[17,[30]]]],0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[77,[[17,[78,79]]]],[80,[[17,[81,82]]]],0,[78,78],[77,77],[81,81],[80,80],[[]],[[]],[[]],[[]],[[],77],[[],80],[[80,83],80],0,0,[[],77],[[],80],[[],[[17,[78]]]],[[],[[17,[81]]]],[[78,25],26],[[79,25],26],[[79,25],26],[[81,25],26],[[82,25],26],[[82,25],26],[[]],[[]],[12,79],[[]],[84,79],[[]],[[]],[[]],[12,82],[[]],[84,82],[[]],[[77,6],77],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[48,83],[85],[85],[[80,[48,[83]]],80],0,0,[[86,28]],[[87,28]],0,[78,17],[81,17],[22],[[]],[[]],[[]],[[]],[[],12],[[],12],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[77,6],77],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[]],[[]],0,[[]],0,[[]],[[],88],[[],17],[[],17],[[],18],[[]],0,0,0,0,[22],0,0,[[]],[[]],[[]],[[]],[89,89],[[]],[[],89],[[],[[17,[89]]]],[[89,89],83],[[89,25],26],[[]],[[]],0,[[]],[[]],0,[[90,28]],[89,17],0,[[]],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[]],[[]],0,[[]],[[]],[[]],[[]],[91,91],[[]],[[],91],[[],[[17,[91]]]],[[91,91],83],[92,91],[[]],[[]],[[[61,[92]]],[[61,[91]]]],0,0,0,[[]],[[]],0,0,0,[[93,28]],[91,17],[[]],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[]],[[]],0,[[]],[[]],[[]],[[]],[[],[[17,[94]]]],[[]],[[]],0,[[]],[[]],0,[[95,28]],[94,17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[]],[[]],0,0,[[]],[[]],[[]],0,[[]],0,[[],96],[[],17],[[],17],[[],18],[[]],0,0,0,[22],0,0,0,[[]],[[]],[[]],[[]],[97,97],[[]],[[],[[17,[97]]]],[[97,25],26],[[]],[[]],0,[[29,6],[[17,[30]]]],[[]],[[]],0,[[98,28]],[97,17],[[]],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[]],[[]],0,[[]],[[]],[[]],[99,6],0,[[]],[[],99],0,0,[[],17],[[],17],[[],18],[99,6],0,[99,6],0,[[]],0,[[]],[[]],[[]],[[]],[100,100],[[]],[[],[[17,[100]]]],[[100,25],26],[[]],[[]],[[]],[[]],[[101,28]],[100,17],[[]],0,[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],0,[[]],[[]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[102,102],[103,103],[[]],[[]],[[],[[17,[102]]]],[[],[[17,[103]]]],[[102,25],26],[[103,25],26],[[]],[[]],[[]],[[]],[[]],[[]],0,[[104,28]],0,[102,17],[103,17],[[]],[[]],0,[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],0,0,[[]],[[]],[[]],0,0,0,0,[[]],[[]],0,[[]],[[20,[48,[6]]],12],[[]],0,[[],20],0,0,[[],17],[[],17],[[],18],[[]],0,0,0,0,0,[[105,106],[[17,[30]]]],[[]],[[]],[[]],[[]],0,0,0,0,0,[[]],[[]],[[],107],[2,[[48,[[109,[108]]]]]],[[105,12],[[111,[[48,[110]]]]]],[[]],[[]],0,[2,105],[2,[[112,[37]]]],[[2,[114,[113]],[114,[115]]],[[116,[115,113]]]],[[105,117],[[17,[30]]]],[[105,118],[[17,[30]]]],0,0,[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[105,119],[[111,[83]]]],[[105,120,12],[[111,[12]]]],[[]],[[]],0,0,0,0,0,[[]],[[]],[121,121],[[]],[121,12],[[121,25],26],[122,12],[[]],[[]],[123,121],[121,12],0,[[]],[[],17],[[],17],[[],18],[[]],0,0,0,[[[48,[2]]],[[125,[124]]]],[[[48,[2]]],[[125,[124]]]],0,0,0,[126],[[]],[[]],[29,[[17,[30]]]],[[]],0,[[]],[29,[[17,[30]]]],[[29,127],[[17,[128,30]]]],[[29,127],[[17,[126,30]]]],[[],17],[[],17],[[],18],[[]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[]],[[]],[[]],[[]],[6,[[48,[129]]]],[6,[[48,[129]]]],[6,130],0,[[]],[[]],[[]],[[]],[[],131],[[],132],[[133,28]],[[134,28]],[[135,28]],0,[22],0,[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],0,0,[[]],[[]],[[]],0,[[]],[[],136],0,[[],17],[[],17],[[],18],[[]],0,0,0,[[]],[[]],[137,137],[[]],[[]],[[]],[6,137],[137,138],[[137,139],[[17,[140]]]],[[]],[[],17],[[],17],[[],18],[[37,6,6],[[17,[30]]]],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,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[[17,[141]]]],[[142,142],83],[[143,143],83],[[30,30],83],[[144,144],83],0,[30,130],[144,130],[[142,25],26],[[142,25],26],[[143,25],26],[[143,25],26],[[30,25],26],[[30,25],26],[[144,25],26],[[144,25],26],[[]],[[]],[145,30],[146,30],[[]],[147,30],[148,30],[149,30],[150,30],[151,30],[152,30],[[]],[147,144],[30,144],[[]],[[]],[[]],[[]],[[]],[[]],[85],[85],[85],[85],[141,17],[142,[[48,[153]]]],[143,[[48,[153]]]],[30,[[48,[153]]]],[144,[[48,[153]]]],[30,154],[144,154],[[],12],[[],12],[[],12],[[],12],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],[[]],0,0,0,[[],[[21,[155]]]],0,0,[22],0,0,0,0,[22],0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[156,156],[[]],[[],156],[157,12],[[]],[[]],[[]],[[]],[[]],[[]],0,[[158,28]],[156,138],[[156,139],[[17,[140]]]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[]],[[]],[[]],0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[159,159],[[]],[[],159],[160,12],[[]],[[]],[[]],[[]],[[]],[[]],0,[[161,28]],[159,138],[[159,139],[[17,[140]]]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[]],[[]],[[]],0,[[]],[[]],[[]],[[162,[48,[6]]],12],[[]],[[]],0,0,[[],162],[[],17],[[],17],[[],18],[[]],0,0,[[]],[[]],[163,163],[[]],0,[[]],[[]],[[6,[48,[61]]],163],[163,138],[[163,139],[[17,[140]]]],[[]],[[],17],[[],17],[[],18],0,[[]],0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[164,164],[[]],[165,12],[166,12],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[6,6],164],[[167,28]],[164,138],[[164,139],[[17,[140]]]],0,[22],0,[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],0,[[]],[[]],[[]],0,[[]],[[],168],[[],17],[[],17],[[],18],0,[[]],0,0,[[]],[[]],[[]],[[]],[169,169],[[]],[[]],[[]],[[]],[[]],[[[61,[170]]],169],0,0,[[171,28]],[169,138],[[169,139],[[17,[140]]]],0,[22],0,0,0,[[]],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[]],[[]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[92,172],[[]],[[]],[[]],0,0,[[]],[[]],[[]],0,0,0,[[[61,[172]]],173],0,[172,12],0,[[174,28]],[173,138],[[173,139],[[17,[140]]]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[]],[[]],[[]],0,[[]],[[]],[[]],[[]],0,[[]],[[],175],0,0,0,[[],17],[[],17],[[],18],[[]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[176,176],[[]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[177,28]],[[178,28]],[[179,28]],[176,138],[[176,139],[[17,[140]]]],0,0,[22],0,[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],0,0,[[]],[[]],[[]],[[]],0,[[]],[[]],0,[[]],[[]],0,[[]],[[],180],[[],17],[[],17],[[],18],0,[[]],0,0,0,0,0,[22],0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[181,181],[182,182],[[]],[[]],[[],181],[[],182],[183,12],[184,12],0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[185,28]],[[186,28]],[181,138],[182,138],[[181,139],[[17,[140]]]],[[182,139],[[17,[140]]]],[[]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[]],[[]],[[187,28]],[[],17],[[],17],[[],18],[[]],0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[188,188],[189,189],[[]],[[]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,[[170,[61,[60]],12],188],[[12,62],189],0,[[190,28]],[[191,28]],[188,138],[189,138],[[188,139],[[17,[140]]]],[[189,139],[[17,[140]]]],[[]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],0,0,[[]],[[]],[[]],[[]],[192,192],[[]],[[]],[[]],[[]],[[]],0,[[[61,[170]]],192],[[193,28]],[192,138],[[192,139],[[17,[140]]]],0,[[]],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[]],[[]],0,0,0,[[]],[[]],0,0,0,[[]],[[194,6],12],[[194,6],12],[[194,6],12],[[]],[[194,6],12],[[]],0,[[],194],[[],17],[[],17],[[],18],0,[[]],0,0,[[]],[[]],[[]],[[]],[195,195],[[]],0,[[]],[[]],[[]],[[]],0,0,0,[[196,170,[61,[60]],12],195],[[197,28]],[195,138],[[195,139],[[17,[140]]]],0,[[]],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],0,[[]],[[]],0,0,0,0,[[]],[[]],0,0,[[]],[[155,[48,[6]]],12],[[]],0,[[]],[[],155],0,0,0,0,0,[[],17],[[],17],[[],18],[[]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[198,198],[[]],[[],198],[199,12],0,[[]],[[]],[[]],[[]],[[]],[[]],[[200,28]],[198,138],[[198,139],[[17,[140]]]],0,[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],0,[[]],[[]],[[]],[22],0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[201],[202,202],[203,203],[59,59],[204,204],[205,205],[206,206],[207,207],[2,2],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,[[],[[17,[202]]]],[[],[[17,[203]]]],[[],[[17,[59]]]],[[],[[17,[204]]]],[[],[[17,[205]]]],[[],[[17,[206]]]],[[],[[17,[207]]]],[[],[[17,[2]]]],0,0,0,[[205,205],83],[[202,25],26],[[203,25],26],[[59,25],26],[[204,25],26],[[205,25],26],[[205,25],26],[[206,25],26],[[207,25],26],[[2,25],26],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[208,[[17,[205,209]]]],0,[202,12],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[],[[17,[2,209]]]],0,0,0,0,0,0,0,0,0,0,0,0,[205,17],0,[201],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],12],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[22],0,0,[[]],[[]],0,[[]],[[4,6],[[48,[6]]]],[[]],[[],4],[[],17],[[],17],[[],18],[[]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[]],[[]],[[]],[[]],[6,[[48,[129]]]],[6,[[48,[129]]]],[6,[[48,[129]]]],[6,[[48,[129]]]],[6,130],[6,130],[[]],[[]],[[]],[[]],[[],132],[[],131],[[],131],[[],132],[[210,28]],[[211,28]],0,[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],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,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[212],[213],[214],[215],[216],[217],[218],[219],[220],[221],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[196,196],[222,222],[223,223],[[]],[[]],[[]],[[],[[125,[224]]]],0,0,[[],196],[[],222],[[],223],[[],[[17,[196]]]],[[196,196],83],[[222,222],83],[[223,223],83],[[37,6,6],[[226,[[125,[225]]]]]],[[222,37,6,6],[[226,[[125,[225]]]]]],[[223,37,6,6],[[226,[[125,[225]]]]]],[[196,25],26],[[222,25],26],[[223,25],26],[[]],[[]],[[]],[[]],[[]],[[]],[[37,6],[[226,[[125,[225]]]]]],[[222,37,6],[[226,[[125,[225]]]]]],[[223,37,6],[[226,[[125,[225]]]]]],[[37,6],[[226,[[125,[225]]]]]],[[222,37,6],[[226,[[125,[225]]]]]],[[223,37,6],[[226,[[125,[225]]]]]],[[37,6],[[226,[[125,[225]]]]]],[[222,37,6],[[226,[[125,[225]]]]]],[[223,37,6],[[226,[[125,[225]]]]]],[196,17],0,[[]],[[]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[]],[[]],[[]],0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[227,227],[[]],[228,12],[[]],[[]],[[]],[[]],[[]],[[]],[[],227],[[229,28]],[227,138],[[227,139],[[17,[140]]]],0,[22],0,[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[]],[[]],[[]],0,[[]],[[]],[[]],[[]],[[],230],[[],17],[[],17],[[],18],0,[[]]],"p":[[3,"SETTINGS"],[3,"Settings"],[3,"FILES"],[3,"FileMap"],[3,"JS"],[15,"str"],[3,"CSS"],[3,"MOBILE_CSS"],[3,"VERIFICATIN_WIDGET_JS"],[3,"VERIFICATIN_WIDGET_CSS"],[3,"SOURCE_FILES_OF_INSTANCE"],[3,"String"],[3,"CookieIdentityPolicy"],[3,"IdentityService"],[3,"JsonConfig"],[6,"Result"],[4,"Result"],[3,"TypeId"],[3,"RedirectQuery"],[3,"Routes"],[3,"Authentication"],[3,"ServiceConfig"],[3,"AccountCheckPayload"],[3,"AccountCheckResp"],[3,"Formatter"],[6,"Result"],[3,"delete_account"],[3,"AppService"],[6,"AppData"],[4,"ServiceError"],[3,"Email"],[3,"email_exists"],[3,"set_email"],[3,"ChangePasswordReqest"],[3,"UpdatePassword"],[3,"update_user_password"],[3,"Data"],[3,"Account"],[3,"get_secret"],[3,"update_user_secret"],[3,"Username"],[3,"username_exists"],[3,"set_username"],[3,"register"],[3,"login"],[3,"signout"],[3,"Auth"],[4,"Option"],[3,"Register"],[3,"Login"],[3,"Password"],[15,"usize"],[3,"MCaptchaDetails"],[3,"CreateCaptcha"],[3,"create"],[3,"DeleteCaptcha"],[3,"delete"],[3,"TrafficPattern"],[3,"DefaultDifficultyStrategy"],[3,"Level"],[3,"Vec"],[3,"TrafficPatternRequest"],[3,"UpdateTrafficPattern"],[3,"create"],[3,"update"],[3,"Easy"],[3,"Levels"],[3,"I32Levels"],[3,"get_captcha"],[3,"Captcha"],[3,"StatsPayload"],[3,"get"],[3,"Stats"],[3,"UpdateCaptcha"],[3,"update_key"],[3,"update_captcha"],[3,"BuildDetailsBuilder"],[3,"BuildDetails"],[4,"BuildDetailsBuilderError"],[3,"HealthBuilder"],[3,"Health"],[4,"HealthBuilderError"],[15,"bool"],[3,"UninitializedFieldError"],[3,"Demand"],[3,"build_details"],[3,"health"],[3,"Meta"],[3,"AddNotificationRequest"],[3,"add_notification"],[3,"NotificationResp"],[3,"Notification"],[3,"get_notification"],[3,"MarkReadReq"],[3,"mark_read"],[3,"Notifications"],[3,"GetConfigPayload"],[3,"get_config"],[3,"PoW"],[3,"ValidationToken"],[3,"verify_pow"],[3,"CaptchaValidateResp"],[3,"VerifyCaptchaResultPayload"],[3,"validate_captcha_token"],[4,"SystemGroup"],[3,"AddSite"],[3,"Config"],[3,"Tokio1Executor"],[3,"AsyncSmtpTransport"],[3,"PoWConfig"],[6,"CaptchaResult"],[3,"Arc"],[8,"Master"],[3,"Addr"],[8,"Save"],[3,"System"],[3,"RemoveCaptcha"],[3,"Rename"],[3,"VerifyCaptchaResult"],[3,"Work"],[3,"Date"],[3,"OffsetDateTime"],[15,"i64"],[8,"MCDatabase"],[3,"Box"],[3,"DemoUser"],[3,"Duration"],[3,"JoinHandle"],[3,"EmbeddedFile"],[3,"HttpResponse"],[4,"Filenames"],[8,"Iterator"],[3,"dist"],[3,"spec"],[3,"index"],[3,"Docs"],[3,"IndexPage"],[6,"RenderResult"],[3,"Buffer"],[4,"RenderError"],[3,"ErrorToResponse"],[3,"SmtpErrorWrapper"],[3,"DBErrorWrapper"],[4,"PageError"],[3,"RecvError"],[4,"MailboxError"],[4,"DBError"],[3,"ValidationErrors"],[4,"ParseError"],[4,"CaptchaError"],[3,"Error"],[4,"CredsError"],[8,"Error"],[3,"StatusCode"],[3,"Routes"],[3,"IndexPage"],[3,"INDEX"],[3,"login"],[3,"IndexPage"],[3,"INDEX"],[3,"join"],[3,"Auth"],[3,"SudoPage"],[3,"ErrorPage"],[3,"INTERNAL_SERVER_ERROR_BODY"],[3,"UNKNOWN_ERROR_BODY"],[3,"error"],[3,"Errors"],[3,"IndexPage"],[3,"Captcha"],[3,"panel"],[3,"Notification"],[3,"IndexPage"],[3,"notifications"],[3,"Panel"],[3,"IndexPage"],[3,"settings"],[3,"delete_account"],[3,"update_secret"],[3,"Settings"],[3,"AdvanceIndexPage"],[3,"EasyIndexPage"],[3,"ADVANCE_INDEX"],[3,"EASY_INDEX"],[3,"advance"],[3,"easy"],[3,"delete_sitekey"],[3,"AdvanceEditPage"],[3,"EasyEditPage"],[3,"advance"],[3,"easy"],[3,"IndexPage"],[3,"list_sitekeys"],[3,"Sitekey"],[3,"IndexPage"],[3,"CaptchaStats"],[3,"view_sitekey"],[3,"IndexPage"],[3,"INDEX"],[3,"sitemap"],[3,"Config"],[3,"Server"],[3,"Captcha"],[3,"Smtp"],[4,"DBType"],[3,"Database"],[3,"Redis"],[3,"Url"],[4,"ConfigError"],[3,"static_files"],[3,"favicons"],[3,"KEY"],[3,"GITHUB"],[3,"HOME"],[3,"SETTINGS_ICON"],[3,"CREDIT_CARD"],[3,"HELP_CIRCLE"],[3,"MESSAGE"],[3,"DOCS_ICON"],[3,"MCAPTCHA_TRANS_ICON"],[3,"BAR_CHART"],[3,"Real"],[3,"Dummy"],[8,"Stats"],[8,"Future"],[3,"Pin"],[3,"IndexPage"],[3,"INDEX_PAGE"],[3,"show_widget"],[3,"Widget"],[3,"Asset"],[3,"Asset"],[3,"Favicons"],[8,"CloneStats"]]}\ }'); if (typeof window !== 'undefined' && window.initSearch) {window.initSearch(searchIndex)}; if (typeof exports !== 'undefined') {exports.searchIndex = searchIndex}; diff --git a/settings.html b/settings.html index 1c361a65..1a85271d 100644 --- a/settings.html +++ b/settings.html @@ -1 +1 @@ -Rustdoc settings

    Rustdoc settings

    Back
    \ No newline at end of file +Rustdoc settings

    Rustdoc settings

    Back
    \ No newline at end of file diff --git a/src/db_core/errors.rs.html b/src/db_core/errors.rs.html index bf7f28aa..1a56c5ba 100644 --- a/src/db_core/errors.rs.html +++ b/src/db_core/errors.rs.html @@ -121,4 +121,4 @@ /// Generic result data structure pub type DBResult<V> = std::result::Result<V, DBError>;
    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/db_core/lib.rs.html b/src/db_core/lib.rs.html index 8539f2c1..4862a248 100644 --- a/src/db_core/lib.rs.html +++ b/src/db_core/lib.rs.html @@ -709,4 +709,4 @@ } }
    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/db_core/ops.rs.html b/src/db_core/ops.rs.html index a8ae6a2d..18cc87d5 100644 --- a/src/db_core/ops.rs.html +++ b/src/db_core/ops.rs.html @@ -97,4 +97,4 @@ async fn migrate(&self) -> DBResult<()>; }
    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/db_core/tests.rs.html b/src/db_core/tests.rs.html index a7d86846..fdce8bd1 100644 --- a/src/db_core/tests.rs.html +++ b/src/db_core/tests.rs.html @@ -595,4 +595,4 @@ assert!(!db.captcha_exists(Some(p.username), c.key).await.unwrap()); }
    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/db_sqlx_maria/errors.rs.html b/src/db_sqlx_maria/errors.rs.html index 8168ac34..762fba04 100644 --- a/src/db_sqlx_maria/errors.rs.html +++ b/src/db_sqlx_maria/errors.rs.html @@ -109,4 +109,4 @@ } }
    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/db_sqlx_maria/lib.rs.html b/src/db_sqlx_maria/lib.rs.html index df33efea..7b085a9a 100644 --- a/src/db_sqlx_maria/lib.rs.html +++ b/src/db_sqlx_maria/lib.rs.html @@ -1923,4 +1923,4 @@ } }
    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/db_sqlx_postgres/errors.rs.html b/src/db_sqlx_postgres/errors.rs.html index 21136cb9..a1d221cd 100644 --- a/src/db_sqlx_postgres/errors.rs.html +++ b/src/db_sqlx_postgres/errors.rs.html @@ -111,4 +111,4 @@ } }
    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/db_sqlx_postgres/lib.rs.html b/src/db_sqlx_postgres/lib.rs.html index d2f9f309..da5016ad 100644 --- a/src/db_sqlx_postgres/lib.rs.html +++ b/src/db_sqlx_postgres/lib.rs.html @@ -1935,4 +1935,4 @@ } }
    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/api/mod.rs.html b/src/mcaptcha/api/mod.rs.html index 0284c05a..a3eea023 100644 --- a/src/mcaptcha/api/mod.rs.html +++ b/src/mcaptcha/api/mod.rs.html @@ -35,4 +35,4 @@ pub mod v1; -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/api/v1/account/delete.rs.html b/src/mcaptcha/api/v1/account/delete.rs.html index 9eae4bab..00fc2316 100644 --- a/src/mcaptcha/api/v1/account/delete.rs.html +++ b/src/mcaptcha/api/v1/account/delete.rs.html @@ -127,4 +127,4 @@ cfg.service(delete_account); } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/api/v1/account/email.rs.html b/src/mcaptcha/api/v1/account/email.rs.html index 136ce507..3e254d8e 100644 --- a/src/mcaptcha/api/v1/account/email.rs.html +++ b/src/mcaptcha/api/v1/account/email.rs.html @@ -139,4 +139,4 @@ cfg.service(set_email); } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/api/v1/account/mod.rs.html b/src/mcaptcha/api/v1/account/mod.rs.html index 29d892c4..7571e078 100644 --- a/src/mcaptcha/api/v1/account/mod.rs.html +++ b/src/mcaptcha/api/v1/account/mod.rs.html @@ -167,4 +167,4 @@ password::services(cfg); } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/api/v1/account/password.rs.html b/src/mcaptcha/api/v1/account/password.rs.html index 0ac1c400..86004f11 100644 --- a/src/mcaptcha/api/v1/account/password.rs.html +++ b/src/mcaptcha/api/v1/account/password.rs.html @@ -403,4 +403,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/api/v1/account/secret.rs.html b/src/mcaptcha/api/v1/account/secret.rs.html index f83f4b67..de49185c 100644 --- a/src/mcaptcha/api/v1/account/secret.rs.html +++ b/src/mcaptcha/api/v1/account/secret.rs.html @@ -125,4 +125,4 @@ cfg.service(update_user_secret); } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/api/v1/account/username.rs.html b/src/mcaptcha/api/v1/account/username.rs.html index 31d74642..6be3d370 100644 --- a/src/mcaptcha/api/v1/account/username.rs.html +++ b/src/mcaptcha/api/v1/account/username.rs.html @@ -153,4 +153,4 @@ cfg.service(set_username); } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/api/v1/auth.rs.html b/src/mcaptcha/api/v1/auth.rs.html index 7b0b71e7..53936ed5 100644 --- a/src/mcaptcha/api/v1/auth.rs.html +++ b/src/mcaptcha/api/v1/auth.rs.html @@ -403,4 +403,4 @@ .finish() } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/api/v1/mcaptcha/create.rs.html b/src/mcaptcha/api/v1/mcaptcha/create.rs.html index a6b30bd3..33940e60 100644 --- a/src/mcaptcha/api/v1/mcaptcha/create.rs.html +++ b/src/mcaptcha/api/v1/mcaptcha/create.rs.html @@ -197,4 +197,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/api/v1/mcaptcha/delete.rs.html b/src/mcaptcha/api/v1/mcaptcha/delete.rs.html index 5a893ba8..2e98b7bd 100644 --- a/src/mcaptcha/api/v1/mcaptcha/delete.rs.html +++ b/src/mcaptcha/api/v1/mcaptcha/delete.rs.html @@ -115,4 +115,4 @@ Ok(HttpResponse::Ok()) } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/api/v1/mcaptcha/easy.rs.html b/src/mcaptcha/api/v1/mcaptcha/easy.rs.html index 8a618f52..0a8005e3 100644 --- a/src/mcaptcha/api/v1/mcaptcha/easy.rs.html +++ b/src/mcaptcha/api/v1/mcaptcha/easy.rs.html @@ -795,4 +795,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/api/v1/mcaptcha/get.rs.html b/src/mcaptcha/api/v1/mcaptcha/get.rs.html index 5c0ce87f..4bfca308 100644 --- a/src/mcaptcha/api/v1/mcaptcha/get.rs.html +++ b/src/mcaptcha/api/v1/mcaptcha/get.rs.html @@ -103,4 +103,4 @@ pub visitor_threshold: i32, } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/api/v1/mcaptcha/mod.rs.html b/src/mcaptcha/api/v1/mcaptcha/mod.rs.html index 37f93c6c..83b0b6a5 100644 --- a/src/mcaptcha/api/v1/mcaptcha/mod.rs.html +++ b/src/mcaptcha/api/v1/mcaptcha/mod.rs.html @@ -155,4 +155,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/api/v1/mcaptcha/stats.rs.html b/src/mcaptcha/api/v1/mcaptcha/stats.rs.html index c3728c74..5d78226f 100644 --- a/src/mcaptcha/api/v1/mcaptcha/stats.rs.html +++ b/src/mcaptcha/api/v1/mcaptcha/stats.rs.html @@ -107,4 +107,4 @@ Ok(HttpResponse::Ok().json(&stats)) } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/api/v1/mcaptcha/update.rs.html b/src/mcaptcha/api/v1/mcaptcha/update.rs.html index 3c0aee23..9bb74556 100644 --- a/src/mcaptcha/api/v1/mcaptcha/update.rs.html +++ b/src/mcaptcha/api/v1/mcaptcha/update.rs.html @@ -433,4 +433,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/api/v1/meta.rs.html b/src/mcaptcha/api/v1/meta.rs.html index 1182d53e..83c83138 100644 --- a/src/mcaptcha/api/v1/meta.rs.html +++ b/src/mcaptcha/api/v1/meta.rs.html @@ -305,4 +305,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/api/v1/mod.rs.html b/src/mcaptcha/api/v1/mod.rs.html index bbfcc142..01b8020f 100644 --- a/src/mcaptcha/api/v1/mod.rs.html +++ b/src/mcaptcha/api/v1/mod.rs.html @@ -101,4 +101,4 @@ #[cfg(test)] mod tests; -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/api/v1/notifications/add.rs.html b/src/mcaptcha/api/v1/notifications/add.rs.html index 89d8ffa8..2c18f9b5 100644 --- a/src/mcaptcha/api/v1/notifications/add.rs.html +++ b/src/mcaptcha/api/v1/notifications/add.rs.html @@ -225,4 +225,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/api/v1/notifications/get.rs.html b/src/mcaptcha/api/v1/notifications/get.rs.html index 6695faea..1f783512 100644 --- a/src/mcaptcha/api/v1/notifications/get.rs.html +++ b/src/mcaptcha/api/v1/notifications/get.rs.html @@ -307,4 +307,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/api/v1/notifications/mark_read.rs.html b/src/mcaptcha/api/v1/notifications/mark_read.rs.html index 0bbfe0fb..57f9def1 100644 --- a/src/mcaptcha/api/v1/notifications/mark_read.rs.html +++ b/src/mcaptcha/api/v1/notifications/mark_read.rs.html @@ -303,4 +303,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/api/v1/notifications/mod.rs.html b/src/mcaptcha/api/v1/notifications/mod.rs.html index 8c65df46..903aad49 100644 --- a/src/mcaptcha/api/v1/notifications/mod.rs.html +++ b/src/mcaptcha/api/v1/notifications/mod.rs.html @@ -89,4 +89,4 @@ cfg.service(mark_read::mark_read); } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/api/v1/pow/get_config.rs.html b/src/mcaptcha/api/v1/pow/get_config.rs.html index 1058135c..e441ec20 100644 --- a/src/mcaptcha/api/v1/pow/get_config.rs.html +++ b/src/mcaptcha/api/v1/pow/get_config.rs.html @@ -605,4 +605,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/api/v1/pow/mod.rs.html b/src/mcaptcha/api/v1/pow/mod.rs.html index 3674bd95..3b5e126c 100644 --- a/src/mcaptcha/api/v1/pow/mod.rs.html +++ b/src/mcaptcha/api/v1/pow/mod.rs.html @@ -191,4 +191,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/api/v1/pow/verify_pow.rs.html b/src/mcaptcha/api/v1/pow/verify_pow.rs.html index b80d74ab..d3bd961e 100644 --- a/src/mcaptcha/api/v1/pow/verify_pow.rs.html +++ b/src/mcaptcha/api/v1/pow/verify_pow.rs.html @@ -307,4 +307,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/api/v1/pow/verify_token.rs.html b/src/mcaptcha/api/v1/pow/verify_token.rs.html index 33d5c31a..f21b8978 100644 --- a/src/mcaptcha/api/v1/pow/verify_token.rs.html +++ b/src/mcaptcha/api/v1/pow/verify_token.rs.html @@ -415,4 +415,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/api/v1/routes.rs.html b/src/mcaptcha/api/v1/routes.rs.html index 1e3363d7..bcc7ed96 100644 --- a/src/mcaptcha/api/v1/routes.rs.html +++ b/src/mcaptcha/api/v1/routes.rs.html @@ -107,4 +107,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/data.rs.html b/src/mcaptcha/data.rs.html index b27a9d69..aa5b100b 100644 --- a/src/mcaptcha/data.rs.html +++ b/src/mcaptcha/data.rs.html @@ -507,4 +507,4 @@ /// Mailer data type AsyncSmtpTransport<Tokio1Executor> pub type Mailer = AsyncSmtpTransport<Tokio1Executor>; -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/date.rs.html b/src/mcaptcha/date.rs.html index 89997950..639b6944 100644 --- a/src/mcaptcha/date.rs.html +++ b/src/mcaptcha/date.rs.html @@ -229,4 +229,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/db.rs.html b/src/mcaptcha/db.rs.html index 951da0ee..a84495aa 100644 --- a/src/mcaptcha/db.rs.html +++ b/src/mcaptcha/db.rs.html @@ -119,4 +119,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/demo.rs.html b/src/mcaptcha/demo.rs.html index 5297ecde..4466770f 100644 --- a/src/mcaptcha/demo.rs.html +++ b/src/mcaptcha/demo.rs.html @@ -355,4 +355,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/docs.rs.html b/src/mcaptcha/docs.rs.html index 7720757a..c7f6e948 100644 --- a/src/mcaptcha/docs.rs.html +++ b/src/mcaptcha/docs.rs.html @@ -269,4 +269,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/email/mod.rs.html b/src/mcaptcha/email/mod.rs.html index 6f1e79f1..6cedc5e5 100644 --- a/src/mcaptcha/email/mod.rs.html +++ b/src/mcaptcha/email/mod.rs.html @@ -35,4 +35,4 @@ pub mod verification; -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/email/verification.rs.html b/src/mcaptcha/email/verification.rs.html index 04b1e581..5d570e65 100644 --- a/src/mcaptcha/email/verification.rs.html +++ b/src/mcaptcha/email/verification.rs.html @@ -279,4 +279,4 @@ project website: {}", } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/errors.rs.html b/src/mcaptcha/errors.rs.html index d8c6b56f..4067b74a 100644 --- a/src/mcaptcha/errors.rs.html +++ b/src/mcaptcha/errors.rs.html @@ -677,4 +677,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/main.rs.html b/src/mcaptcha/main.rs.html index cee796ab..ee7f3efd 100644 --- a/src/mcaptcha/main.rs.html +++ b/src/mcaptcha/main.rs.html @@ -385,4 +385,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/pages/auth/login.rs.html b/src/mcaptcha/pages/auth/login.rs.html index 0eb60c88..757ea9ef 100644 --- a/src/mcaptcha/pages/auth/login.rs.html +++ b/src/mcaptcha/pages/auth/login.rs.html @@ -89,4 +89,4 @@ .body(&**INDEX) } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/pages/auth/mod.rs.html b/src/mcaptcha/pages/auth/mod.rs.html index 21436295..03ad9c30 100644 --- a/src/mcaptcha/pages/auth/mod.rs.html +++ b/src/mcaptcha/pages/auth/mod.rs.html @@ -121,4 +121,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/pages/auth/register.rs.html b/src/mcaptcha/pages/auth/register.rs.html index e3850f46..5c63c6dc 100644 --- a/src/mcaptcha/pages/auth/register.rs.html +++ b/src/mcaptcha/pages/auth/register.rs.html @@ -85,4 +85,4 @@ .body(&**INDEX) } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/pages/auth/sudo.rs.html b/src/mcaptcha/pages/auth/sudo.rs.html index 0e6e3cb5..0a168373 100644 --- a/src/mcaptcha/pages/auth/sudo.rs.html +++ b/src/mcaptcha/pages/auth/sudo.rs.html @@ -89,4 +89,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/pages/errors.rs.html b/src/mcaptcha/pages/errors.rs.html index 5c8d8ccd..f4f6f25c 100644 --- a/src/mcaptcha/pages/errors.rs.html +++ b/src/mcaptcha/pages/errors.rs.html @@ -239,4 +239,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/pages/mod.rs.html b/src/mcaptcha/pages/mod.rs.html index d615bb66..7308155a 100644 --- a/src/mcaptcha/pages/mod.rs.html +++ b/src/mcaptcha/pages/mod.rs.html @@ -247,4 +247,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/pages/panel/mod.rs.html b/src/mcaptcha/pages/panel/mod.rs.html index eedafa13..5cc8a0df 100644 --- a/src/mcaptcha/pages/panel/mod.rs.html +++ b/src/mcaptcha/pages/panel/mod.rs.html @@ -197,4 +197,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/pages/panel/notifications.rs.html b/src/mcaptcha/pages/panel/notifications.rs.html index e22c5410..fc3be53f 100644 --- a/src/mcaptcha/pages/panel/notifications.rs.html +++ b/src/mcaptcha/pages/panel/notifications.rs.html @@ -259,4 +259,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/pages/panel/settings.rs.html b/src/mcaptcha/pages/panel/settings.rs.html index 77e724ff..e2fbafd8 100644 --- a/src/mcaptcha/pages/panel/settings.rs.html +++ b/src/mcaptcha/pages/panel/settings.rs.html @@ -223,4 +223,4 @@ .body(page) } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/pages/panel/sitekey/add.rs.html b/src/mcaptcha/pages/panel/sitekey/add.rs.html index b3afe9c7..bb015ba9 100644 --- a/src/mcaptcha/pages/panel/sitekey/add.rs.html +++ b/src/mcaptcha/pages/panel/sitekey/add.rs.html @@ -179,4 +179,4 @@ .body(&**EASY_INDEX) } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/pages/panel/sitekey/delete.rs.html b/src/mcaptcha/pages/panel/sitekey/delete.rs.html index 1d007807..dbb1b294 100644 --- a/src/mcaptcha/pages/panel/sitekey/delete.rs.html +++ b/src/mcaptcha/pages/panel/sitekey/delete.rs.html @@ -75,4 +75,4 @@ .body(page) } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/pages/panel/sitekey/edit.rs.html b/src/mcaptcha/pages/panel/sitekey/edit.rs.html index d6a44b12..9df8f40d 100644 --- a/src/mcaptcha/pages/panel/sitekey/edit.rs.html +++ b/src/mcaptcha/pages/panel/sitekey/edit.rs.html @@ -413,4 +413,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/pages/panel/sitekey/list.rs.html b/src/mcaptcha/pages/panel/sitekey/list.rs.html index 4fbd5c42..a07c60f1 100644 --- a/src/mcaptcha/pages/panel/sitekey/list.rs.html +++ b/src/mcaptcha/pages/panel/sitekey/list.rs.html @@ -229,4 +229,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/pages/panel/sitekey/mod.rs.html b/src/mcaptcha/pages/panel/sitekey/mod.rs.html index eb780942..221ca3b7 100644 --- a/src/mcaptcha/pages/panel/sitekey/mod.rs.html +++ b/src/mcaptcha/pages/panel/sitekey/mod.rs.html @@ -197,4 +197,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/pages/panel/sitekey/view.rs.html b/src/mcaptcha/pages/panel/sitekey/view.rs.html index 1d6fd055..3cd42b9e 100644 --- a/src/mcaptcha/pages/panel/sitekey/view.rs.html +++ b/src/mcaptcha/pages/panel/sitekey/view.rs.html @@ -279,4 +279,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/pages/routes.rs.html b/src/mcaptcha/pages/routes.rs.html index f89d9312..99538aa8 100644 --- a/src/mcaptcha/pages/routes.rs.html +++ b/src/mcaptcha/pages/routes.rs.html @@ -153,4 +153,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/pages/sitemap.rs.html b/src/mcaptcha/pages/sitemap.rs.html index 365192a5..980383f0 100644 --- a/src/mcaptcha/pages/sitemap.rs.html +++ b/src/mcaptcha/pages/sitemap.rs.html @@ -107,4 +107,4 @@ .body(&**INDEX) } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/routes.rs.html b/src/mcaptcha/routes.rs.html index 8da3fa08..c6b9c2df 100644 --- a/src/mcaptcha/routes.rs.html +++ b/src/mcaptcha/routes.rs.html @@ -47,4 +47,4 @@ crate::static_assets::services(cfg); } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/settings.rs.html b/src/mcaptcha/settings.rs.html index a54332bd..958ef789 100644 --- a/src/mcaptcha/settings.rs.html +++ b/src/mcaptcha/settings.rs.html @@ -531,4 +531,4 @@ // } //} -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/static_assets/filemap.rs.html b/src/mcaptcha/static_assets/filemap.rs.html index 7db2e4e9..0f544187 100644 --- a/src/mcaptcha/static_assets/filemap.rs.html +++ b/src/mcaptcha/static_assets/filemap.rs.html @@ -91,4 +91,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/static_assets/mod.rs.html b/src/mcaptcha/static_assets/mod.rs.html index f1c84dce..dbcfcefc 100644 --- a/src/mcaptcha/static_assets/mod.rs.html +++ b/src/mcaptcha/static_assets/mod.rs.html @@ -49,4 +49,4 @@ cfg.service(static_files::favicons); } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/static_assets/static_files.rs.html b/src/mcaptcha/static_assets/static_files.rs.html index fdb1400d..d9328706 100644 --- a/src/mcaptcha/static_assets/static_files.rs.html +++ b/src/mcaptcha/static_assets/static_files.rs.html @@ -335,4 +335,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/stats.rs.html b/src/mcaptcha/stats.rs.html index 2e5508ee..08c436a2 100644 --- a/src/mcaptcha/stats.rs.html +++ b/src/mcaptcha/stats.rs.html @@ -259,4 +259,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/mcaptcha/widget/mod.rs.html b/src/mcaptcha/widget/mod.rs.html index 9ee477a3..9491dc8e 100644 --- a/src/mcaptcha/widget/mod.rs.html +++ b/src/mcaptcha/widget/mod.rs.html @@ -161,4 +161,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file