Deploying to gh-pages from @ ac502b7c08 🚀

This commit is contained in:
realaravinth 2022-10-24 16:35:47 +00:00
parent af485c750d
commit 49538a56a4
92 changed files with 213 additions and 199 deletions

View file

@ -6,4 +6,4 @@
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Pool" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/ops.rs.html#37">source</a></div><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a>: <a class="trait" href="../../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a></h4></div></summary><div class="docblock"><p>database specific pool-type</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.connect" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/ops.rs.html#40">source</a></div><h4 class="code-header">fn <a href="#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="../../../prelude/trait.Connect.html#associatedtype.Pool" title="type db_sqlx_maria::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
create connection pool</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -3,4 +3,4 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>database migrations</p>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.migrate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/ops.rs.html#48">source</a></div><h4 class="code-header">fn <a href="#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
run migrations</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -15,7 +15,7 @@
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Debug-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Default-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C%27de%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Deserialize%3C%27de%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a>&lt;__D&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;__deserializer: __D<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>, &lt;__D as <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,&nbsp;</span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#936-946">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#937-945">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#933-943">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#934-942">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-PartialEq%3CNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>&gt; for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&amp;self, other: &amp;<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&amp;self, other: &amp;<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>

View file

@ -6,4 +6,4 @@
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Pool" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/ops.rs.html#37">source</a></div><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a>: <a class="trait" href="../../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a></h4></div></summary><div class="docblock"><p>database specific pool-type</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.connect" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/ops.rs.html#40">source</a></div><h4 class="code-header">fn <a href="#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="../../../prelude/trait.Connect.html#associatedtype.Pool" title="type db_sqlx_maria::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
create connection pool</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -73,4 +73,4 @@ trait.</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_config_fetched" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#246">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig fetches</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_solve" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#249">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_solve" class="fnname">fetch_solve</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig solves</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_confirm" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#252">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_confirm" class="fnname">fetch_confirm</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig confirms</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#106-901">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#103-898">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -3,4 +3,4 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>database migrations</p>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.migrate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/ops.rs.html#48">source</a></div><h4 class="code-header">fn <a href="#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
run migrations</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -15,7 +15,7 @@
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Debug-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Default-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C%27de%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Deserialize%3C%27de%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a>&lt;__D&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;__deserializer: __D<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>, &lt;__D as <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,&nbsp;</span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#936-946">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#937-945">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#933-943">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#934-942">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-PartialEq%3CNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>&gt; for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&amp;self, other: &amp;<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&amp;self, other: &amp;<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>

View file

@ -6,4 +6,4 @@
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Pool" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#37">source</a></div><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a>: <a class="trait" href="../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a></h4></div></summary><div class="docblock"><p>database specific pool-type</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.connect" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#40">source</a></div><h4 class="code-header">fn <a href="#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="../../prelude/trait.Connect.html#associatedtype.Pool" title="type db_sqlx_maria::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
create connection pool</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -73,4 +73,4 @@ trait.</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_config_fetched" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#246">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig fetches</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_solve" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#249">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_solve" class="fnname">fetch_solve</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig solves</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_confirm" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#252">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_confirm" class="fnname">fetch_confirm</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig confirms</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#106-901">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#103-898">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -3,4 +3,4 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>database migrations</p>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.migrate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#48">source</a></div><h4 class="code-header">fn <a href="#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
run migrations</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -6,4 +6,4 @@
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Pool" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#37">source</a></div><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a>: <a class="trait" href="../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a></h4></div></summary><div class="docblock"><p>database specific pool-type</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.connect" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#40">source</a></div><h4 class="code-header">fn <a href="#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="../../prelude/trait.Connect.html#associatedtype.Pool" title="type db_sqlx_maria::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
create connection pool</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -3,4 +3,4 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>database migrations</p>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.migrate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#48">source</a></div><h4 class="code-header">fn <a href="#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
run migrations</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -15,7 +15,7 @@
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Debug-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Default-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C%27de%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Deserialize%3C%27de%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a>&lt;__D&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;__deserializer: __D<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>, &lt;__D as <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,&nbsp;</span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#936-946">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#937-945">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#933-943">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#934-942">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-PartialEq%3CNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>&gt; for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&amp;self, other: &amp;<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&amp;self, other: &amp;<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>

View file

@ -6,4 +6,4 @@
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Pool" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/ops.rs.html#37">source</a></div><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a>: <a class="trait" href="../../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a></h4></div></summary><div class="docblock"><p>database specific pool-type</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.connect" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/ops.rs.html#40">source</a></div><h4 class="code-header">fn <a href="#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="../../../prelude/trait.Connect.html#associatedtype.Pool" title="type db_sqlx_maria::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
create connection pool</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -73,4 +73,4 @@ trait.</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_config_fetched" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#246">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig fetches</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_solve" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#249">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_solve" class="fnname">fetch_solve</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig solves</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_confirm" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#252">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_confirm" class="fnname">fetch_confirm</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig confirms</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#106-901">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#103-898">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -3,4 +3,4 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>database migrations</p>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.migrate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/ops.rs.html#48">source</a></div><h4 class="code-header">fn <a href="#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
run migrations</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -15,7 +15,7 @@
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Debug-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Default-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C%27de%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Deserialize%3C%27de%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a>&lt;__D&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;__deserializer: __D<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>, &lt;__D as <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,&nbsp;</span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#936-946">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#937-945">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#933-943">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#934-942">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-PartialEq%3CNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>&gt; for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&amp;self, other: &amp;<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&amp;self, other: &amp;<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>

View file

@ -6,4 +6,4 @@
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Pool" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#37">source</a></div><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a>: <a class="trait" href="../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a></h4></div></summary><div class="docblock"><p>database specific pool-type</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.connect" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#40">source</a></div><h4 class="code-header">fn <a href="#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="../../prelude/trait.Connect.html#associatedtype.Pool" title="type db_sqlx_maria::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
create connection pool</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -73,4 +73,4 @@ trait.</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_config_fetched" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#246">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig fetches</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_solve" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#249">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_solve" class="fnname">fetch_solve</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig solves</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_confirm" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#252">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_confirm" class="fnname">fetch_confirm</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig confirms</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#106-901">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#103-898">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -3,4 +3,4 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>database migrations</p>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.migrate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#48">source</a></div><h4 class="code-header">fn <a href="#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
run migrations</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -15,7 +15,7 @@
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Debug-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Default-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; <a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C%27de%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Deserialize%3C%27de%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a>&lt;__D&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;__deserializer: __D<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>, &lt;__D as <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,&nbsp;</span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#936-946">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#937-945">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#933-943">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#934-942">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-PartialEq%3CNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>&gt; for <a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&amp;self, other: &amp;<a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&amp;self, other: &amp;<a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>

View file

@ -6,4 +6,4 @@
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Pool" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/ops.rs.html#37">source</a></div><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a>: <a class="trait" href="../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a></h4></div></summary><div class="docblock"><p>database specific pool-type</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.connect" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/ops.rs.html#40">source</a></div><h4 class="code-header">fn <a href="#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="../prelude/trait.Connect.html#associatedtype.Pool" title="type db_sqlx_maria::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
create connection pool</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -73,4 +73,4 @@ trait.</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_config_fetched" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#246">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig fetches</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_solve" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#249">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_solve" class="fnname">fetch_solve</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig solves</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_confirm" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#252">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_confirm" class="fnname">fetch_confirm</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig confirms</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#106-901">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#103-898">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -3,4 +3,4 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>database migrations</p>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.migrate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/ops.rs.html#48">source</a></div><h4 class="code-header">fn <a href="#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
run migrations</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -4,8 +4,8 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Connect to database</p>
</div></details><h2 id="variants" class="variants small-section-header">Variants<a href="#variants" class="anchor"></a></h2><h3 id="variant.Fresh" class="variant small-section-header"><a href="#variant.Fresh" class="anchor field"></a><code>Fresh(<a class="struct" href="struct.Fresh.html" title="struct db_sqlx_maria::Fresh">Fresh</a>)</code></h3><div class="docblock"><p>fresh connection</p>
</div><h3 id="variant.Existing" class="variant small-section-header"><a href="#variant.Existing" class="anchor field"></a><code>Existing(<a class="struct" href="struct.Conn.html" title="struct db_sqlx_maria::Conn">Conn</a>)</code></h3><div class="docblock"><p>existing connection</p>
</div><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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Pool" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool" class="anchor"></a><h4 class="code-header">type <a href="prelude/trait.Connect.html#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></summary><div class='docblock'><p>database specific pool-type</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.connect" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#68-89">source</a></span><a href="#method.connect" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.Connect.html#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;Self::<a class="associatedtype" href="prelude/trait.Connect.html#associatedtype.Pool" title="type db_sqlx_maria::prelude::Connect::Pool">Pool</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class='docblock'><p>database specific error-type
</div><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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Pool" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool" class="anchor"></a><h4 class="code-header">type <a href="prelude/trait.Connect.html#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></summary><div class='docblock'><p>database specific pool-type</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.connect" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#68-86">source</a></span><a href="#method.connect" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.Connect.html#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;Self::<a class="associatedtype" href="prelude/trait.Connect.html#associatedtype.Pool" title="type db_sqlx_maria::prelude::Connect::Pool">Pool</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class='docblock'><p>database specific error-type
create connection pool <a href="prelude/trait.Connect.html#tymethod.connect">Read more</a></p>
</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-ConnectionOptions" class="impl has-srclink"><a href="#impl-RefUnwindSafe-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl !<a class="trait" href="https://doc.rust-lang.org/1.64.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section><section id="impl-Send-for-ConnectionOptions" class="impl has-srclink"><a href="#impl-Send-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section><section id="impl-Sync-for-ConnectionOptions" class="impl has-srclink"><a href="#impl-Sync-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section><section id="impl-Unpin-for-ConnectionOptions" class="impl has-srclink"><a href="#impl-Unpin-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section><section id="impl-UnwindSafe-for-ConnectionOptions" class="impl has-srclink"><a href="#impl-UnwindSafe-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl !<a class="trait" href="https://doc.rust-lang.org/1.64.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="enum" href="enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</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="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.64.0/src/core/any.rs.html#203">source</a></span><a href="#impl-Any-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.64.0/src/core/any.rs.html#204">source</a></span><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.64.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.64.0/src/core/borrow.rs.html#209">source</a></span><a href="#impl-Borrow%3CT%3E-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.64.0/src/core/borrow.rs.html#211">source</a></span><a href="#method.borrow" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.reference.html">&amp;</a>T</h4></section></summary><div class='docblock'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.64.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>

View file

