405 lines
No EOL
117 KiB
HTML
405 lines
No EOL
117 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 `Database` struct in crate `db_sqlx_maria`."><title>Database in db_sqlx_maria - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-cb6f1f67f1bcd037.css" id="mainThemeStyle"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="db_sqlx_maria" data-themes="" data-resource-suffix="" data-rustdoc-version="1.73.0 (cc66ad468 2023-10-03)" data-channel="1.73.0" data-search-js="search-6dfdfced5eff6596.js" data-settings-js="settings-de11bff964e9d4e5.js" data-settings-css="settings-8c76f75bfb6bd192.css" data-theme-light-css="light-1596385f77d47ef2.css" data-theme-dark-css="dark-0a43001d3fc2282c.css" data-theme-ayu-css="ayu-fd19013d6ce078bf.css" ><script src="../static.files/storage-db41da1a38ea3cb8.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-0795b7d26be81095.js"></script><noscript><link rel="stylesheet" media="(prefers-color-scheme:light)" href="../static.files/light-1596385f77d47ef2.css"><link rel="stylesheet" media="(prefers-color-scheme:dark)" href="../static.files/dark-0a43001d3fc2282c.css"><link rel="stylesheet" href="../static.files/noscript-cffde32267a19fd6.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc struct"><!--[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">☰</button><a class="logo-container" href="../db_sqlx_maria/index.html"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2></h2></nav><nav class="sidebar"><a class="logo-container" href="../db_sqlx_maria/index.html"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2 class="location"><a href="#">Database</a></h2><div class="sidebar-elems"><section><h3><a href="#fields">Fields</a></h3><ul class="block"><li><a href="#structfield.pool">pool</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block"><li><a href="#impl-Clone-for-Database">Clone</a></li><li><a href="#impl-MCDatabase-for-Database">MCDatabase</a></li><li><a href="#impl-Migrate-for-Database">Migrate</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block"><li><a href="#impl-RefUnwindSafe-for-Database">!RefUnwindSafe</a></li><li><a href="#impl-UnwindSafe-for-Database">!UnwindSafe</a></li><li><a href="#impl-Send-for-Database">Send</a></li><li><a href="#impl-Sync-for-Database">Sync</a></li><li><a href="#impl-Unpin-for-Database">Unpin</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block"><li><a href="#impl-Any-for-Database">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-Database">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-Database">BorrowMut<T></a></li><li><a href="#impl-CloneSPDatabase-for-Database">CloneSPDatabase</a></li><li><a href="#impl-From%3CT%3E-for-Database">From<T></a></li><li><a href="#impl-Instrument-for-Database">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-Database">Into<U></a></li><li><a href="#impl-Same%3CT%3E-for-Database">Same<T></a></li><li><a href="#impl-ToOwned-for-Database">ToOwned</a></li><li><a href="#impl-TryFrom%3CU%3E-for-Database">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-Database">TryInto<U></a></li><li><a href="#impl-VZip%3CV%3E-for-Database">VZip<V></a></li><li><a href="#impl-WithSubscriber-for-Database">WithSubscriber</a></li></ul></section><h2><a href="index.html">In db_sqlx_maria</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="index.html">db_sqlx_maria</a>::<wbr><a class="struct" href="#">Database</a><button id="copy-path" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../src/db_sqlx_maria/lib.rs.html#21-23">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub struct Database {
|
||
pub pool: MySqlPool,
|
||
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.pool" class="structfield small-section-header"><a href="#structfield.pool" class="anchor field">§</a><code>pool: MySqlPool</code></span><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-Database" class="impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#20">source</a><a href="#impl-Clone-for-Database" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#20">source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.73.0/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> <a class="struct" href="struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.73.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.73.0/src/core/clone.rs.html#169">source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.73.0/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&mut self, source: <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.reference.html">&Self</a>)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.73.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MCDatabase-for-Database" class="impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#92-1277">source</a><a href="#impl-MCDatabase-for-Database" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="dev/dev/trait.MCDatabase.html" title="trait db_sqlx_maria::dev::dev::MCDatabase">MCDatabase</a> for <a class="struct" href="struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.ping" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#94-102">source</a><a href="#method.ping" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.ping" class="fn">ping</a><'life0, 'async_trait>(
|
||
&'life0 self
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.bool.html">bool</a>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,</span></h4></section></summary><div class="docblock"><p>ping DB</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.register" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#105-130">source</a><a href="#method.register" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.register" class="fn">register</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
p: &'life1 <a class="struct" href="dev/dev/struct.Register.html" title="struct db_sqlx_maria::dev::dev::Register">Register</a><'_>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</span></h4></section></summary><div class="docblock"><p>register a new user</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.delete_user" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#133-139">source</a><a href="#method.delete_user" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.delete_user" class="fn">delete_user</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</span></h4></section></summary><div class="docblock"><p>delete a user</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.username_exists" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#142-151">source</a><a href="#method.username_exists" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.username_exists" class="fn">username_exists</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.bool.html">bool</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</span></h4></section></summary><div class="docblock"><p>check if username exists</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.get_email" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#154-168">source</a><a href="#method.get_email" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.get_email" class="fn">get_email</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="enum" href="https://doc.rust-lang.org/1.73.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</span></h4></section></summary><div class="docblock"><p>get user email</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.email_exists" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#171-180">source</a><a href="#method.email_exists" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.email_exists" class="fn">email_exists</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
email: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.bool.html">bool</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</span></h4></section></summary><div class="docblock"><p>check if email exists</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.update_email" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#183-195">source</a><a href="#method.update_email" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.update_email" class="fn">update_email</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
p: &'life1 <a class="struct" href="dev/dev/struct.UpdateEmail.html" title="struct db_sqlx_maria::dev::dev::UpdateEmail">UpdateEmail</a><'_>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</span></h4></section></summary><div class="docblock"><p>update a user’s email</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.get_password" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#198-230">source</a><a href="#method.get_password" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.get_password" class="fn">get_password</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
l: &'life1 <a class="enum" href="dev/dev/enum.Login.html" title="enum db_sqlx_maria::dev::dev::Login">Login</a><'_>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="struct" href="dev/dev/struct.NameHash.html" title="struct db_sqlx_maria::dev::dev::NameHash">NameHash</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</span></h4></section></summary><div class="docblock"><p>get a user’s password</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.update_password" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#233-245">source</a><a href="#method.update_password" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.update_password" class="fn">update_password</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
p: &'life1 <a class="struct" href="dev/dev/struct.NameHash.html" title="struct db_sqlx_maria::dev::dev::NameHash">NameHash</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</span></h4></section></summary><div class="docblock"><p>update user’s password</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.update_username" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#248-260">source</a><a href="#method.update_username" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.update_username" class="fn">update_username</a><'life0, 'life1, 'life2, 'async_trait>(
|
||
&'life0 self,
|
||
current: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>,
|
||
new: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,
|
||
'life2: 'async_trait,</span></h4></section></summary><div class="docblock"><p>update username</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.get_secret" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#263-274">source</a><a href="#method.get_secret" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.get_secret" class="fn">get_secret</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="struct" href="dev/dev/struct.Secret.html" title="struct db_sqlx_maria::dev::dev::Secret">Secret</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</span></h4></section></summary><div class="docblock"><p>get a user’s secret</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.get_secret_from_captcha" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#277-290">source</a><a href="#method.get_secret_from_captcha" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.get_secret_from_captcha" class="fn">get_secret_from_captcha</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
key: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="struct" href="dev/dev/struct.Secret.html" title="struct db_sqlx_maria::dev::dev::Secret">Secret</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</span></h4></section></summary><div class="docblock"><p>get a user’s secret from a captcha key</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.update_secret" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#293-305">source</a><a href="#method.update_secret" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.update_secret" class="fn">update_secret</a><'life0, 'life1, 'life2, 'async_trait>(
|
||
&'life0 self,
|
||
username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>,
|
||
secret: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,
|
||
'life2: 'async_trait,</span></h4></section></summary><div class="docblock"><p>update a user’s secret</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.create_captcha" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#308-323">source</a><a href="#method.create_captcha" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.create_captcha" class="fn">create_captcha</a><'life0, 'life1, 'life2, 'async_trait>(
|
||
&'life0 self,
|
||
username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>,
|
||
p: &'life2 <a class="struct" href="dev/dev/struct.CreateCaptcha.html" title="struct db_sqlx_maria::dev::dev::CreateCaptcha">CreateCaptcha</a><'_>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,
|
||
'life2: 'async_trait,</span></h4></section></summary><div class="docblock"><p>create new captcha</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.get_captcha_config" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#326-340">source</a><a href="#method.get_captcha_config" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.get_captcha_config" class="fn">get_captcha_config</a><'life0, 'life1, 'life2, 'async_trait>(
|
||
&'life0 self,
|
||
username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>,
|
||
key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="struct" href="dev/dev/struct.Captcha.html" title="struct db_sqlx_maria::dev::dev::Captcha">Captcha</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,
|
||
'life2: 'async_trait,</span></h4></section></summary><div class="docblock"><p>Get captcha config</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.get_all_user_captchas" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#343-359">source</a><a href="#method.get_all_user_captchas" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.get_all_user_captchas" class="fn">get_all_user_captchas</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="dev/dev/struct.Captcha.html" title="struct db_sqlx_maria::dev::dev::Captcha">Captcha</a>>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</span></h4></section></summary><div class="docblock"><p>Get all captchas belonging to user</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.update_captcha_metadata" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#362-381">source</a><a href="#method.update_captcha_metadata" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.update_captcha_metadata" class="fn">update_captcha_metadata</a><'life0, 'life1, 'life2, 'async_trait>(
|
||
&'life0 self,
|
||
username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>,
|
||
p: &'life2 <a class="struct" href="dev/dev/struct.CreateCaptcha.html" title="struct db_sqlx_maria::dev::dev::CreateCaptcha">CreateCaptcha</a><'_>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,
|
||
'life2: 'async_trait,</span></h4></section></summary><div class="docblock"><p>update captcha metadata; doesn’t change captcha key</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.update_captcha_key" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#384-402">source</a><a href="#method.update_captcha_key" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.update_captcha_key" class="fn">update_captcha_key</a><'life0, 'life1, 'life2, 'life3, 'async_trait>(
|
||
&'life0 self,
|
||
username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>,
|
||
old_key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>,
|
||
new_key: &'life3 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,
|
||
'life2: 'async_trait,
|
||
'life3: 'async_trait,</span></h4></section></summary><div class="docblock"><p>update captcha key; doesn’t change metadata</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.add_captcha_levels" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#405-474">source</a><a href="#method.add_captcha_levels" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.add_captcha_levels" class="fn">add_captcha_levels</a><'life0, 'life1, 'life2, 'life3, 'async_trait>(
|
||
&'life0 self,
|
||
username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>,
|
||
captcha_key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>,
|
||
levels: &'life3 [<a class="struct" href="dev/dev/prelude/struct.Level.html" title="struct db_sqlx_maria::dev::dev::prelude::Level">Level</a>]
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,
|
||
'life2: 'async_trait,
|
||
'life3: 'async_trait,</span></h4></section></summary><div class="docblock"><p>Add levels to captcha</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.captcha_exists" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#477-523">source</a><a href="#method.captcha_exists" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.captcha_exists" class="fn">captcha_exists</a><'life0, 'life1, 'life2, 'async_trait>(
|
||
&'life0 self,
|
||
username: <a class="enum" href="https://doc.rust-lang.org/1.73.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>>,
|
||
captcha_key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.bool.html">bool</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,
|
||
'life2: 'async_trait,</span></h4></section></summary><div class="docblock"><p>check if captcha exists</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.delete_captcha_levels" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#526-547">source</a><a href="#method.delete_captcha_levels" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.delete_captcha_levels" class="fn">delete_captcha_levels</a><'life0, 'life1, 'life2, 'async_trait>(
|
||
&'life0 self,
|
||
username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>,
|
||
captcha_key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,
|
||
'life2: 'async_trait,</span></h4></section></summary><div class="docblock"><p>Delete all levels of a captcha</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.delete_captcha" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#550-563">source</a><a href="#method.delete_captcha" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.delete_captcha" class="fn">delete_captcha</a><'life0, 'life1, 'life2, 'async_trait>(
|
||
&'life0 self,
|
||
username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>,
|
||
captcha_key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,
|
||
'life2: 'async_trait,</span></h4></section></summary><div class="docblock"><p>Delete captcha</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.get_captcha_levels" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#566-612">source</a><a href="#method.get_captcha_levels" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.get_captcha_levels" class="fn">get_captcha_levels</a><'life0, 'life1, 'life2, 'async_trait>(
|
||
&'life0 self,
|
||
username: <a class="enum" href="https://doc.rust-lang.org/1.73.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>>,
|
||
captcha_key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="dev/dev/prelude/struct.Level.html" title="struct db_sqlx_maria::dev::dev::prelude::Level">Level</a>>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,
|
||
'life2: 'async_trait,</span></h4></section></summary><div class="docblock"><p>Get captcha levels</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.get_captcha_cooldown" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#615-631">source</a><a href="#method.get_captcha_cooldown" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.get_captcha_cooldown" class="fn">get_captcha_cooldown</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
captcha_key: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.i32.html">i32</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</span></h4></section></summary><div class="docblock"><p>Get captcha’s cooldown period</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.add_traffic_pattern" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#633-660">source</a><a href="#method.add_traffic_pattern" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.add_traffic_pattern" class="fn">add_traffic_pattern</a><'life0, 'life1, 'life2, 'life3, 'async_trait>(
|
||
&'life0 self,
|
||
username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>,
|
||
captcha_key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>,
|
||
pattern: &'life3 <a class="struct" href="dev/dev/struct.TrafficPattern.html" title="struct db_sqlx_maria::dev::dev::TrafficPattern">TrafficPattern</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,
|
||
'life2: 'async_trait,
|
||
'life3: 'async_trait,</span></h4></section></summary><div class="docblock"><p>Add traffic configuration</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.get_traffic_pattern" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#663-710">source</a><a href="#method.get_traffic_pattern" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.get_traffic_pattern" class="fn">get_traffic_pattern</a><'life0, 'life1, 'life2, 'async_trait>(
|
||
&'life0 self,
|
||
username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>,
|
||
captcha_key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="struct" href="dev/dev/struct.TrafficPattern.html" title="struct db_sqlx_maria::dev::dev::TrafficPattern">TrafficPattern</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,
|
||
'life2: 'async_trait,</span></h4></section></summary><div class="docblock"><p>Get traffic configuration</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.delete_traffic_pattern" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#713-736">source</a><a href="#method.delete_traffic_pattern" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.delete_traffic_pattern" class="fn">delete_traffic_pattern</a><'life0, 'life1, 'life2, 'async_trait>(
|
||
&'life0 self,
|
||
username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>,
|
||
captcha_key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,
|
||
'life2: 'async_trait,</span></h4></section></summary><div class="docblock"><p>Delete traffic configuration</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.create_notification" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#739-761">source</a><a href="#method.create_notification" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.create_notification" class="fn">create_notification</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
p: &'life1 <a class="struct" href="dev/dev/struct.AddNotification.html" title="struct db_sqlx_maria::dev::dev::AddNotification">AddNotification</a><'_>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</span></h4></section></summary><div class="docblock"><p>create new notification</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.get_all_unread_notifications" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#764-784">source</a><a href="#method.get_all_unread_notifications" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.get_all_unread_notifications" class="fn">get_all_unread_notifications</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="dev/dev/struct.Notification.html" title="struct db_sqlx_maria::dev::dev::Notification">Notification</a>>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</span></h4></section></summary><div class="docblock"><p>get all unread notifications</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.mark_notification_read" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#787-799">source</a><a href="#method.mark_notification_read" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.mark_notification_read" class="fn">mark_notification_read</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>,
|
||
id: <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.i32.html">i32</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</span></h4></section></summary><div class="docblock"><p>mark a notification read</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.record_fetch" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#802-814">source</a><a href="#method.record_fetch" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.record_fetch" class="fn">record_fetch</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
key: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</span></h4></section></summary><div class="docblock"><p>record PoWConfig fetches</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.record_solve" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#817-829">source</a><a href="#method.record_solve" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.record_solve" class="fn">record_solve</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
key: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</span></h4></section></summary><div class="docblock"><p>record PoWConfig solves</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.record_confirm" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#832-844">source</a><a href="#method.record_confirm" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.record_confirm" class="fn">record_confirm</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
key: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</span></h4></section></summary><div class="docblock"><p>record PoWConfig confirms</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.fetch_config_fetched" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#847-870">source</a><a href="#method.fetch_config_fetched" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.fetch_config_fetched" class="fn">fetch_config_fetched</a><'life0, 'life1, 'life2, 'async_trait>(
|
||
&'life0 self,
|
||
user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>,
|
||
key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.i64.html">i64</a>>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,
|
||
'life2: 'async_trait,</span></h4></section></summary><div class="docblock"><p>fetch PoWConfig fetches</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.fetch_solve" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#873-894">source</a><a href="#method.fetch_solve" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.fetch_solve" class="fn">fetch_solve</a><'life0, 'life1, 'life2, 'async_trait>(
|
||
&'life0 self,
|
||
user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>,
|
||
key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.i64.html">i64</a>>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,
|
||
'life2: 'async_trait,</span></h4></section></summary><div class="docblock"><p>fetch PoWConfig solves</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.fetch_confirm" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#897-919">source</a><a href="#method.fetch_confirm" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.fetch_confirm" class="fn">fetch_confirm</a><'life0, 'life1, 'life2, 'async_trait>(
|
||
&'life0 self,
|
||
user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>,
|
||
key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.i64.html">i64</a>>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,
|
||
'life2: 'async_trait,</span></h4></section></summary><div class="docblock"><p>fetch PoWConfig confirms</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.analysis_save" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#922-940">source</a><a href="#method.analysis_save" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.analysis_save" class="fn">analysis_save</a><'life0, 'life1, 'life2, 'async_trait>(
|
||
&'life0 self,
|
||
captcha_id: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>,
|
||
d: &'life2 <a class="struct" href="dev/dev/struct.CreatePerformanceAnalytics.html" title="struct db_sqlx_maria::dev::dev::CreatePerformanceAnalytics">CreatePerformanceAnalytics</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,
|
||
'life2: 'async_trait,</span></h4></section></summary><div class="docblock"><p>record PoW timing</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.analytics_fetch" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#943-992">source</a><a href="#method.analytics_fetch" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.analytics_fetch" class="fn">analytics_fetch</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
captcha_id: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>,
|
||
limit: <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.usize.html">usize</a>,
|
||
offset: <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.usize.html">usize</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="dev/dev/struct.PerformanceAnalytics.html" title="struct db_sqlx_maria::dev::dev::PerformanceAnalytics">PerformanceAnalytics</a>>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</span></h4></section></summary><div class="docblock"><p>fetch PoW analytics</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.analytics_create_psuedo_id_if_not_exists" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#995-1016">source</a><a href="#method.analytics_create_psuedo_id_if_not_exists" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.analytics_create_psuedo_id_if_not_exists" class="fn">analytics_create_psuedo_id_if_not_exists</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
captcha_id: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</span></h4></section></summary><div class="docblock"><p>Create psuedo ID against campaign ID to publish analytics</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.analytics_get_psuedo_id_from_capmaign_id" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#1019-1036">source</a><a href="#method.analytics_get_psuedo_id_from_capmaign_id" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.analytics_get_psuedo_id_from_capmaign_id" class="fn">analytics_get_psuedo_id_from_capmaign_id</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
captcha_id: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</span></h4></section></summary><div class="docblock"><p>Get psuedo ID from campaign ID</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.analytics_get_capmaign_id_from_psuedo_id" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#1039-1068">source</a><a href="#method.analytics_get_capmaign_id_from_psuedo_id" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.analytics_get_capmaign_id_from_psuedo_id" class="fn">analytics_get_capmaign_id_from_psuedo_id</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
psuedo_id: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</span></h4></section></summary><div class="docblock"><p>Get campaign ID from psuedo ID</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.analytics_get_all_psuedo_ids" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#1102-1122">source</a><a href="#method.analytics_get_all_psuedo_ids" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.analytics_get_all_psuedo_ids" class="fn">analytics_get_all_psuedo_ids</a><'life0, 'async_trait>(
|
||
&'life0 self,
|
||
page: <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.usize.html">usize</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,</span></h4></section></summary><div class="docblock"><p>Get all psuedo IDs</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.update_max_nonce_for_level" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#1125-1154">source</a><a href="#method.update_max_nonce_for_level" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.update_max_nonce_for_level" class="fn">update_max_nonce_for_level</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
captcha_key: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>,
|
||
difficulty_factor: <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.u32.html">u32</a>,
|
||
latest_nonce: <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.u32.html">u32</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</span></h4></section></summary><div class="docblock"><p>Track maximum nonce received against captcha levels</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.get_max_nonce_for_level" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#1157-1221">source</a><a href="#method.get_max_nonce_for_level" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.get_max_nonce_for_level" class="fn">get_max_nonce_for_level</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
captcha_key: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>,
|
||
difficulty_factor: <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.u32.html">u32</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.u32.html">u32</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</span></h4></section></summary><div class="docblock"><p>Get maximum nonce tracked so far for captcha levels</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.stats_get_num_logs_under_time" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#1224-1244">source</a><a href="#method.stats_get_num_logs_under_time" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.stats_get_num_logs_under_time" class="fn">stats_get_num_logs_under_time</a><'life0, 'async_trait>(
|
||
&'life0 self,
|
||
duration: <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.u32.html">u32</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.usize.html">usize</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,</span></h4></section></summary><div class="docblock"><p>Get number of analytics entries that are under a certain duration</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.stats_get_entry_at_location_for_time_limit_asc" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#1248-1276">source</a><a href="#method.stats_get_entry_at_location_for_time_limit_asc" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.stats_get_entry_at_location_for_time_limit_asc" class="fn">stats_get_entry_at_location_for_time_limit_asc</a><'life0, 'async_trait>(
|
||
&'life0 self,
|
||
duration: <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.u32.html">u32</a>,
|
||
location: <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.u32.html">u32</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="enum" href="https://doc.rust-lang.org/1.73.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.usize.html">usize</a>>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,</span></h4></section></summary><div class="docblock"><p>Get the entry at a location in the list of analytics entires under a certain time limited
|
||
and sorted in ascending order</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.analytics_delete_all_records_for_campaign" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#1070-1100">source</a><a href="#method.analytics_delete_all_records_for_campaign" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#tymethod.analytics_delete_all_records_for_campaign" class="fn">analytics_delete_all_records_for_campaign</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
campaign_id: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</span></h4></section></summary><div class='docblock'>Delete all records for campaign</div></details><details class="toggle method-toggle" open><summary><section id="method.analytics_captcha_is_published" class="method trait-impl"><a class="src rightside" href="../src/db_core/lib.rs.html#282">source</a><a href="#method.analytics_captcha_is_published" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.MCDatabase.html#method.analytics_captcha_is_published" class="fn">analytics_captcha_is_published</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
campaign_id: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a>
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.73.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.bool.html">bool</a>, <a class="enum" href="dev/dev/enum.DBError.html" title="enum db_sqlx_maria::dev::dev::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait, <a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>><span class="where fmt-newline">where
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,
|
||
Self: 'async_trait,</span></h4></section></summary><div class='docblock'>Get publishing status of pow analytics for captcha ID/ campaign ID</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Migrate-for-Database" class="impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#81-89">source</a><a href="#impl-Migrate-for-Database" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="dev/dev/trait.Migrate.html" title="trait db_sqlx_maria::dev::dev::Migrate">Migrate</a> for <a class="struct" href="struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.migrate" class="method trait-impl"><a class="src rightside" href="../src/db_sqlx_maria/lib.rs.html#82-88">source</a><a href="#method.migrate" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.Migrate.html#tymethod.migrate" class="fn">migrate</a><'life0, 'async_trait>(
|
||
&'life0 self
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="dev/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::dev::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><span class="where fmt-newline">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,</span></h4></section></summary><div class='docblock'>database specific error-type
|
||
run migrations</div></details></div></details></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-Database" class="impl"><a href="#impl-RefUnwindSafe-for-Database" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.73.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section><section id="impl-Send-for-Database" class="impl"><a href="#impl-Send-for-Database" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section><section id="impl-Sync-for-Database" class="impl"><a href="#impl-Sync-for-Database" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section><section id="impl-Unpin-for-Database" class="impl"><a href="#impl-Unpin-for-Database" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section><section id="impl-UnwindSafe-for-Database" class="impl"><a href="#impl-UnwindSafe-for-Database" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.73.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-Database" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.73.0/src/core/any.rs.html#135">source</a><a href="#impl-Any-for-Database" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<span class="where fmt-newline">where
|
||
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.73.0/src/core/any.rs.html#136">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.73.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.73.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-Database" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.73.0/src/core/borrow.rs.html#208">source</a><a href="#impl-Borrow%3CT%3E-for-Database" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T<span class="where fmt-newline">where
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.73.0/src/core/borrow.rs.html#210">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.73.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.73.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-Database" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.73.0/src/core/borrow.rs.html#216">source</a><a href="#impl-BorrowMut%3CT%3E-for-Database" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T<span class="where fmt-newline">where
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.73.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.73.0/src/core/borrow.rs.html#217">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.73.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.73.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CloneSPDatabase-for-Database" class="impl"><a class="src rightside" href="../src/db_core/lib.rs.html#433">source</a><a href="#impl-CloneSPDatabase-for-Database" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="dev/dev/trait.CloneSPDatabase.html" title="trait db_sqlx_maria::dev::dev::CloneSPDatabase">CloneSPDatabase</a> for T<span class="where fmt-newline">where
|
||
T: <a class="trait" href="dev/dev/trait.MCDatabase.html" title="trait db_sqlx_maria::dev::dev::MCDatabase">MCDatabase</a> + <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + 'static,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone_db" class="method trait-impl"><a class="src rightside" href="../src/db_core/lib.rs.html#437">source</a><a href="#method.clone_db" class="anchor">§</a><h4 class="code-header">fn <a href="dev/dev/trait.CloneSPDatabase.html#tymethod.clone_db" class="fn">clone_db</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="dev/dev/trait.MCDatabase.html" title="trait db_sqlx_maria::dev::dev::MCDatabase">MCDatabase</a>, <a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>></h4></section></summary><div class='docblock'>clone DB</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-Database" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.73.0/src/core/convert/mod.rs.html#722">source</a><a href="#impl-From%3CT%3E-for-Database" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.73.0/src/core/convert/mod.rs.html#725">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.73.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Instrument-for-Database" class="impl"><a class="src rightside" href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#276">source</a><a href="#impl-Instrument-for-Database" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html" title="trait tracing::instrument::Instrument">Instrument</a> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.instrument" class="method trait-impl"><a class="src rightside" href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#82">source</a><a href="#method.instrument" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.instrument" class="fn">instrument</a>(self, span: <a class="struct" href="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html" title="struct tracing::span::Span">Span</a>) -> <a class="struct" href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.Instrumented.html" title="struct tracing::instrument::Instrumented">Instrumented</a><Self></h4></section></summary><div class='docblock'>Instruments this type with the provided <a href="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html" title="struct tracing::span::Span"><code>Span</code></a>, returning an
|
||
<code>Instrumented</code> wrapper. <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.instrument">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.in_current_span" class="method trait-impl"><a class="src rightside" href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#121">source</a><a href="#method.in_current_span" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.in_current_span" class="fn">in_current_span</a>(self) -> <a class="struct" href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.Instrumented.html" title="struct tracing::instrument::Instrumented">Instrumented</a><Self></h4></section></summary><div class='docblock'>Instruments this type with the <a href="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html#method.current" title="associated function tracing::span::Span::current">current</a> <a href="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html" title="struct tracing::span::Span"><code>Span</code></a>, returning an
|
||
<code>Instrumented</code> wrapper. <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.in_current_span">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-Database" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.73.0/src/core/convert/mod.rs.html#706">source</a><a href="#impl-Into%3CU%3E-for-Database" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T<span class="where fmt-newline">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.73.0/src/core/convert/mod.rs.html#715">source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.73.0/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -> U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
|
||
<p>That is, this conversion is whatever the implementation of
|
||
<code><a href="https://doc.rust-lang.org/1.73.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Same%3CT%3E-for-Database" class="impl"><a class="src rightside" href="https://docs.rs/typenum/1.16.0/src/typenum/type_operators.rs.html#34">source</a><a href="#impl-Same%3CT%3E-for-Database" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/typenum/1.16.0/typenum/type_operators/trait.Same.html" title="trait typenum::type_operators::Same">Same</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl"><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a href="https://docs.rs/typenum/1.16.0/typenum/type_operators/trait.Same.html#associatedtype.Output" class="associatedtype">Output</a> = T</h4></section></summary><div class='docblock'>Should always be <code>Self</code></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToOwned-for-Database" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.73.0/src/alloc/borrow.rs.html#82">source</a><a href="#impl-ToOwned-for-Database" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.73.0/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T<span class="where fmt-newline">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Owned" class="associatedtype trait-impl"><a href="#associatedtype.Owned" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.73.0/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" class="associatedtype">Owned</a> = T</h4></section></summary><div class='docblock'>The resulting type after obtaining ownership.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_owned" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.73.0/src/alloc/borrow.rs.html#87">source</a><a href="#method.to_owned" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.73.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fn">to_owned</a>(&self) -> T</h4></section></summary><div class='docblock'>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/1.73.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.73.0/src/alloc/borrow.rs.html#91">source</a><a href="#method.clone_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.73.0/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fn">clone_into</a>(&self, target: <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.reference.html">&mut T</a>)</h4></section></summary><div class='docblock'>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/1.73.0/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-Database" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.73.0/src/core/convert/mod.rs.html#762">source</a><a href="#impl-TryFrom%3CU%3E-for-Database" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T<span class="where fmt-newline">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</span></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.73.0/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.73.0/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.73.0/src/core/convert/mod.rs.html#769">source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.73.0/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/1.73.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.73.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-Database" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.73.0/src/core/convert/mod.rs.html#747">source</a><a href="#impl-TryInto%3CU%3E-for-Database" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T<span class="where fmt-newline">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>,</span></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.73.0/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.73.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.73.0/src/core/convert/mod.rs.html#754">source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.73.0/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.73.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.73.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-VZip%3CV%3E-for-Database" class="impl"><a href="#impl-VZip%3CV%3E-for-Database" class="anchor">§</a><h3 class="code-header">impl<V, T> VZip<V> for T<span class="where fmt-newline">where
|
||
V: MultiLane<T>,</span></h3></section></summary><div class="impl-items"><section id="method.vzip" class="method trait-impl"><a href="#method.vzip" class="anchor">§</a><h4 class="code-header">fn <a class="fn">vzip</a>(self) -> V</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithSubscriber-for-Database" class="impl"><a class="src rightside" href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#334">source</a><a href="#impl-WithSubscriber-for-Database" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.WithSubscriber.html" title="trait tracing::instrument::WithSubscriber">WithSubscriber</a> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.with_subscriber" class="method trait-impl"><a class="src rightside" href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#169-171">source</a><a href="#method.with_subscriber" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.WithSubscriber.html#method.with_subscriber" class="fn">with_subscriber</a><S>(self, subscriber: S) -> <a class="struct" href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.WithDispatch.html" title="struct tracing::instrument::WithDispatch">WithDispatch</a><Self><span class="where fmt-newline">where
|
||
S: <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><Dispatch>,</span></h4></section></summary><div class='docblock'>Attaches the provided <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
||
<a href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.WithDispatch.html" title="struct tracing::instrument::WithDispatch"><code>WithDispatch</code></a> wrapper. <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.WithSubscriber.html#method.with_subscriber">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber" class="method trait-impl"><a class="src rightside" href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#221">source</a><a href="#method.with_current_subscriber" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber" class="fn">with_current_subscriber</a>(self) -> <a class="struct" href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.WithDispatch.html" title="struct tracing::instrument::WithDispatch">WithDispatch</a><Self></h4></section></summary><div class='docblock'>Attaches the current <a href="https://docs.rs/tracing/0.1.37/tracing/dispatcher/index.html#setting-the-default-subscriber" title="mod tracing::dispatcher">default</a> <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
||
<a href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.WithDispatch.html" title="struct tracing::instrument::WithDispatch"><code>WithDispatch</code></a> wrapper. <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber">Read more</a></div></details></div></details></div></section></div></main></body></html> |