mCaptcha/mcaptcha/index.html

1 line
12 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `mcaptcha` crate."><title>mcaptcha - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="mcaptcha" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0 (1159e78c4 2025-09-14)" data-channel="1.90.0" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../static.files/storage-68b7e25d.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../mcaptcha/index.html">mcaptcha</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section id="rustdoc-toc"><h3><a href="#modules">Crate Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#constants" title="Constants">Constants</a></li><li><a href="#functions" title="Functions">Functions</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Crate <span>mcaptcha</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/mcaptcha/main.rs.html#1-220">Source</a> </span></div><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="api/index.html" title="mod mcaptcha::api">api</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="mod" href="data/index.html" title="mod mcaptcha::data">data</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>App data: redis cache, database connections, etc.</dd><dt><a class="mod" href="date/index.html" title="mod mcaptcha::date">date</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="mod" href="db/index.html" title="mod mcaptcha::db">db</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="mod" href="demo/index.html" title="mod mcaptcha::demo">demo</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="mod" href="docs/index.html" title="mod mcaptcha::docs">docs</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="mod" href="easy/index.html" title="mod mcaptcha::easy">easy</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="mod" href="email/index.html" title="mod mcaptcha::email">email</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="mod" href="errors/index.html" title="mod mcaptcha::errors">errors</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="mod" href="pages/index.html" title="mod mcaptcha::pages">pages</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="mod" href="routes/index.html" title="mod mcaptcha::routes">routes</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="mod" href="settings/index.html" title="mod mcaptcha::settings">settings</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="mod" href="static_assets/index.html" title="mod mcaptcha::static_assets">static_<wbr>assets</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="mod" href="stats/index.html" title="mod mcaptcha::stats">stats</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="mod" href="survey/index.html" title="mod mcaptcha::survey">survey</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="mod" href="widget/index.html" title="mod mcaptcha::widget">widget</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>User facing CAPTCHA widget</dd></dl><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.BAR_CHART.html" title="struct mcaptcha::BAR_CHART">BAR_<wbr>CHART</a></dt><dt><a class="struct" href="struct.CREDIT_CARD.html" title="struct mcaptcha::CREDIT_CARD">CREDIT_<wbr>CARD</a></dt><dt><a class="struct" href="struct.CSS.html" title="struct mcaptcha::CSS">CSS</a></dt><dt><a class="struct" href="struct.DOCS_ICON.html" title="struct mcaptcha::DOCS_ICON">DOCS_<wbr>ICON</a></dt><dt><a class="struct" href="struct.Data.html" title="struct mcaptcha::Data">Data</a></dt><dd>App data</dd><dt><a class="struct" href="struct.FILES.html" title="struct mcaptcha::FILES">FILES</a></dt><dt><a class="struct" href="struct.GITHUB.html" title="struct mcaptcha::GITHUB">GITHUB</a></dt><dt><a class="struct" href="struct.HELP_CIRCLE.html" title="struct mcaptcha::HELP_CIRCLE">HELP_<wbr>CIRCLE</a></dt><dt><a class="struct" href="struct.HOME.html" title="struct mcaptcha::HOME">HOME</a></dt><dt><a class="struct" href="struct.JS.html" title="struct mcaptcha::JS">JS</a></dt><dt><a class="struct" href="struct.KEY.html" title="struct mcaptcha::KEY">KEY</a></dt><dt><a class="struct" href="struct.MCAPTCHA_TRANS_ICON.html" title="struct mcaptcha::MCAPTCHA_TRANS_ICON">MCAPTCHA_<wbr>TRANS_<wbr>ICON</a></dt><dt><a class="struct" href="struct.MESSAGE.html" title="struct mcaptcha::MESSAGE">MESSAGE</a></dt><dt><a class="struct" href="struct.MOBILE_CSS.html" title="struct mcaptcha::MOBILE_CSS">MOBILE_<wbr>CSS</a></dt><dt><a class="struct" href="struct.SETTINGS.html" title="struct mcaptcha::SETTINGS">SETTINGS</a></dt><dt><a class="struct" href="struct.SETTINGS_ICON.html" title="struct mcaptcha::SETTINGS_ICON">SETTINGS_<wbr>ICON</a></dt><dt><a class="struct" href="struct.SOURCE_FILES_OF_INSTANCE.html" title="struct mcaptcha::SOURCE_FILES_OF_INSTANCE">SOURCE_<wbr>FILES_<wbr>OF_<wbr>INSTANCE</a></dt><dd>points to source files matching build commit</dd><dt><a class="struct" href="struct.Settings.html" title="struct mcaptcha::Settings">Settings</a></dt><dt><a class="struct" href="struct.VERIFICATIN_WIDGET_CSS.html" title="struct mcaptcha::VERIFICATIN_WIDGET_CSS">VERIFICATIN_<wbr>WIDGET_<wbr>CSS</a></dt><dt><a class="struct" href="struct.VERIFICATIN_WIDGET_JS.html" title="struct mcaptcha::VERIFICATIN_WIDGET_JS">VERIFICATIN_<wbr>WIDGET_<wbr>JS</a></dt></dl><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><dl class="item-table"><dt><a class="constant" href="constant.CACHE_AGE.html" title="constant mcaptcha::CACHE_AGE">CACHE_<wbr>AGE</a></dt><dt><a class="constant" href="constant.COMPILED_DATE.html" title="constant mcaptcha::COMPILED_DATE">COMPILED_<wbr>DATE</a></dt><dt><a class="constant" href="constant.DOCS.html" title="constant mcaptcha::DOCS">DOCS</a></dt><dt><a class="constant" href="constant.GIT_COMMIT_HASH.html" title="constant mcaptcha::GIT_COMMIT_HASH">GIT_<wbr>COMMIT_<wbr>HASH</a></dt><dt><a class="constant" href="constant.PAGES.html" title="constant mcaptcha::PAGES">PAGES</a></dt><dt><a class="constant" href="constant.PKG_DESCRIPTION.html" title="constant mcaptcha::PKG_DESCRIPTION">PKG_<wbr>DESCRIPTION</a></dt><dt><a class="constant" href="constant.PKG_HOMEPAGE.html" title="constant mcaptcha::PKG_HOMEPAGE">PKG_<wbr>HOMEPAGE</a></dt><dt><a class="constant" href="constant.PKG_NAME.html" title="constant mcaptcha::PKG_NAME">PKG_<wbr>NAME</a></dt><dt><a class="constant" href="constant.V1_API_ROUTES.html" title="constant mcaptcha::V1_API_ROUTES">V1_<wbr>API_<wbr>ROUTES</a></dt><dt><a class="constant" href="constant.VERSION.html" title="constant mcaptcha::VERSION">VERSION</a></dt><dt><a class="constant" href="constant.WIDGET_ROUTES.html" title="constant mcaptcha::WIDGET_ROUTES">WIDGET_<wbr>ROUTES</a></dt></dl><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><dl class="item-table"><dt><a class="fn" href="fn.get_identity_service.html" title="fn mcaptcha::get_identity_service">get_<wbr>identity_<wbr>service</a></dt><dt><a class="fn" href="fn.get_json_err.html" title="fn mcaptcha::get_json_err">get_<wbr>json_<wbr>err</a></dt><dt><a class="fn" href="fn.main.html" title="fn mcaptcha::main">main</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt></dl><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><dl class="item-table"><dt><a class="type" href="type.AppData.html" title="type mcaptcha::AppData">AppData</a></dt><dt><a class="type" href="type.ArcData.html" title="type mcaptcha::ArcData">ArcData</a></dt></dl><script type="text/json" id="notable-traits-data">{"&[u8]":"<h3>Notable traits for <code>&amp;[<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.90.0/std/primitive.u8.html\">u8</a>]</code></h3><pre><code><div class=\"where\">impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.90.0/std/io/trait.Read.html\" title=\"trait std::io::Read\">Read</a> for &amp;[<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.90.0/std/primitive.u8.html\">u8</a>]</div>","<Arc<S> as Service<Request>>::Future":"<h3>Notable traits for <code><a class=\"struct\" href=\"https://doc.rust-lang.org/1.90.0/alloc/sync/struct.Arc.html\" title=\"struct alloc::sync::Arc\">Arc</a>&lt;<a class=\"struct\" href=\"https://doc.rust-lang.org/1.90.0/std/fs/struct.File.html\" title=\"struct std::fs::File\">File</a>&gt;</code></h3><pre><code><div class=\"where\">impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.90.0/std/io/trait.Read.html\" title=\"trait std::io::Read\">Read</a> for <a class=\"struct\" href=\"https://doc.rust-lang.org/1.90.0/alloc/sync/struct.Arc.html\" title=\"struct alloc::sync::Arc\">Arc</a>&lt;<a class=\"struct\" href=\"https://doc.rust-lang.org/1.90.0/std/fs/struct.File.html\" title=\"struct std::fs::File\">File</a>&gt;</div><div class=\"where\">impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.90.0/std/io/trait.Write.html\" title=\"trait std::io::Write\">Write</a> for <a class=\"struct\" href=\"https://doc.rust-lang.org/1.90.0/alloc/sync/struct.Arc.html\" title=\"struct alloc::sync::Arc\">Arc</a>&lt;<a class=\"struct\" href=\"https://doc.rust-lang.org/1.90.0/std/fs/struct.File.html\" title=\"struct std::fs::File\">File</a>&gt;</div>"}</script></section></div></main></body></html>