@ -1,4 +1,4 @@
<!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 `db_sqlx_maria` crate."><meta name="keywords" content="rust, rustlang, rust-lang, db_sqlx_maria"><title>db_sqlx_maria - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../dark.css" disabled><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../storage.js"></script><script defer src="../crates.js"></script><script defer src="../main.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../favicon.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../db_sqlx_maria/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../db_sqlx_maria/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">Crate db_sqlx_maria</a></h2><div class="sidebar-elems"><div class="block"><ul><li class="version">Version 0.1.0</li><li><a id="all-types" href="all.html">All Items</a></li></ul></div><section><div class="block"><ul><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></div></section></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../db_sqlx_maria/index.html"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn"><span class="in-band">Crate <a class="mod" href="#">db_sqlx_maria</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#17-965">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="modules" class="small-section-header"><a href="#modules">Modules</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="mod" href="dev/index.html" title="db_sqlx_maria::dev mod">dev</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="errors/index.html" title="db_sqlx_maria::errors mod">errors</a></div><div class="item-right docblock-short"><p>Error-handling utilities</p>
<!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 `db_sqlx_maria` crate."><meta name="keywords" content="rust, rustlang, rust-lang, db_sqlx_maria"><title>db_sqlx_maria - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../dark.css" disabled><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../storage.js"></script><script defer src="../crates.js"></script><script defer src="../main.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../favicon.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../db_sqlx_maria/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../db_sqlx_maria/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">Crate db_sqlx_maria</a></h2><div class="sidebar-elems"><div class="block"><ul><li class="version">Version 0.1.0</li><li><a id="all-types" href="all.html">All Items</a></li></ul></div><section><div class="block"><ul><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></div></section></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../db_sqlx_maria/index.html"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn"><span class="in-band">Crate <a class="mod" href="#">db_sqlx_maria</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#17-962">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="modules" class="small-section-header"><a href="#modules">Modules</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="mod" href="dev/index.html" title="db_sqlx_maria::dev mod">dev</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="errors/index.html" title="db_sqlx_maria::errors mod">errors</a></div><div class="item-right docblock-short"><p>Error-handling utilities</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="prelude/index.html" title="db_sqlx_maria::prelude mod">prelude</a></div><div class="item-right docblock-short"></div></div></div><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.Conn.html" title="db_sqlx_maria::Conn struct">Conn</a></div><div class="item-right docblock-short"><p>Use an existing database pool</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.Database.html" title="db_sqlx_maria::Database struct">Database</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.Fresh.html" title="db_sqlx_maria::Fresh struct">Fresh</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.InnerNotification.html" title="db_sqlx_maria::InnerNotification struct">InnerNotification</a></div><div class="item-right docblock-short"><p>Represents notification</p>
</div></div></div><h2 id="enums" class="small-section-header"><a href="#enums">Enums</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.ConnectionOptions.html" title="db_sqlx_maria::ConnectionOptions enum">ConnectionOptions</a></div><div class="item-right docblock-short"><p>Connect to database</p>

View file

@ -15,7 +15,7 @@
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Debug-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Default-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; <a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C%27de%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Deserialize%3C%27de%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a>&lt;__D&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;__deserializer: __D<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>, &lt;__D as <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,&nbsp;</span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#936-946">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#937-945">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#933-943">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#934-942">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-PartialEq%3CNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>&gt; for <a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&amp;self, other: &amp;<a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&amp;self, other: &amp;<a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>

View file

@ -6,4 +6,4 @@
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Pool" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/ops.rs.html#37">source</a></div><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a>: <a class="trait" href="../../trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a></h4></div></summary><div class="docblock"><p>database specific pool-type</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.connect" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/ops.rs.html#40">source</a></div><h4 class="code-header">fn <a href="#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="../../trait.Connect.html#associatedtype.Pool" title="type db_sqlx_maria::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../../enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
create connection pool</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -73,4 +73,4 @@ trait.</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_config_fetched" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#246">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig fetches</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_solve" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#249">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_solve" class="fnname">fetch_solve</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig solves</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_confirm" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#252">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_confirm" class="fnname">fetch_confirm</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig confirms</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#106-901">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#103-898">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -3,4 +3,4 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>database migrations</p>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.migrate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/ops.rs.html#48">source</a></div><h4 class="code-header">fn <a href="#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../../enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
run migrations</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -15,7 +15,7 @@
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Debug-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Default-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; <a class="struct" href="../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C%27de%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Deserialize%3C%27de%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a>&lt;__D&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;__deserializer: __D<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>, &lt;__D as <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,&nbsp;</span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#936-946">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#937-945">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#933-943">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#934-942">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-PartialEq%3CNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>&gt; for <a class="struct" href="../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&amp;self, other: &amp;<a class="struct" href="../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&amp;self, other: &amp;<a class="struct" href="../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>

View file

@ -6,4 +6,4 @@
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Pool" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#37">source</a></div><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a>: <a class="trait" href="../trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a></h4></div></summary><div class="docblock"><p>database specific pool-type</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.connect" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#40">source</a></div><h4 class="code-header">fn <a href="#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="../trait.Connect.html#associatedtype.Pool" title="type db_sqlx_maria::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
create connection pool</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -73,4 +73,4 @@ trait.</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_config_fetched" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#246">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig fetches</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_solve" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#249">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_solve" class="fnname">fetch_solve</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig solves</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_confirm" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#252">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_confirm" class="fnname">fetch_confirm</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig confirms</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#106-901">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#103-898">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -3,4 +3,4 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>database migrations</p>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.migrate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#48">source</a></div><h4 class="code-header">fn <a href="#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
run migrations</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -6,4 +6,4 @@
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Pool" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#37">source</a></div><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a>: <a class="trait" href="../trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a></h4></div></summary><div class="docblock"><p>database specific pool-type</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.connect" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#40">source</a></div><h4 class="code-header">fn <a href="#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="../trait.Connect.html#associatedtype.Pool" title="type db_sqlx_maria::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
create connection pool</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -3,4 +3,4 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>database migrations</p>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.migrate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#48">source</a></div><h4 class="code-header">fn <a href="#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
run migrations</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -15,7 +15,7 @@
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Debug-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Default-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; <a class="struct" href="struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C%27de%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Deserialize%3C%27de%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a>&lt;__D&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;__deserializer: __D<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>, &lt;__D as <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,&nbsp;</span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#936-946">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#937-945">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#933-943">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#934-942">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-PartialEq%3CNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>&gt; for <a class="struct" href="struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&amp;self, other: &amp;<a class="struct" href="struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&amp;self, other: &amp;<a class="struct" href="struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>

View file

