pub fn calculate(
- tp: &TrafficPattern,
+ tp: &TrafficPattern,
strategy: &DefaultDifficultyStrategy
) -> Result<Vec<Level>, ServiceError>diff --git a/implementors/core/convert/trait.From.js b/implementors/core/convert/trait.From.js index 0ec41f83..d2fc55b6 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<ApiWork> for Work"],["impl From<&TrafficPatternRequest> for TrafficPattern"],["impl From<CaptchaError> for ServiceError"],["impl From<ValidationErrors> for ServiceError"],["impl From<ParseError> for ServiceError"],["impl From<Notification> for NotificationResp"],["impl From<CredsError> for ServiceError"],["impl From<ServiceError> for PageError"],["impl From<DBError> for PageError"],["impl From<ChangePasswordReqest> for UpdatePassword"],["impl From<String> for HealthBuilderError"],["impl From<Notification> for Notification"],["impl From<VerifyCaptchaResultPayload> for VerifyCaptchaResult"],["impl From<Error> for ServiceError"],["impl From<String> for BuildDetailsBuilderError"],["impl From<UninitializedFieldError> for HealthBuilderError"],["impl From<MailboxError> for ServiceError"],["impl From<DBError> for ServiceError"],["impl From<RecvError> for ServiceError"],["impl From<UninitializedFieldError> for BuildDetailsBuilderError"]] +"mcaptcha":[["impl From<ApiWork> for Work"],["impl From<&TrafficPatternRequest> for TrafficPattern"],["impl From<CaptchaError> for ServiceError"],["impl From<ValidationErrors> for ServiceError"],["impl From<ParseError> for ServiceError"],["impl From<Notification> for NotificationResp"],["impl From<CredsError> for ServiceError"],["impl From<ServiceError> for PageError"],["impl From<DBError> for PageError"],["impl From<ChangePasswordReqest> for UpdatePassword"],["impl From<String> for HealthBuilderError"],["impl From<Notification> for Notification"],["impl From<VerifyCaptchaResultPayload> for VerifyCaptchaResult"],["impl From<Error> for ServiceError"],["impl From<String> for BuildDetailsBuilderError"],["impl From<UninitializedFieldError> for HealthBuilderError"],["impl From<MailboxError> for ServiceError"],["impl From<DBError> for ServiceError"],["impl From<RecvError> for ServiceError"],["impl From<UninitializedFieldError> for BuildDetailsBuilderError"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ 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 b5c9bdc8..357405fa 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/fn.calculate.html +++ b/mcaptcha/api/v1/mcaptcha/easy/fn.calculate.html @@ -1,4 +1,4 @@
pub fn calculate(
- tp: &TrafficPattern,
+ tp: &TrafficPattern,
strategy: &DefaultDifficultyStrategy
) -> Result<Vec<Level>, ServiceError>description: StringCaptcha description
publish_benchmarks: boolpublish benchmarks
source. Read morename: String§heading: String§message: String§received: i64§id: i32source. Read moreself and other values to be equal, and is used
+}name: String§heading: String§message: String§received: i64§id: i32source. Read moreself and other values to be equal, and is used
by ==.pub struct Data {
- pub db: Box<dyn MCDatabase>,
+ pub db: Box<dyn MCDatabase>,
pub creds: Config,
pub captcha: SystemGroup,
pub mailer: Option<AsyncSmtpTransport<Tokio1Executor>>,
@@ -7,7 +7,7 @@
pub stats: Box<dyn Stats>,
pub survey_secrets: SecretsStore,
}App data
-db: Box<dyn MCDatabase>database ops defined by db crates
+db: Box<dyn MCDatabase>database ops defined by db crates
creds: Configcredential management configuration
captcha: SystemGroupmCaptcha system: Redis cache, etc.
mailer: Option<AsyncSmtpTransport<Tokio1Executor>>email client
diff --git a/mcaptcha/db/maria/fn.get_data.html b/mcaptcha/db/maria/fn.get_data.html index 0b620bbe..2b78e316 100644 --- a/mcaptcha/db/maria/fn.get_data.html +++ b/mcaptcha/db/maria/fn.get_data.html @@ -1 +1 @@ -pub enum PageError {
InternalServerError,
ServiceError(ServiceError),
-}self and other values to be equal, and is used
+}token not found
captcha not found
Traffic pattern not found
-self and other values to be equal, and is used
+self and other values to be equal, and is used
by ==.pub struct DBErrorWrapper(DBError);0: DBErrorself and other values to be equal, and is used
+pub struct DBErrorWrapper(DBError);0: DBErrorname: String§heading: String§message: String§received: OffsetDateTime§id: i32name: String§heading: String§message: String§received: OffsetDateTime§id: i32Returns the argument unchanged.
diff --git a/mcaptcha/pages/panel/sitekey/edit/struct.AdvanceEditPage.html b/mcaptcha/pages/panel/sitekey/edit/struct.AdvanceEditPage.html index 30648428..1996416b 100644 --- a/mcaptcha/pages/panel/sitekey/edit/struct.AdvanceEditPage.html +++ b/mcaptcha/pages/panel/sitekey/edit/struct.AdvanceEditPage.html @@ -5,7 +5,7 @@ levels: Vec<Level>, publish_benchmarks: bool, }duration: u32§name: String§key: String§levels: Vec<Level>§publish_benchmarks: boolpub struct IndexPage {
- sitekeys: Vec<Captcha>,
-}sitekeys: Vec<Captcha>RenderResult Read moresitekeys: Vec<Captcha>RenderResult Read moreReturns the argument unchanged.
diff --git a/mcaptcha/pages/panel/sitekey/view/struct.IndexPage.html b/mcaptcha/pages/panel/sitekey/view/struct.IndexPage.html index 7c309dc9..07f12981 100644 --- a/mcaptcha/pages/panel/sitekey/view/struct.IndexPage.html +++ b/mcaptcha/pages/panel/sitekey/view/struct.IndexPage.html @@ -7,7 +7,7 @@ publish_benchmarks: bool, }duration: u32§name: String§key: String§levels: Vec<Level>§stats: CaptchaStats§publish_benchmarks: boolpub struct IndexPage {
- sitekeys: Vec<Captcha>,
-}sitekeys: Vec<Captcha>RenderResult Read moresitekeys: Vec<Captcha>RenderResult Read moreReturns the argument unchanged.
diff --git a/mcaptcha/stats/struct.Dummy.html b/mcaptcha/stats/struct.Dummy.html index 3440addb..528780d0 100644 --- a/mcaptcha/stats/struct.Dummy.html +++ b/mcaptcha/stats/struct.Dummy.html @@ -4,7 +4,7 @@ sufficient, and should not be overridden without very good reason.pub struct Data {
- pub db: Box<dyn MCDatabase>,
+ pub db: Box<dyn MCDatabase>,
pub creds: Config,
pub captcha: SystemGroup,
pub mailer: Option<AsyncSmtpTransport<Tokio1Executor>>,
@@ -7,7 +7,7 @@
pub stats: Box<dyn Stats>,
pub survey_secrets: SecretsStore,
}App data
-db: Box<dyn MCDatabase>database ops defined by db crates
+db: Box<dyn MCDatabase>database ops defined by db crates
creds: Configcredential management configuration
captcha: SystemGroupmCaptcha system: Redis cache, etc.
mailer: Option<AsyncSmtpTransport<Tokio1Executor>>email client