@ -6,4 +6,4 @@
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Pool" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/ops.rs.html#37">source</a></div><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a>: <a class="trait" href="trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a></h4></div></summary><div class="docblock"><p>database specific pool-type</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.connect" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/ops.rs.html#40">source</a></div><h4 class="code-header">fn <a href="#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.Connect.html#associatedtype.Pool" title="type db_sqlx_maria::prelude::Connect::Pool">Pool</a>, <a class="enum" href="enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
create connection pool</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -73,4 +73,4 @@ trait.</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_config_fetched" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#246">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig fetches</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_solve" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#249">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_solve" class="fnname">fetch_solve</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig solves</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_confirm" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#252">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_confirm" class="fnname">fetch_confirm</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig confirms</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#106-901">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#103-898">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -3,4 +3,4 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>database migrations</p>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.migrate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/ops.rs.html#48">source</a></div><h4 class="code-header">fn <a href="#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
run migrations</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -2,43 +2,43 @@
pub pool: MySqlPool,
}</code></pre></div><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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Clone-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#30">source</a></span><a href="#impl-Clone-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.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="rustdoc-toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#30">source</a></span><a href="#method.clone" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/clone/trait.Clone.html#tymethod.clone" class="fnname">clone</a>(&amp;self) -&gt; <a class="struct" href="struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></summary><div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.64.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/1.64.0/src/core/clone.rs.html#132-134">source</a></span><a href="#method.clone_from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/clone/trait.Clone.html#method.clone_from" class="fnname">clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.reference.html">&amp;</a>Self)</h4></section></summary><div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.64.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#106-901">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::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="rustdoc-toggle method-toggle" open><summary><section id="method.ping" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#108-116">source</a></span><a href="#method.ping" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.ping" class="fnname">ping</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>ping DB</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.register" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#119-144">source</a></span><a href="#method.register" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.register" class="fnname">register</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;p: &amp;'life1 <a class="struct" href="prelude/struct.Register.html" title="struct db_sqlx_maria::prelude::Register">Register</a>&lt;'_&gt;<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>register a new user</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.delete_user" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#147-153">source</a></span><a href="#method.delete_user" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.delete_user" class="fnname">delete_user</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>delete a user</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.username_exists" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#156-165">source</a></span><a href="#method.username_exists" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.username_exists" class="fnname">username_exists</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>check if username exists</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_email" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#168-182">source</a></span><a href="#method.get_email" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_email" class="fnname">get_email</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>get user email</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.email_exists" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#185-194">source</a></span><a href="#method.email_exists" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.email_exists" class="fnname">email_exists</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;email: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>check if email exists</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_email" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#197-209">source</a></span><a href="#method.update_email" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_email" class="fnname">update_email</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;p: &amp;'life1 <a class="struct" href="prelude/struct.UpdateEmail.html" title="struct db_sqlx_maria::prelude::UpdateEmail">UpdateEmail</a>&lt;'_&gt;<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>update a users email</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_password" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#212-244">source</a></span><a href="#method.get_password" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_password" class="fnname">get_password</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;l: &amp;'life1 <a class="enum" href="prelude/enum.Login.html" title="enum db_sqlx_maria::prelude::Login">Login</a>&lt;'_&gt;<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="prelude/struct.NameHash.html" title="struct db_sqlx_maria::prelude::NameHash">NameHash</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>get a users password</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_password" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#247-259">source</a></span><a href="#method.update_password" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_password" class="fnname">update_password</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;p: &amp;'life1 <a class="struct" href="prelude/struct.NameHash.html" title="struct db_sqlx_maria::prelude::NameHash">NameHash</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>update users password</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_username" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#262-274">source</a></span><a href="#method.update_username" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_username" class="fnname">update_username</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;current: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;new: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>update username</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_secret" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#277-288">source</a></span><a href="#method.get_secret" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_secret" class="fnname">get_secret</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="prelude/struct.Secret.html" title="struct db_sqlx_maria::prelude::Secret">Secret</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>get a users secret</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_secret_from_captcha" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#291-304">source</a></span><a href="#method.get_secret_from_captcha" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_secret_from_captcha" class="fnname">get_secret_from_captcha</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="prelude/struct.Secret.html" title="struct db_sqlx_maria::prelude::Secret">Secret</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>get a users secret from a captcha key</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_secret" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#307-319">source</a></span><a href="#method.update_secret" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_secret" class="fnname">update_secret</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;secret: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>update a users secret</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.create_captcha" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#322-337">source</a></span><a href="#method.create_captcha" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.create_captcha" class="fnname">create_captcha</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;p: &amp;'life2 <a class="struct" href="prelude/struct.CreateCaptcha.html" title="struct db_sqlx_maria::prelude::CreateCaptcha">CreateCaptcha</a>&lt;'_&gt;<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>create new captcha</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_captcha_config" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#340-354">source</a></span><a href="#method.get_captcha_config" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_captcha_config" class="fnname">get_captcha_config</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="prelude/struct.Captcha.html" title="struct db_sqlx_maria::prelude::Captcha">Captcha</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Get captcha config</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_all_user_captchas" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#357-373">source</a></span><a href="#method.get_all_user_captchas" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_all_user_captchas" class="fnname">get_all_user_captchas</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="prelude/struct.Captcha.html" title="struct db_sqlx_maria::prelude::Captcha">Captcha</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Get all captchas belonging to user</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_captcha_metadata" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#376-395">source</a></span><a href="#method.update_captcha_metadata" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_captcha_metadata" class="fnname">update_captcha_metadata</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;p: &amp;'life2 <a class="struct" href="prelude/struct.CreateCaptcha.html" title="struct db_sqlx_maria::prelude::CreateCaptcha">CreateCaptcha</a>&lt;'_&gt;<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>update captcha metadata; doesnt change captcha key</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_captcha_key" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#398-416">source</a></span><a href="#method.update_captcha_key" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_captcha_key" class="fnname">update_captcha_key</a>&lt;'life0, 'life1, 'life2, 'life3, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;old_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;new_key: &amp;'life3 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life3: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>update captcha key; doesnt change metadata</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_captcha_levels" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#419-455">source</a></span><a href="#method.add_captcha_levels" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.add_captcha_levels" class="fnname">add_captcha_levels</a>&lt;'life0, 'life1, 'life2, 'life3, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;levels: &amp;'life3 [<a class="struct" href="prelude/dev/prelude/struct.Level.html" title="struct db_sqlx_maria::prelude::dev::prelude::Level">Level</a>]<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life3: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Add levels to captcha</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.captcha_exists" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#458-504">source</a></span><a href="#method.captcha_exists" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.captcha_exists" class="fnname">captcha_exists</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>check if captcha exists</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.delete_captcha_levels" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#507-528">source</a></span><a href="#method.delete_captcha_levels" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.delete_captcha_levels" class="fnname">delete_captcha_levels</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Delete all levels of a captcha</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.delete_captcha" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#531-544">source</a></span><a href="#method.delete_captcha" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.delete_captcha" class="fnname">delete_captcha</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Delete captcha</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_captcha_levels" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#547-593">source</a></span><a href="#method.get_captcha_levels" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_captcha_levels" class="fnname">get_captcha_levels</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="prelude/dev/prelude/struct.Level.html" title="struct db_sqlx_maria::prelude::dev::prelude::Level">Level</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Get captcha levels</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_captcha_cooldown" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#596-612">source</a></span><a href="#method.get_captcha_cooldown" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_captcha_cooldown" class="fnname">get_captcha_cooldown</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i32.html">i32</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Get captchas cooldown period</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_traffic_pattern" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#614-641">source</a></span><a href="#method.add_traffic_pattern" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.add_traffic_pattern" class="fnname">add_traffic_pattern</a>&lt;'life0, 'life1, 'life2, 'life3, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;pattern: &amp;'life3 <a class="struct" href="prelude/struct.TrafficPattern.html" title="struct db_sqlx_maria::prelude::TrafficPattern">TrafficPattern</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life3: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Add traffic configuration</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_traffic_pattern" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#644-691">source</a></span><a href="#method.get_traffic_pattern" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_traffic_pattern" class="fnname">get_traffic_pattern</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="prelude/struct.TrafficPattern.html" title="struct db_sqlx_maria::prelude::TrafficPattern">TrafficPattern</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Get traffic configuration</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.delete_traffic_pattern" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#694-717">source</a></span><a href="#method.delete_traffic_pattern" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.delete_traffic_pattern" class="fnname">delete_traffic_pattern</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Delete traffic configuration</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.create_notification" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#720-742">source</a></span><a href="#method.create_notification" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.create_notification" class="fnname">create_notification</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;p: &amp;'life1 <a class="struct" href="prelude/struct.AddNotification.html" title="struct db_sqlx_maria::prelude::AddNotification">AddNotification</a>&lt;'_&gt;<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>create new notification</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_all_unread_notifications" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#745-765">source</a></span><a href="#method.get_all_unread_notifications" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_all_unread_notifications" class="fnname">get_all_unread_notifications</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>get all unread notifications</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mark_notification_read" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#768-780">source</a></span><a href="#method.mark_notification_read" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.mark_notification_read" class="fnname">mark_notification_read</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;id: <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i32.html">i32</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>mark a notification read</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.record_fetch" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#783-795">source</a></span><a href="#method.record_fetch" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.record_fetch" class="fnname">record_fetch</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>record PoWConfig fetches</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.record_solve" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#798-810">source</a></span><a href="#method.record_solve" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.record_solve" class="fnname">record_solve</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>record PoWConfig solves</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.record_confirm" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#813-825">source</a></span><a href="#method.record_confirm" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.record_confirm" class="fnname">record_confirm</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>record PoWConfig confirms</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fetch_config_fetched" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#828-851">source</a></span><a href="#method.fetch_config_fetched" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>fetch PoWConfig fetches</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fetch_solve" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#854-875">source</a></span><a href="#method.fetch_solve" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.fetch_solve" class="fnname">fetch_solve</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>fetch PoWConfig solves</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fetch_confirm" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#878-900">source</a></span><a href="#method.fetch_confirm" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.fetch_confirm" class="fnname">fetch_confirm</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>fetch PoWConfig confirms</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::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="rustdoc-toggle method-toggle" open><summary><section id="method.migrate" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#96-102">source</a></span><a href="#method.migrate" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.Migrate.html#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class='docblock'><p>database specific error-type
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#103-898">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::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="rustdoc-toggle method-toggle" open><summary><section id="method.ping" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#105-113">source</a></span><a href="#method.ping" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.ping" class="fnname">ping</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>ping DB</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.register" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#116-141">source</a></span><a href="#method.register" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.register" class="fnname">register</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;p: &amp;'life1 <a class="struct" href="prelude/struct.Register.html" title="struct db_sqlx_maria::prelude::Register">Register</a>&lt;'_&gt;<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>register a new user</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.delete_user" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#144-150">source</a></span><a href="#method.delete_user" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.delete_user" class="fnname">delete_user</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>delete a user</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.username_exists" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#153-162">source</a></span><a href="#method.username_exists" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.username_exists" class="fnname">username_exists</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>check if username exists</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_email" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#165-179">source</a></span><a href="#method.get_email" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_email" class="fnname">get_email</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>get user email</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.email_exists" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#182-191">source</a></span><a href="#method.email_exists" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.email_exists" class="fnname">email_exists</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;email: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>check if email exists</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_email" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#194-206">source</a></span><a href="#method.update_email" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_email" class="fnname">update_email</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;p: &amp;'life1 <a class="struct" href="prelude/struct.UpdateEmail.html" title="struct db_sqlx_maria::prelude::UpdateEmail">UpdateEmail</a>&lt;'_&gt;<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>update a users email</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_password" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#209-241">source</a></span><a href="#method.get_password" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_password" class="fnname">get_password</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;l: &amp;'life1 <a class="enum" href="prelude/enum.Login.html" title="enum db_sqlx_maria::prelude::Login">Login</a>&lt;'_&gt;<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="prelude/struct.NameHash.html" title="struct db_sqlx_maria::prelude::NameHash">NameHash</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>get a users password</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_password" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#244-256">source</a></span><a href="#method.update_password" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_password" class="fnname">update_password</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;p: &amp;'life1 <a class="struct" href="prelude/struct.NameHash.html" title="struct db_sqlx_maria::prelude::NameHash">NameHash</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>update users password</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_username" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#259-271">source</a></span><a href="#method.update_username" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_username" class="fnname">update_username</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;current: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;new: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>update username</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_secret" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#274-285">source</a></span><a href="#method.get_secret" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_secret" class="fnname">get_secret</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="prelude/struct.Secret.html" title="struct db_sqlx_maria::prelude::Secret">Secret</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>get a users secret</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_secret_from_captcha" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#288-301">source</a></span><a href="#method.get_secret_from_captcha" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_secret_from_captcha" class="fnname">get_secret_from_captcha</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="prelude/struct.Secret.html" title="struct db_sqlx_maria::prelude::Secret">Secret</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>get a users secret from a captcha key</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_secret" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#304-316">source</a></span><a href="#method.update_secret" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_secret" class="fnname">update_secret</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;secret: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>update a users secret</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.create_captcha" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#319-334">source</a></span><a href="#method.create_captcha" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.create_captcha" class="fnname">create_captcha</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;p: &amp;'life2 <a class="struct" href="prelude/struct.CreateCaptcha.html" title="struct db_sqlx_maria::prelude::CreateCaptcha">CreateCaptcha</a>&lt;'_&gt;<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>create new captcha</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_captcha_config" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#337-351">source</a></span><a href="#method.get_captcha_config" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_captcha_config" class="fnname">get_captcha_config</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="prelude/struct.Captcha.html" title="struct db_sqlx_maria::prelude::Captcha">Captcha</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Get captcha config</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_all_user_captchas" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#354-370">source</a></span><a href="#method.get_all_user_captchas" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_all_user_captchas" class="fnname">get_all_user_captchas</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="prelude/struct.Captcha.html" title="struct db_sqlx_maria::prelude::Captcha">Captcha</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Get all captchas belonging to user</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_captcha_metadata" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#373-392">source</a></span><a href="#method.update_captcha_metadata" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_captcha_metadata" class="fnname">update_captcha_metadata</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;p: &amp;'life2 <a class="struct" href="prelude/struct.CreateCaptcha.html" title="struct db_sqlx_maria::prelude::CreateCaptcha">CreateCaptcha</a>&lt;'_&gt;<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>update captcha metadata; doesnt change captcha key</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_captcha_key" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#395-413">source</a></span><a href="#method.update_captcha_key" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_captcha_key" class="fnname">update_captcha_key</a>&lt;'life0, 'life1, 'life2, 'life3, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;old_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;new_key: &amp;'life3 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life3: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>update captcha key; doesnt change metadata</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_captcha_levels" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#416-452">source</a></span><a href="#method.add_captcha_levels" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.add_captcha_levels" class="fnname">add_captcha_levels</a>&lt;'life0, 'life1, 'life2, 'life3, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;levels: &amp;'life3 [<a class="struct" href="prelude/dev/prelude/struct.Level.html" title="struct db_sqlx_maria::prelude::dev::prelude::Level">Level</a>]<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life3: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Add levels to captcha</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.captcha_exists" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#455-501">source</a></span><a href="#method.captcha_exists" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.captcha_exists" class="fnname">captcha_exists</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>check if captcha exists</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.delete_captcha_levels" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#504-525">source</a></span><a href="#method.delete_captcha_levels" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.delete_captcha_levels" class="fnname">delete_captcha_levels</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Delete all levels of a captcha</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.delete_captcha" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#528-541">source</a></span><a href="#method.delete_captcha" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.delete_captcha" class="fnname">delete_captcha</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Delete captcha</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_captcha_levels" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#544-590">source</a></span><a href="#method.get_captcha_levels" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_captcha_levels" class="fnname">get_captcha_levels</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="prelude/dev/prelude/struct.Level.html" title="struct db_sqlx_maria::prelude::dev::prelude::Level">Level</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Get captcha levels</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_captcha_cooldown" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#593-609">source</a></span><a href="#method.get_captcha_cooldown" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_captcha_cooldown" class="fnname">get_captcha_cooldown</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i32.html">i32</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Get captchas cooldown period</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_traffic_pattern" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#611-638">source</a></span><a href="#method.add_traffic_pattern" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.add_traffic_pattern" class="fnname">add_traffic_pattern</a>&lt;'life0, 'life1, 'life2, 'life3, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;pattern: &amp;'life3 <a class="struct" href="prelude/struct.TrafficPattern.html" title="struct db_sqlx_maria::prelude::TrafficPattern">TrafficPattern</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life3: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Add traffic configuration</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_traffic_pattern" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#641-688">source</a></span><a href="#method.get_traffic_pattern" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_traffic_pattern" class="fnname">get_traffic_pattern</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="prelude/struct.TrafficPattern.html" title="struct db_sqlx_maria::prelude::TrafficPattern">TrafficPattern</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Get traffic configuration</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.delete_traffic_pattern" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#691-714">source</a></span><a href="#method.delete_traffic_pattern" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.delete_traffic_pattern" class="fnname">delete_traffic_pattern</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Delete traffic configuration</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.create_notification" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#717-739">source</a></span><a href="#method.create_notification" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.create_notification" class="fnname">create_notification</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;p: &amp;'life1 <a class="struct" href="prelude/struct.AddNotification.html" title="struct db_sqlx_maria::prelude::AddNotification">AddNotification</a>&lt;'_&gt;<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>create new notification</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_all_unread_notifications" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#742-762">source</a></span><a href="#method.get_all_unread_notifications" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_all_unread_notifications" class="fnname">get_all_unread_notifications</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>get all unread notifications</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mark_notification_read" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#765-777">source</a></span><a href="#method.mark_notification_read" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.mark_notification_read" class="fnname">mark_notification_read</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;id: <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i32.html">i32</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>mark a notification read</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.record_fetch" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#780-792">source</a></span><a href="#method.record_fetch" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.record_fetch" class="fnname">record_fetch</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>record PoWConfig fetches</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.record_solve" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#795-807">source</a></span><a href="#method.record_solve" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.record_solve" class="fnname">record_solve</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>record PoWConfig solves</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.record_confirm" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#810-822">source</a></span><a href="#method.record_confirm" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.record_confirm" class="fnname">record_confirm</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>record PoWConfig confirms</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fetch_config_fetched" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#825-848">source</a></span><a href="#method.fetch_config_fetched" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>fetch PoWConfig fetches</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fetch_solve" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#851-872">source</a></span><a href="#method.fetch_solve" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.fetch_solve" class="fnname">fetch_solve</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>fetch PoWConfig solves</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fetch_confirm" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#875-897">source</a></span><a href="#method.fetch_confirm" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.fetch_confirm" class="fnname">fetch_confirm</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>fetch PoWConfig confirms</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::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="rustdoc-toggle method-toggle" open><summary><section id="method.migrate" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#93-99">source</a></span><a href="#method.migrate" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.Migrate.html#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class='docblock'><p>database specific error-type
run migrations <a href="prelude/trait.Migrate.html#tymethod.migrate">Read more</a></p>
</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 has-srclink"><a href="#impl-RefUnwindSafe-for-Database" class="anchor"></a><h3 class="code-header in-band">impl !<a class="trait" href="https://doc.rust-lang.org/1.64.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 has-srclink"><a href="#impl-Send-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.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 has-srclink"><a href="#impl-Sync-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.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 has-srclink"><a href="#impl-Unpin-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.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 has-srclink"><a href="#impl-UnwindSafe-for-Database" class="anchor"></a><h3 class="code-header in-band">impl !<a class="trait" href="https://doc.rust-lang.org/1.64.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="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.64.0/src/core/any.rs.html#203">source</a></span><a href="#impl-Any-for-Database" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.64.0/src/core/any.rs.html#204">source</a></span><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.64.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.64.0/src/core/borrow.rs.html#209">source</a></span><a href="#impl-Borrow%3CT%3E-for-Database" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.64.0/src/core/borrow.rs.html#211">source</a></span><a href="#method.borrow" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.reference.html">&amp;</a>T</h4></section></summary><div class='docblock'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.64.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>

File diff suppressed because one or more lines are too long

View file

@ -6,4 +6,4 @@
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Pool" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/ops.rs.html#37">source</a></div><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a>: <a class="trait" href="../../../prelude/trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a></h4></div></summary><div class="docblock"><p>database specific pool-type</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.connect" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/ops.rs.html#40">source</a></div><h4 class="code-header">fn <a href="#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="../../../prelude/trait.Connect.html#associatedtype.Pool" title="type db_sqlx_postgres::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
create connection pool</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../../../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../../../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -3,4 +3,4 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>database migrations</p>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.migrate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/ops.rs.html#48">source</a></div><h4 class="code-header">fn <a href="#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
run migrations</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -15,7 +15,7 @@
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Debug-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Default-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C%27de%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Deserialize%3C%27de%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a>&lt;__D&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;__deserializer: __D<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>, &lt;__D as <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,&nbsp;</span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#942-952">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#943-951">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#939-949">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#940-948">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-PartialEq%3CNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>&gt; for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&amp;self, other: &amp;<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&amp;self, other: &amp;<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>

View file

@ -6,4 +6,4 @@
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Pool" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/ops.rs.html#37">source</a></div><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a>: <a class="trait" href="../../../prelude/trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a></h4></div></summary><div class="docblock"><p>database specific pool-type</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.connect" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/ops.rs.html#40">source</a></div><h4 class="code-header">fn <a href="#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="../../../prelude/trait.Connect.html#associatedtype.Pool" title="type db_sqlx_postgres::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
create connection pool</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../../../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../../../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -73,4 +73,4 @@ trait.</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_config_fetched" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#246">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig fetches</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_solve" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#249">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_solve" class="fnname">fetch_solve</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig solves</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_confirm" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#252">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_confirm" class="fnname">fetch_confirm</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig confirms</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#106-907">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#103-904">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -3,4 +3,4 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>database migrations</p>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.migrate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/ops.rs.html#48">source</a></div><h4 class="code-header">fn <a href="#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
run migrations</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -15,7 +15,7 @@
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Debug-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Default-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C%27de%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Deserialize%3C%27de%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a>&lt;__D&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;__deserializer: __D<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>, &lt;__D as <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,&nbsp;</span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#942-952">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#943-951">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#939-949">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#940-948">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-PartialEq%3CNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>&gt; for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&amp;self, other: &amp;<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&amp;self, other: &amp;<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>

View file

@ -6,4 +6,4 @@
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Pool" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#37">source</a></div><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a>: <a class="trait" href="../../prelude/trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a></h4></div></summary><div class="docblock"><p>database specific pool-type</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.connect" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#40">source</a></div><h4 class="code-header">fn <a href="#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="../../prelude/trait.Connect.html#associatedtype.Pool" title="type db_sqlx_postgres::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
create connection pool</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -73,4 +73,4 @@ trait.</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_config_fetched" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#246">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig fetches</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_solve" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#249">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_solve" class="fnname">fetch_solve</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig solves</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_confirm" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#252">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_confirm" class="fnname">fetch_confirm</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig confirms</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#106-907">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#103-904">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -3,4 +3,4 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>database migrations</p>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.migrate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#48">source</a></div><h4 class="code-header">fn <a href="#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
run migrations</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -6,4 +6,4 @@
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Pool" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#37">source</a></div><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a>: <a class="trait" href="../../prelude/trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a></h4></div></summary><div class="docblock"><p>database specific pool-type</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.connect" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#40">source</a></div><h4 class="code-header">fn <a href="#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="../../prelude/trait.Connect.html#associatedtype.Pool" title="type db_sqlx_postgres::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
create connection pool</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -3,4 +3,4 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>database migrations</p>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.migrate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#48">source</a></div><h4 class="code-header">fn <a href="#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
run migrations</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -15,7 +15,7 @@
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Debug-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Default-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C%27de%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Deserialize%3C%27de%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a>&lt;__D&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;__deserializer: __D<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>, &lt;__D as <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,&nbsp;</span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#942-952">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#943-951">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#939-949">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#940-948">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-PartialEq%3CNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>&gt; for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&amp;self, other: &amp;<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&amp;self, other: &amp;<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>

View file

@ -6,4 +6,4 @@
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Pool" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/ops.rs.html#37">source</a></div><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a>: <a class="trait" href="../../../prelude/trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a></h4></div></summary><div class="docblock"><p>database specific pool-type</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.connect" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/ops.rs.html#40">source</a></div><h4 class="code-header">fn <a href="#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="../../../prelude/trait.Connect.html#associatedtype.Pool" title="type db_sqlx_postgres::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
create connection pool</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../../../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../../../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -73,4 +73,4 @@ trait.</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_config_fetched" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#246">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig fetches</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_solve" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#249">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_solve" class="fnname">fetch_solve</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig solves</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_confirm" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#252">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_confirm" class="fnname">fetch_confirm</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig confirms</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#106-907">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#103-904">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -3,4 +3,4 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>database migrations</p>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.migrate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/ops.rs.html#48">source</a></div><h4 class="code-header">fn <a href="#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
run migrations</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -15,7 +15,7 @@
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Debug-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Default-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C%27de%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Deserialize%3C%27de%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a>&lt;__D&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;__deserializer: __D<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>, &lt;__D as <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,&nbsp;</span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#942-952">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#943-951">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#939-949">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#940-948">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-PartialEq%3CNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>&gt; for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&amp;self, other: &amp;<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&amp;self, other: &amp;<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>

View file

@ -6,4 +6,4 @@
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Pool" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#37">source</a></div><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a>: <a class="trait" href="../../prelude/trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a></h4></div></summary><div class="docblock"><p>database specific pool-type</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.connect" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#40">source</a></div><h4 class="code-header">fn <a href="#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="../../prelude/trait.Connect.html#associatedtype.Pool" title="type db_sqlx_postgres::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
create connection pool</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -73,4 +73,4 @@ trait.</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_config_fetched" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#246">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig fetches</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_solve" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#249">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_solve" class="fnname">fetch_solve</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig solves</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_confirm" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#252">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_confirm" class="fnname">fetch_confirm</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig confirms</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#106-907">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#103-904">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -3,4 +3,4 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>database migrations</p>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.migrate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#48">source</a></div><h4 class="code-header">fn <a href="#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
run migrations</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -15,7 +15,7 @@
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Debug-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Default-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; <a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C%27de%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Deserialize%3C%27de%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a>&lt;__D&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;__deserializer: __D<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>, &lt;__D as <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,&nbsp;</span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#942-952">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#943-951">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#939-949">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#940-948">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-PartialEq%3CNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>&gt; for <a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&amp;self, other: &amp;<a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&amp;self, other: &amp;<a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>

View file

@ -6,4 +6,4 @@
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Pool" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/ops.rs.html#37">source</a></div><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a>: <a class="trait" href="../prelude/trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a></h4></div></summary><div class="docblock"><p>database specific pool-type</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.connect" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/ops.rs.html#40">source</a></div><h4 class="code-header">fn <a href="#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="../prelude/trait.Connect.html#associatedtype.Pool" title="type db_sqlx_postgres::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
create connection pool</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../prelude/trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../prelude/trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -73,4 +73,4 @@ trait.</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_config_fetched" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#246">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig fetches</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_solve" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#249">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_solve" class="fnname">fetch_solve</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig solves</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_confirm" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#252">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_confirm" class="fnname">fetch_confirm</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig confirms</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#106-907">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../prelude/trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#103-904">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../prelude/trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -3,4 +3,4 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>database migrations</p>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.migrate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/ops.rs.html#48">source</a></div><h4 class="code-header">fn <a href="#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
run migrations</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../prelude/trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../prelude/trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -4,8 +4,8 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Connect to database</p>
</div></details><h2 id="variants" class="variants small-section-header">Variants<a href="#variants" class="anchor"></a></h2><h3 id="variant.Fresh" class="variant small-section-header"><a href="#variant.Fresh" class="anchor field"></a><code>Fresh(<a class="struct" href="struct.Fresh.html" title="struct db_sqlx_postgres::Fresh">Fresh</a>)</code></h3><div class="docblock"><p>fresh connection</p>
</div><h3 id="variant.Existing" class="variant small-section-header"><a href="#variant.Existing" class="anchor field"></a><code>Existing(<a class="struct" href="struct.Conn.html" title="struct db_sqlx_postgres::Conn">Conn</a>)</code></h3><div class="docblock"><p>existing connection</p>
</div><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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="prelude/trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Pool" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool" class="anchor"></a><h4 class="code-header">type <a href="prelude/trait.Connect.html#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></summary><div class='docblock'><p>database specific pool-type</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.connect" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#68-89">source</a></span><a href="#method.connect" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.Connect.html#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;Self::<a class="associatedtype" href="prelude/trait.Connect.html#associatedtype.Pool" title="type db_sqlx_postgres::prelude::Connect::Pool">Pool</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class='docblock'><p>database specific error-type
</div><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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="prelude/trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Pool" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool" class="anchor"></a><h4 class="code-header">type <a href="prelude/trait.Connect.html#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></summary><div class='docblock'><p>database specific pool-type</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.connect" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#68-86">source</a></span><a href="#method.connect" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.Connect.html#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;Self::<a class="associatedtype" href="prelude/trait.Connect.html#associatedtype.Pool" title="type db_sqlx_postgres::prelude::Connect::Pool">Pool</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class='docblock'><p>database specific error-type
create connection pool <a href="prelude/trait.Connect.html#tymethod.connect">Read more</a></p>
</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-ConnectionOptions" class="impl has-srclink"><a href="#impl-RefUnwindSafe-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl !<a class="trait" href="https://doc.rust-lang.org/1.64.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section><section id="impl-Send-for-ConnectionOptions" class="impl has-srclink"><a href="#impl-Send-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section><section id="impl-Sync-for-ConnectionOptions" class="impl has-srclink"><a href="#impl-Sync-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section><section id="impl-Unpin-for-ConnectionOptions" class="impl has-srclink"><a href="#impl-Unpin-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section><section id="impl-UnwindSafe-for-ConnectionOptions" class="impl has-srclink"><a href="#impl-UnwindSafe-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl !<a class="trait" href="https://doc.rust-lang.org/1.64.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="enum" href="enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</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="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.64.0/src/core/any.rs.html#203">source</a></span><a href="#impl-Any-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.64.0/src/core/any.rs.html#204">source</a></span><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.64.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.64.0/src/core/borrow.rs.html#209">source</a></span><a href="#impl-Borrow%3CT%3E-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.64.0/src/core/borrow.rs.html#211">source</a></span><a href="#method.borrow" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.reference.html">&amp;</a>T</h4></section></summary><div class='docblock'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.64.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>

View file

@ -1,4 +1,4 @@
<!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 `db_sqlx_postgres` crate."><meta name="keywords" content="rust, rustlang, rust-lang, db_sqlx_postgres"><title>db_sqlx_postgres - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../dark.css" disabled><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../storage.js"></script><script defer src="../crates.js"></script><script defer src="../main.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../favicon.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../db_sqlx_postgres/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../db_sqlx_postgres/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">Crate db_sqlx_postgres</a></h2><div class="sidebar-elems"><div class="block"><ul><li class="version">Version 0.1.0</li><li><a id="all-types" href="all.html">All Items</a></li></ul></div><section><div class="block"><ul><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></div></section></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../db_sqlx_postgres/index.html"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn"><span class="in-band">Crate <a class="mod" href="#">db_sqlx_postgres</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#17-971">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="modules" class="small-section-header"><a href="#modules">Modules</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="mod" href="dev/index.html" title="db_sqlx_postgres::dev mod">dev</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="errors/index.html" title="db_sqlx_postgres::errors mod">errors</a></div><div class="item-right docblock-short"><p>Error-handling utilities</p>
<!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 `db_sqlx_postgres` crate."><meta name="keywords" content="rust, rustlang, rust-lang, db_sqlx_postgres"><title>db_sqlx_postgres - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../dark.css" disabled><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../storage.js"></script><script defer src="../crates.js"></script><script defer src="../main.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../favicon.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../db_sqlx_postgres/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../db_sqlx_postgres/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">Crate db_sqlx_postgres</a></h2><div class="sidebar-elems"><div class="block"><ul><li class="version">Version 0.1.0</li><li><a id="all-types" href="all.html">All Items</a></li></ul></div><section><div class="block"><ul><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></div></section></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../db_sqlx_postgres/index.html"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn"><span class="in-band">Crate <a class="mod" href="#">db_sqlx_postgres</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#17-968">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="modules" class="small-section-header"><a href="#modules">Modules</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="mod" href="dev/index.html" title="db_sqlx_postgres::dev mod">dev</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="errors/index.html" title="db_sqlx_postgres::errors mod">errors</a></div><div class="item-right docblock-short"><p>Error-handling utilities</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="prelude/index.html" title="db_sqlx_postgres::prelude mod">prelude</a></div><div class="item-right docblock-short"></div></div></div><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.Conn.html" title="db_sqlx_postgres::Conn struct">Conn</a></div><div class="item-right docblock-short"><p>Use an existing database pool</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.Database.html" title="db_sqlx_postgres::Database struct">Database</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.Fresh.html" title="db_sqlx_postgres::Fresh struct">Fresh</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.InnerNotification.html" title="db_sqlx_postgres::InnerNotification struct">InnerNotification</a></div><div class="item-right docblock-short"><p>Represents notification</p>
</div></div></div><h2 id="enums" class="small-section-header"><a href="#enums">Enums</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.ConnectionOptions.html" title="db_sqlx_postgres::ConnectionOptions enum">ConnectionOptions</a></div><div class="item-right docblock-short"><p>Connect to database</p>

View file

@ -15,7 +15,7 @@
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Debug-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Default-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; <a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C%27de%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Deserialize%3C%27de%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a>&lt;__D&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;__deserializer: __D<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>, &lt;__D as <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,&nbsp;</span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#942-952">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#943-951">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#939-949">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#940-948">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-PartialEq%3CNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>&gt; for <a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&amp;self, other: &amp;<a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&amp;self, other: &amp;<a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>

View file

@ -6,4 +6,4 @@
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Pool" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/ops.rs.html#37">source</a></div><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a>: <a class="trait" href="../../trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a></h4></div></summary><div class="docblock"><p>database specific pool-type</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.connect" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/ops.rs.html#40">source</a></div><h4 class="code-header">fn <a href="#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="../../trait.Connect.html#associatedtype.Pool" title="type db_sqlx_postgres::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../../enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
create connection pool</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../../../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../../../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -73,4 +73,4 @@ trait.</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_config_fetched" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#246">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig fetches</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_solve" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#249">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_solve" class="fnname">fetch_solve</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig solves</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_confirm" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#252">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_confirm" class="fnname">fetch_confirm</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig confirms</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#106-907">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#103-904">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -3,4 +3,4 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>database migrations</p>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.migrate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/ops.rs.html#48">source</a></div><h4 class="code-header">fn <a href="#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../../enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
run migrations</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -15,7 +15,7 @@
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Debug-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Default-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; <a class="struct" href="../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C%27de%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Deserialize%3C%27de%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a>&lt;__D&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;__deserializer: __D<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>, &lt;__D as <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,&nbsp;</span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#942-952">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#943-951">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#939-949">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#940-948">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-PartialEq%3CNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>&gt; for <a class="struct" href="../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&amp;self, other: &amp;<a class="struct" href="../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&amp;self, other: &amp;<a class="struct" href="../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>

View file

@ -6,4 +6,4 @@
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Pool" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#37">source</a></div><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a>: <a class="trait" href="../trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a></h4></div></summary><div class="docblock"><p>database specific pool-type</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.connect" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#40">source</a></div><h4 class="code-header">fn <a href="#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="../trait.Connect.html#associatedtype.Pool" title="type db_sqlx_postgres::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
create connection pool</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -73,4 +73,4 @@ trait.</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_config_fetched" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#246">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig fetches</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_solve" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#249">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_solve" class="fnname">fetch_solve</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig solves</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_confirm" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#252">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_confirm" class="fnname">fetch_confirm</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig confirms</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#106-907">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#103-904">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -3,4 +3,4 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>database migrations</p>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.migrate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#48">source</a></div><h4 class="code-header">fn <a href="#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
run migrations</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -6,4 +6,4 @@
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Pool" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#37">source</a></div><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a>: <a class="trait" href="../trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a></h4></div></summary><div class="docblock"><p>database specific pool-type</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.connect" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#40">source</a></div><h4 class="code-header">fn <a href="#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="../trait.Connect.html#associatedtype.Pool" title="type db_sqlx_postgres::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
create connection pool</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -3,4 +3,4 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>database migrations</p>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.migrate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#48">source</a></div><h4 class="code-header">fn <a href="#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
run migrations</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -15,7 +15,7 @@
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Debug-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Default-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; <a class="struct" href="struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C%27de%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Deserialize%3C%27de%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a>&lt;__D&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;__deserializer: __D<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>, &lt;__D as <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,&nbsp;</span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#942-952">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#943-951">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#939-949">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#940-948">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CNotification%3E-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-PartialEq%3CNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>&gt; for <a class="struct" href="struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&amp;self, other: &amp;<a class="struct" href="struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&amp;self, other: &amp;<a class="struct" href="struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>

View file

@ -6,4 +6,4 @@
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Pool" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/ops.rs.html#37">source</a></div><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a>: <a class="trait" href="trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a></h4></div></summary><div class="docblock"><p>database specific pool-type</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.connect" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/ops.rs.html#40">source</a></div><h4 class="code-header">fn <a href="#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.Connect.html#associatedtype.Pool" title="type db_sqlx_postgres::prelude::Connect::Pool">Pool</a>, <a class="enum" href="enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
create connection pool</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -73,4 +73,4 @@ trait.</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_config_fetched" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#246">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig fetches</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_solve" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#249">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_solve" class="fnname">fetch_solve</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig solves</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_confirm" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#252">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_confirm" class="fnname">fetch_confirm</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>fetch PoWConfig confirms</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#106-907">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#103-904">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -3,4 +3,4 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>database migrations</p>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.migrate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/ops.rs.html#48">source</a></div><h4 class="code-header">fn <a href="#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
run migrations</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -2,43 +2,43 @@
pub pool: PgPool,
}</code></pre></div><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: PgPool</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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Clone-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#30">source</a></span><a href="#impl-Clone-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.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_postgres::Database">Database</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#30">source</a></span><a href="#method.clone" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/clone/trait.Clone.html#tymethod.clone" class="fnname">clone</a>(&amp;self) -&gt; <a class="struct" href="struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></summary><div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.64.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/1.64.0/src/core/clone.rs.html#132-134">source</a></span><a href="#method.clone_from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/clone/trait.Clone.html#method.clone_from" class="fnname">clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.reference.html">&amp;</a>Self)</h4></section></summary><div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.64.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#106-907">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="prelude/trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ping" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#108-116">source</a></span><a href="#method.ping" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.ping" class="fnname">ping</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>ping DB</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.register" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#119-144">source</a></span><a href="#method.register" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.register" class="fnname">register</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;p: &amp;'life1 <a class="struct" href="prelude/struct.Register.html" title="struct db_sqlx_postgres::prelude::Register">Register</a>&lt;'_&gt;<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>register a new user</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.delete_user" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#147-153">source</a></span><a href="#method.delete_user" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.delete_user" class="fnname">delete_user</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>delete a user</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.username_exists" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#156-171">source</a></span><a href="#method.username_exists" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.username_exists" class="fnname">username_exists</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>check if username exists</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_email" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#174-188">source</a></span><a href="#method.get_email" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_email" class="fnname">get_email</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>get user email</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.email_exists" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#191-206">source</a></span><a href="#method.email_exists" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.email_exists" class="fnname">email_exists</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;email: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>check if email exists</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_email" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#209-221">source</a></span><a href="#method.update_email" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_email" class="fnname">update_email</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;p: &amp;'life1 <a class="struct" href="prelude/struct.UpdateEmail.html" title="struct db_sqlx_postgres::prelude::UpdateEmail">UpdateEmail</a>&lt;'_&gt;<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>update a users email</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_password" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#224-256">source</a></span><a href="#method.get_password" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_password" class="fnname">get_password</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;l: &amp;'life1 <a class="enum" href="prelude/enum.Login.html" title="enum db_sqlx_postgres::prelude::Login">Login</a>&lt;'_&gt;<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="prelude/struct.NameHash.html" title="struct db_sqlx_postgres::prelude::NameHash">NameHash</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>get a users password</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_password" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#259-271">source</a></span><a href="#method.update_password" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_password" class="fnname">update_password</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;p: &amp;'life1 <a class="struct" href="prelude/struct.NameHash.html" title="struct db_sqlx_postgres::prelude::NameHash">NameHash</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>update users password</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_username" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#274-286">source</a></span><a href="#method.update_username" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_username" class="fnname">update_username</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;current: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;new: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>update username</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_secret" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#289-300">source</a></span><a href="#method.get_secret" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_secret" class="fnname">get_secret</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="prelude/struct.Secret.html" title="struct db_sqlx_postgres::prelude::Secret">Secret</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>get a users secret</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_secret_from_captcha" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#303-316">source</a></span><a href="#method.get_secret_from_captcha" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_secret_from_captcha" class="fnname">get_secret_from_captcha</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="prelude/struct.Secret.html" title="struct db_sqlx_postgres::prelude::Secret">Secret</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>get a users secret from a captcha key</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_secret" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#319-331">source</a></span><a href="#method.update_secret" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_secret" class="fnname">update_secret</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;secret: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>update a users secret</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.create_captcha" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#334-349">source</a></span><a href="#method.create_captcha" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.create_captcha" class="fnname">create_captcha</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;p: &amp;'life2 <a class="struct" href="prelude/struct.CreateCaptcha.html" title="struct db_sqlx_postgres::prelude::CreateCaptcha">CreateCaptcha</a>&lt;'_&gt;<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>create new captcha</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_captcha_config" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#352-366">source</a></span><a href="#method.get_captcha_config" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_captcha_config" class="fnname">get_captcha_config</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="prelude/struct.Captcha.html" title="struct db_sqlx_postgres::prelude::Captcha">Captcha</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Get captcha config</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_all_user_captchas" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#369-385">source</a></span><a href="#method.get_all_user_captchas" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_all_user_captchas" class="fnname">get_all_user_captchas</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="prelude/struct.Captcha.html" title="struct db_sqlx_postgres::prelude::Captcha">Captcha</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Get all captchas belonging to user</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_captcha_metadata" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#388-407">source</a></span><a href="#method.update_captcha_metadata" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_captcha_metadata" class="fnname">update_captcha_metadata</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;p: &amp;'life2 <a class="struct" href="prelude/struct.CreateCaptcha.html" title="struct db_sqlx_postgres::prelude::CreateCaptcha">CreateCaptcha</a>&lt;'_&gt;<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>update captcha metadata; doesnt change captcha key</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_captcha_key" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#410-428">source</a></span><a href="#method.update_captcha_key" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_captcha_key" class="fnname">update_captcha_key</a>&lt;'life0, 'life1, 'life2, 'life3, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;old_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;new_key: &amp;'life3 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life3: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>update captcha key; doesnt change metadata</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_captcha_levels" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#431-467">source</a></span><a href="#method.add_captcha_levels" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.add_captcha_levels" class="fnname">add_captcha_levels</a>&lt;'life0, 'life1, 'life2, 'life3, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;levels: &amp;'life3 [<a class="struct" href="prelude/dev/prelude/struct.Level.html" title="struct db_sqlx_postgres::prelude::dev::prelude::Level">Level</a>]<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life3: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Add levels to captcha</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.captcha_exists" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#470-510">source</a></span><a href="#method.captcha_exists" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.captcha_exists" class="fnname">captcha_exists</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>check if captcha exists</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.delete_captcha_levels" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#513-534">source</a></span><a href="#method.delete_captcha_levels" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.delete_captcha_levels" class="fnname">delete_captcha_levels</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Delete all levels of a captcha</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.delete_captcha" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#537-550">source</a></span><a href="#method.delete_captcha" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.delete_captcha" class="fnname">delete_captcha</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Delete captcha</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_captcha_levels" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#553-599">source</a></span><a href="#method.get_captcha_levels" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_captcha_levels" class="fnname">get_captcha_levels</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="prelude/dev/prelude/struct.Level.html" title="struct db_sqlx_postgres::prelude::dev::prelude::Level">Level</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Get captcha levels</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_captcha_cooldown" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#602-618">source</a></span><a href="#method.get_captcha_cooldown" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_captcha_cooldown" class="fnname">get_captcha_cooldown</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i32.html">i32</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Get captchas cooldown period</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_traffic_pattern" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#620-647">source</a></span><a href="#method.add_traffic_pattern" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.add_traffic_pattern" class="fnname">add_traffic_pattern</a>&lt;'life0, 'life1, 'life2, 'life3, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;pattern: &amp;'life3 <a class="struct" href="prelude/struct.TrafficPattern.html" title="struct db_sqlx_postgres::prelude::TrafficPattern">TrafficPattern</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life3: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Add traffic configuration</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_traffic_pattern" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#650-697">source</a></span><a href="#method.get_traffic_pattern" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_traffic_pattern" class="fnname">get_traffic_pattern</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="prelude/struct.TrafficPattern.html" title="struct db_sqlx_postgres::prelude::TrafficPattern">TrafficPattern</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Get traffic configuration</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.delete_traffic_pattern" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#700-723">source</a></span><a href="#method.delete_traffic_pattern" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.delete_traffic_pattern" class="fnname">delete_traffic_pattern</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Delete traffic configuration</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.create_notification" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#726-748">source</a></span><a href="#method.create_notification" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.create_notification" class="fnname">create_notification</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;p: &amp;'life1 <a class="struct" href="prelude/struct.AddNotification.html" title="struct db_sqlx_postgres::prelude::AddNotification">AddNotification</a>&lt;'_&gt;<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>create new notification</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_all_unread_notifications" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#751-771">source</a></span><a href="#method.get_all_unread_notifications" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_all_unread_notifications" class="fnname">get_all_unread_notifications</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>get all unread notifications</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mark_notification_read" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#774-786">source</a></span><a href="#method.mark_notification_read" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.mark_notification_read" class="fnname">mark_notification_read</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;id: <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i32.html">i32</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>mark a notification read</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.record_fetch" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#789-801">source</a></span><a href="#method.record_fetch" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.record_fetch" class="fnname">record_fetch</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>record PoWConfig fetches</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.record_solve" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#804-816">source</a></span><a href="#method.record_solve" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.record_solve" class="fnname">record_solve</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>record PoWConfig solves</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.record_confirm" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#819-831">source</a></span><a href="#method.record_confirm" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.record_confirm" class="fnname">record_confirm</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>record PoWConfig confirms</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fetch_config_fetched" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#834-857">source</a></span><a href="#method.fetch_config_fetched" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>fetch PoWConfig fetches</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fetch_solve" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#860-881">source</a></span><a href="#method.fetch_solve" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.fetch_solve" class="fnname">fetch_solve</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>fetch PoWConfig solves</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fetch_confirm" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#884-906">source</a></span><a href="#method.fetch_confirm" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.fetch_confirm" class="fnname">fetch_confirm</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>fetch PoWConfig confirms</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="prelude/trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.migrate" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#96-102">source</a></span><a href="#method.migrate" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.Migrate.html#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class='docblock'><p>database specific error-type
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#103-904">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="prelude/trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ping" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#105-113">source</a></span><a href="#method.ping" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.ping" class="fnname">ping</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>ping DB</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.register" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#116-141">source</a></span><a href="#method.register" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.register" class="fnname">register</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;p: &amp;'life1 <a class="struct" href="prelude/struct.Register.html" title="struct db_sqlx_postgres::prelude::Register">Register</a>&lt;'_&gt;<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>register a new user</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.delete_user" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#144-150">source</a></span><a href="#method.delete_user" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.delete_user" class="fnname">delete_user</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>delete a user</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.username_exists" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#153-168">source</a></span><a href="#method.username_exists" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.username_exists" class="fnname">username_exists</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>check if username exists</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_email" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#171-185">source</a></span><a href="#method.get_email" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_email" class="fnname">get_email</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>get user email</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.email_exists" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#188-203">source</a></span><a href="#method.email_exists" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.email_exists" class="fnname">email_exists</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;email: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>check if email exists</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_email" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#206-218">source</a></span><a href="#method.update_email" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_email" class="fnname">update_email</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;p: &amp;'life1 <a class="struct" href="prelude/struct.UpdateEmail.html" title="struct db_sqlx_postgres::prelude::UpdateEmail">UpdateEmail</a>&lt;'_&gt;<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>update a users email</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_password" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#221-253">source</a></span><a href="#method.get_password" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_password" class="fnname">get_password</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;l: &amp;'life1 <a class="enum" href="prelude/enum.Login.html" title="enum db_sqlx_postgres::prelude::Login">Login</a>&lt;'_&gt;<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="prelude/struct.NameHash.html" title="struct db_sqlx_postgres::prelude::NameHash">NameHash</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>get a users password</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_password" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#256-268">source</a></span><a href="#method.update_password" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_password" class="fnname">update_password</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;p: &amp;'life1 <a class="struct" href="prelude/struct.NameHash.html" title="struct db_sqlx_postgres::prelude::NameHash">NameHash</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>update users password</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_username" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#271-283">source</a></span><a href="#method.update_username" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_username" class="fnname">update_username</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;current: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;new: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>update username</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_secret" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#286-297">source</a></span><a href="#method.get_secret" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_secret" class="fnname">get_secret</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="prelude/struct.Secret.html" title="struct db_sqlx_postgres::prelude::Secret">Secret</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>get a users secret</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_secret_from_captcha" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#300-313">source</a></span><a href="#method.get_secret_from_captcha" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_secret_from_captcha" class="fnname">get_secret_from_captcha</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="prelude/struct.Secret.html" title="struct db_sqlx_postgres::prelude::Secret">Secret</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>get a users secret from a captcha key</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_secret" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#316-328">source</a></span><a href="#method.update_secret" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_secret" class="fnname">update_secret</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;secret: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>update a users secret</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.create_captcha" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#331-346">source</a></span><a href="#method.create_captcha" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.create_captcha" class="fnname">create_captcha</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;p: &amp;'life2 <a class="struct" href="prelude/struct.CreateCaptcha.html" title="struct db_sqlx_postgres::prelude::CreateCaptcha">CreateCaptcha</a>&lt;'_&gt;<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>create new captcha</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_captcha_config" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#349-363">source</a></span><a href="#method.get_captcha_config" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_captcha_config" class="fnname">get_captcha_config</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="prelude/struct.Captcha.html" title="struct db_sqlx_postgres::prelude::Captcha">Captcha</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Get captcha config</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_all_user_captchas" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#366-382">source</a></span><a href="#method.get_all_user_captchas" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_all_user_captchas" class="fnname">get_all_user_captchas</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="prelude/struct.Captcha.html" title="struct db_sqlx_postgres::prelude::Captcha">Captcha</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Get all captchas belonging to user</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_captcha_metadata" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#385-404">source</a></span><a href="#method.update_captcha_metadata" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_captcha_metadata" class="fnname">update_captcha_metadata</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;p: &amp;'life2 <a class="struct" href="prelude/struct.CreateCaptcha.html" title="struct db_sqlx_postgres::prelude::CreateCaptcha">CreateCaptcha</a>&lt;'_&gt;<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>update captcha metadata; doesnt change captcha key</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_captcha_key" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#407-425">source</a></span><a href="#method.update_captcha_key" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_captcha_key" class="fnname">update_captcha_key</a>&lt;'life0, 'life1, 'life2, 'life3, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;old_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;new_key: &amp;'life3 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life3: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>update captcha key; doesnt change metadata</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_captcha_levels" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#428-464">source</a></span><a href="#method.add_captcha_levels" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.add_captcha_levels" class="fnname">add_captcha_levels</a>&lt;'life0, 'life1, 'life2, 'life3, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;levels: &amp;'life3 [<a class="struct" href="prelude/dev/prelude/struct.Level.html" title="struct db_sqlx_postgres::prelude::dev::prelude::Level">Level</a>]<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life3: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Add levels to captcha</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.captcha_exists" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#467-507">source</a></span><a href="#method.captcha_exists" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.captcha_exists" class="fnname">captcha_exists</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>check if captcha exists</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.delete_captcha_levels" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#510-531">source</a></span><a href="#method.delete_captcha_levels" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.delete_captcha_levels" class="fnname">delete_captcha_levels</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Delete all levels of a captcha</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.delete_captcha" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#534-547">source</a></span><a href="#method.delete_captcha" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.delete_captcha" class="fnname">delete_captcha</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Delete captcha</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_captcha_levels" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#550-596">source</a></span><a href="#method.get_captcha_levels" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_captcha_levels" class="fnname">get_captcha_levels</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="prelude/dev/prelude/struct.Level.html" title="struct db_sqlx_postgres::prelude::dev::prelude::Level">Level</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Get captcha levels</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_captcha_cooldown" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#599-615">source</a></span><a href="#method.get_captcha_cooldown" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_captcha_cooldown" class="fnname">get_captcha_cooldown</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i32.html">i32</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Get captchas cooldown period</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_traffic_pattern" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#617-644">source</a></span><a href="#method.add_traffic_pattern" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.add_traffic_pattern" class="fnname">add_traffic_pattern</a>&lt;'life0, 'life1, 'life2, 'life3, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;pattern: &amp;'life3 <a class="struct" href="prelude/struct.TrafficPattern.html" title="struct db_sqlx_postgres::prelude::TrafficPattern">TrafficPattern</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life3: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Add traffic configuration</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_traffic_pattern" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#647-694">source</a></span><a href="#method.get_traffic_pattern" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_traffic_pattern" class="fnname">get_traffic_pattern</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="prelude/struct.TrafficPattern.html" title="struct db_sqlx_postgres::prelude::TrafficPattern">TrafficPattern</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Get traffic configuration</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.delete_traffic_pattern" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#697-720">source</a></span><a href="#method.delete_traffic_pattern" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.delete_traffic_pattern" class="fnname">delete_traffic_pattern</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;captcha_key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>Delete traffic configuration</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.create_notification" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#723-745">source</a></span><a href="#method.create_notification" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.create_notification" class="fnname">create_notification</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;p: &amp;'life1 <a class="struct" href="prelude/struct.AddNotification.html" title="struct db_sqlx_postgres::prelude::AddNotification">AddNotification</a>&lt;'_&gt;<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>create new notification</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_all_unread_notifications" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#748-768">source</a></span><a href="#method.get_all_unread_notifications" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_all_unread_notifications" class="fnname">get_all_unread_notifications</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>get all unread notifications</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mark_notification_read" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#771-783">source</a></span><a href="#method.mark_notification_read" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.mark_notification_read" class="fnname">mark_notification_read</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;username: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;id: <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i32.html">i32</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>mark a notification read</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.record_fetch" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#786-798">source</a></span><a href="#method.record_fetch" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.record_fetch" class="fnname">record_fetch</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>record PoWConfig fetches</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.record_solve" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#801-813">source</a></span><a href="#method.record_solve" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.record_solve" class="fnname">record_solve</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>record PoWConfig solves</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.record_confirm" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#816-828">source</a></span><a href="#method.record_confirm" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.record_confirm" class="fnname">record_confirm</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>record PoWConfig confirms</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fetch_config_fetched" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#831-854">source</a></span><a href="#method.fetch_config_fetched" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>fetch PoWConfig fetches</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fetch_solve" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#857-878">source</a></span><a href="#method.fetch_solve" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.fetch_solve" class="fnname">fetch_solve</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>fetch PoWConfig solves</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fetch_confirm" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#881-903">source</a></span><a href="#method.fetch_confirm" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.fetch_confirm" class="fnname">fetch_confirm</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self,<br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class="docblock"><p>fetch PoWConfig confirms</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="prelude/trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.migrate" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_postgres/lib.rs.html#93-99">source</a></span><a href="#method.migrate" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.Migrate.html#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_postgres::prelude::dev::prelude::DBResult">DBResult</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></section></summary><div class='docblock'><p>database specific error-type
run migrations <a href="prelude/trait.Migrate.html#tymethod.migrate">Read more</a></p>
</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 has-srclink"><a href="#impl-RefUnwindSafe-for-Database" class="anchor"></a><h3 class="code-header in-band">impl !<a class="trait" href="https://doc.rust-lang.org/1.64.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_postgres::Database">Database</a></h3></section><section id="impl-Send-for-Database" class="impl has-srclink"><a href="#impl-Send-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.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_postgres::Database">Database</a></h3></section><section id="impl-Sync-for-Database" class="impl has-srclink"><a href="#impl-Sync-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.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_postgres::Database">Database</a></h3></section><section id="impl-Unpin-for-Database" class="impl has-srclink"><a href="#impl-Unpin-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.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_postgres::Database">Database</a></h3></section><section id="impl-UnwindSafe-for-Database" class="impl has-srclink"><a href="#impl-UnwindSafe-for-Database" class="anchor"></a><h3 class="code-header in-band">impl !<a class="trait" href="https://doc.rust-lang.org/1.64.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_postgres::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="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.64.0/src/core/any.rs.html#203">source</a></span><a href="#impl-Any-for-Database" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.64.0/src/core/any.rs.html#204">source</a></span><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.64.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.64.0/src/core/borrow.rs.html#209">source</a></span><a href="#impl-Borrow%3CT%3E-for-Database" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.64.0/src/core/borrow.rs.html#211">source</a></span><a href="#method.borrow" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.reference.html">&amp;</a>T</h4></section></summary><div class='docblock'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.64.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
<!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 `check_url` fn in crate `mcaptcha`."><meta name="keywords" content="rust, rustlang, rust-lang, check_url"><title>check_url in mcaptcha::settings - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../../dark.css" disabled><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc fn"><!--[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">&#9776;</button><a class="sidebar-logo" href="../../mcaptcha/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../../mcaptcha/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In mcaptcha::settings</a></h2></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../mcaptcha/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn"><span class="in-band">Function <a href="../index.html">mcaptcha</a>::<wbr><a href="index.html">settings</a>::<wbr><a class="fn" href="#">check_url</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/mcaptcha/settings.rs.html#202-208">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust fn"><code>fn check_url(s: &amp;Config)</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="mcaptcha" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></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 `check_url` fn in crate `mcaptcha`."><meta name="keywords" content="rust, rustlang, rust-lang, check_url"><title>check_url in mcaptcha::settings - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../../dark.css" disabled><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc fn"><!--[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">&#9776;</button><a class="sidebar-logo" href="../../mcaptcha/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../../mcaptcha/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In mcaptcha::settings</a></h2></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../mcaptcha/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn"><span class="in-band">Function <a href="../index.html">mcaptcha</a>::<wbr><a href="index.html">settings</a>::<wbr><a class="fn" href="#">check_url</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/mcaptcha/settings.rs.html#212-218">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust fn"><code>fn check_url(s: &amp;Config)</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="mcaptcha" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -1 +1 @@
<!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 `set_database_url` fn in crate `mcaptcha`."><meta name="keywords" content="rust, rustlang, rust-lang, set_database_url"><title>set_database_url in mcaptcha::settings - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../../dark.css" disabled><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc fn"><!--[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">&#9776;</button><a class="sidebar-logo" href="../../mcaptcha/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../../mcaptcha/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In mcaptcha::settings</a></h2></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../mcaptcha/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn"><span class="in-band">Function <a href="../index.html">mcaptcha</a>::<wbr><a href="index.html">settings</a>::<wbr><a class="fn" href="#">set_database_url</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/mcaptcha/settings.rs.html#211-229">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust fn"><code>fn set_database_url(s: &amp;mut Config)</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="mcaptcha" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></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 `set_database_url` fn in crate `mcaptcha`."><meta name="keywords" content="rust, rustlang, rust-lang, set_database_url"><title>set_database_url in mcaptcha::settings - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../../dark.css" disabled><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc fn"><!--[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">&#9776;</button><a class="sidebar-logo" href="../../mcaptcha/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../../mcaptcha/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In mcaptcha::settings</a></h2></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../mcaptcha/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn"><span class="in-band">Function <a href="../index.html">mcaptcha</a>::<wbr><a href="index.html">settings</a>::<wbr><a class="fn" href="#">set_database_url</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/mcaptcha/settings.rs.html#221-242">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust fn"><code>fn set_database_url(s: &amp;mut Config)</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="mcaptcha" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -960,9 +960,6 @@
<span id="960">960</span>
<span id="961">961</span>
<span id="962">962</span>
<span id="963">963</span>
<span id="964">964</span>
<span id="965">965</span>
</pre><pre class="rust"><code><span class="comment">/*
* Copyright (C) 2022 Aravinth Manivannan &lt;realaravinth@batsense.net&gt;
*
@ -1038,9 +1035,6 @@
<span class="kw">if</span> <span class="ident">fresh</span>.<span class="ident">disable_logging</span> {
<span class="ident">connect_options</span>.<span class="ident">disable_statement_logging</span>();
}
<span class="ident">sqlx::mysql::MySqlConnectOptions::from_str</span>(<span class="kw-2">&amp;</span><span class="ident">fresh</span>.<span class="ident">url</span>)
.<span class="ident">unwrap</span>()
.<span class="ident">disable_statement_logging</span>();
<span class="ident">fresh</span>
.<span class="ident">pool_options</span>
.<span class="ident">connect_with</span>(<span class="ident">connect_options</span>)

View file

@ -966,9 +966,6 @@
<span id="966">966</span>
<span id="967">967</span>
<span id="968">968</span>
<span id="969">969</span>
<span id="970">970</span>
<span id="971">971</span>
</pre><pre class="rust"><code><span class="comment">/*
* Copyright (C) 2022 Aravinth Manivannan &lt;realaravinth@batsense.net&gt;
*
@ -1044,9 +1041,6 @@
<span class="kw">if</span> <span class="ident">fresh</span>.<span class="ident">disable_logging</span> {
<span class="ident">connect_options</span>.<span class="ident">disable_statement_logging</span>();
}
<span class="ident">sqlx::postgres::PgConnectOptions::from_str</span>(<span class="kw-2">&amp;</span><span class="ident">fresh</span>.<span class="ident">url</span>)
.<span class="ident">unwrap</span>()
.<span class="ident">disable_statement_logging</span>();
<span class="ident">fresh</span>
.<span class="ident">pool_options</span>
.<span class="ident">connect_with</span>(<span class="ident">connect_options</span>)

View file

@ -251,6 +251,19 @@
<span id="251">251</span>
<span id="252">252</span>
<span id="253">253</span>
<span id="254">254</span>
<span id="255">255</span>
<span id="256">256</span>
<span id="257">257</span>
<span id="258">258</span>
<span id="259">259</span>
<span id="260">260</span>
<span id="261">261</span>
<span id="262">262</span>
<span id="263">263</span>
<span id="264">264</span>
<span id="265">265</span>
<span id="266">266</span>
</pre><pre class="rust"><code><span class="comment">/*
* Copyright (C) 2022 Aravinth Manivannan &lt;realaravinth@batsense.net&gt;
*
@ -267,8 +280,8 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see &lt;https://www.gnu.org/licenses/&gt;.
*/</span>
<span class="kw">use</span> <span class="ident">std::env</span>;
<span class="kw">use</span> <span class="ident">std::path::Path</span>;
<span class="kw">use</span> <span class="ident">std</span>::{<span class="ident">env</span>, <span class="ident">fs</span>};
<span class="kw">use</span> <span class="ident">config</span>::{<span class="ident">Config</span>, <span class="ident">ConfigError</span>, <span class="ident">Environment</span>, <span class="ident">File</span>};
<span class="kw">use</span> <span class="ident">derive_more::Display</span>;
@ -405,25 +418,34 @@
.<span class="ident">expect</span>(<span class="string">&quot;unable to set capatcha.enable_stats default config&quot;</span>);
<span class="kw">if</span> <span class="kw">let</span> <span class="prelude-val">Ok</span>(<span class="ident">path</span>) <span class="op">=</span> <span class="ident">env::var</span>(<span class="string">&quot;MCAPTCHA_CONFIG&quot;</span>) {
<span class="ident">s</span>.<span class="ident">merge</span>(<span class="ident">File::with_name</span>(<span class="kw-2">&amp;</span><span class="ident">path</span>))<span class="question-mark">?</span>;
<span class="kw">let</span> <span class="ident">absolute_path</span> <span class="op">=</span> <span class="ident">Path::new</span>(<span class="kw-2">&amp;</span><span class="ident">path</span>).<span class="ident">canonicalize</span>().<span class="ident">unwrap</span>();
<span class="macro">log::info!</span>(
<span class="string">&quot;Loading config file from {}&quot;</span>,
<span class="ident">absolute_path</span>.<span class="ident">to_str</span>().<span class="ident">unwrap</span>()
);
<span class="ident">s</span>.<span class="ident">merge</span>(<span class="ident">File::with_name</span>(<span class="ident">absolute_path</span>.<span class="ident">to_str</span>().<span class="ident">unwrap</span>()))<span class="question-mark">?</span>;
} <span class="kw">else</span> <span class="kw">if</span> <span class="ident">Path::new</span>(<span class="ident">CURRENT_DIR</span>).<span class="ident">exists</span>() {
<span class="kw">let</span> <span class="ident">absolute_path</span> <span class="op">=</span> <span class="ident">fs::canonicalize</span>(<span class="ident">CURRENT_DIR</span>).<span class="ident">unwrap</span>();
<span class="macro">log::info!</span>(
<span class="string">&quot;Loading config file from {}&quot;</span>,
<span class="ident">absolute_path</span>.<span class="ident">to_str</span>().<span class="ident">unwrap</span>()
);
<span class="comment">// merging default config from file</span>
<span class="ident">s</span>.<span class="ident">merge</span>(<span class="ident">File::with_name</span>(<span class="ident">CURRENT_DIR</span>))<span class="question-mark">?</span>;
<span class="ident">s</span>.<span class="ident">merge</span>(<span class="ident">File::with_name</span>(<span class="ident">absolute_path</span>.<span class="ident">to_str</span>().<span class="ident">unwrap</span>()))<span class="question-mark">?</span>;
} <span class="kw">else</span> <span class="kw">if</span> <span class="ident">Path::new</span>(<span class="ident">ETC</span>).<span class="ident">exists</span>() {
<span class="macro">log::info!</span>(<span class="string">&quot;{}&quot;</span>, <span class="macro">format!</span>(<span class="string">&quot;Loading config file from {}&quot;</span>, <span class="ident">ETC</span>));
<span class="ident">s</span>.<span class="ident">merge</span>(<span class="ident">File::with_name</span>(<span class="ident">ETC</span>))<span class="question-mark">?</span>;
} <span class="kw">else</span> {
<span class="macro">log::warn!</span>(<span class="string">&quot;configuration file not found&quot;</span>);
<span class="macro">log::warn!</span>(<span class="string">&quot;Configuration file not found&quot;</span>);
}
<span class="ident">s</span>.<span class="ident">merge</span>(<span class="ident">Environment::with_prefix</span>(<span class="string">&quot;MCAPTCHA&quot;</span>).<span class="ident">separator</span>(<span class="string">&quot;_&quot;</span>))<span class="question-mark">?</span>;
<span class="ident">check_url</span>(<span class="kw-2">&amp;</span><span class="ident">s</span>);
<span class="kw">match</span> <span class="ident">env::var</span>(<span class="string">&quot;PORT&quot;</span>) {
<span class="prelude-val">Ok</span>(<span class="ident">val</span>) =&gt; {
<span class="ident">s</span>.<span class="ident">set</span>(<span class="string">&quot;server.port&quot;</span>, <span class="ident">val</span>).<span class="ident">unwrap</span>();
}
<span class="prelude-val">Err</span>(<span class="ident">e</span>) =&gt; <span class="macro">warn!</span>(<span class="string">&quot;couldn&#39;t interpret PORT: {}&quot;</span>, <span class="ident">e</span>),
<span class="kw">if</span> <span class="kw">let</span> <span class="prelude-val">Ok</span>(<span class="ident">val</span>) <span class="op">=</span> <span class="ident">env::var</span>(<span class="string">&quot;PORT&quot;</span>) {
<span class="ident">s</span>.<span class="ident">set</span>(<span class="string">&quot;server.port&quot;</span>, <span class="ident">val</span>).<span class="ident">unwrap</span>();
<span class="macro">log::info!</span>(<span class="string">&quot;Overriding [server].port with environment variable&quot;</span>);
}
<span class="kw">match</span> <span class="ident">env::var</span>(<span class="string">&quot;DATABASE_URL&quot;</span>) {
@ -433,6 +455,7 @@
<span class="kw">let</span> <span class="ident">database_type</span> <span class="op">=</span> <span class="ident">DBType::from_url</span>(<span class="kw-2">&amp;</span><span class="ident">url</span>).<span class="ident">unwrap</span>();
<span class="ident">s</span>.<span class="ident">set</span>(<span class="string">&quot;database.database_type&quot;</span>, <span class="ident">database_type</span>.<span class="ident">to_string</span>())
.<span class="ident">unwrap</span>();
<span class="macro">log::info!</span>(<span class="string">&quot;Overriding [database].url and [database].database_type with environment variable&quot;</span>);
}
<span class="prelude-val">Err</span>(<span class="ident">e</span>) =&gt; {
<span class="ident">set_database_url</span>(<span class="kw-2">&amp;mut</span> <span class="ident">s</span>);
@ -468,8 +491,11 @@
<span class="string">r&quot;postgres://{}:{}@{}:{}/{}&quot;</span>,
<span class="ident">s</span>.<span class="ident">get</span>::<span class="op">&lt;</span><span class="ident">String</span><span class="op">&gt;</span>(<span class="string">&quot;database.username&quot;</span>)
.<span class="ident">expect</span>(<span class="string">&quot;Couldn&#39;t access database username&quot;</span>),
<span class="ident">s</span>.<span class="ident">get</span>::<span class="op">&lt;</span><span class="ident">String</span><span class="op">&gt;</span>(<span class="string">&quot;database.password&quot;</span>)
.<span class="ident">expect</span>(<span class="string">&quot;Couldn&#39;t access database password&quot;</span>),
<span class="ident">urlencoding::encode</span>(
<span class="ident">s</span>.<span class="ident">get</span>::<span class="op">&lt;</span><span class="ident">String</span><span class="op">&gt;</span>(<span class="string">&quot;database.password&quot;</span>)
.<span class="ident">expect</span>(<span class="string">&quot;Couldn&#39;t access database password&quot;</span>)
.<span class="ident">as_str</span>()
),
<span class="ident">s</span>.<span class="ident">get</span>::<span class="op">&lt;</span><span class="ident">String</span><span class="op">&gt;</span>(<span class="string">&quot;database.hostname&quot;</span>)
.<span class="ident">expect</span>(<span class="string">&quot;Couldn&#39;t access database hostname&quot;</span>),
<span class="ident">s</span>.<span class="ident">get</span>::<span class="op">&lt;</span><span class="ident">String</span><span class="op">&gt;</span>(<span class="string">&quot;database.port&quot;</span>)