mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
Deploying to gh-pages from @ ac502b7c08 🚀
This commit is contained in:
@@ -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><'async_trait>(<br> self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><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>>> + <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>>> <span class="where fmt-newline">where<br> Self: 'async_trait, </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>
|
||||
@@ -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><'life0, 'async_trait>(<br> &'life0 self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><<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>>> + <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>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> Self: 'async_trait, </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>
|
||||
@@ -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>(&self, f: &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><'_>) -> <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>() -> <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<'de> <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> 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><__D>(<br> __deserializer: __D<br>) -> <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>, <__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><'de>>::<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>> <span class="where fmt-newline">where<br> __D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>, </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><<a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</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.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>) -> 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><<a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</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.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>) -> 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><<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</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.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>(&self, other: &<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -> <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>(&self, other: &<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -> <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>
|
||||
|
||||
@@ -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><'async_trait>(<br> self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><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>>> + <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>>> <span class="where fmt-newline">where<br> Self: 'async_trait, </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>
|
||||
@@ -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><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<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>>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>>> + <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>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </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><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<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>>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>>> + <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>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </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><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<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>>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>>> + <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>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </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>
|
||||
@@ -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><'life0, 'async_trait>(<br> &'life0 self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><<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>>> + <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>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> Self: 'async_trait, </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>
|
||||
@@ -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>(&self, f: &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><'_>) -> <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>() -> <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<'de> <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> 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><__D>(<br> __deserializer: __D<br>) -> <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>, <__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><'de>>::<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>> <span class="where fmt-newline">where<br> __D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>, </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><<a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</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.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>) -> 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><<a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</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.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>) -> 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><<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</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.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>(&self, other: &<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -> <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>(&self, other: &<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -> <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>
|
||||
|
||||
@@ -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><'async_trait>(<br> self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><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>>> + <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>>> <span class="where fmt-newline">where<br> Self: 'async_trait, </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>
|
||||
@@ -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><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<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>>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>>> + <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>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </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><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<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>>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>>> + <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>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </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><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<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>>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>>> + <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>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </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>
|
||||
@@ -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><'life0, 'async_trait>(<br> &'life0 self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><<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>>> + <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>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> Self: 'async_trait, </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>
|
||||
@@ -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><'async_trait>(<br> self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><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>>> + <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>>> <span class="where fmt-newline">where<br> Self: 'async_trait, </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>
|
||||
@@ -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><'life0, 'async_trait>(<br> &'life0 self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><<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>>> + <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>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> Self: 'async_trait, </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>
|
||||
@@ -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>(&self, f: &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><'_>) -> <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>() -> <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<'de> <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> 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><__D>(<br> __deserializer: __D<br>) -> <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>, <__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><'de>>::<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>> <span class="where fmt-newline">where<br> __D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>, </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><<a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</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.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>) -> 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><<a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</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.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>) -> 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><<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</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.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>(&self, other: &<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -> <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>(&self, other: &<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -> <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>
|
||||
|
||||
@@ -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><'async_trait>(<br> self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><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>>> + <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>>> <span class="where fmt-newline">where<br> Self: 'async_trait, </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>
|
||||
@@ -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><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<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>>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>>> + <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>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </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><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<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>>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>>> + <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>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </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><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<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>>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>>> + <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>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </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>
|
||||
@@ -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><'life0, 'async_trait>(<br> &'life0 self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><<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>>> + <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>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> Self: 'async_trait, </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>
|
||||
@@ -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>(&self, f: &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><'_>) -> <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>() -> <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<'de> <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> 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><__D>(<br> __deserializer: __D<br>) -> <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>, <__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><'de>>::<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>> <span class="where fmt-newline">where<br> __D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>, </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><<a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</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.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>) -> 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><<a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</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.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>) -> 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><<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</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.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>(&self, other: &<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -> <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>(&self, other: &<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -> <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>
|
||||
|
||||
@@ -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><'async_trait>(<br> self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><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>>> + <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>>> <span class="where fmt-newline">where<br> Self: 'async_trait, </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>
|
||||
@@ -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><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<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>>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>>> + <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>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </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><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<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>>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>>> + <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>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </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><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<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>>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>>> + <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>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </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>
|
||||
@@ -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><'life0, 'async_trait>(<br> &'life0 self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><<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>>> + <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>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> Self: 'async_trait, </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>
|
||||
@@ -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>(&self, f: &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><'_>) -> <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>() -> <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<'de> <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> 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><__D>(<br> __deserializer: __D<br>) -> <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>, <__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><'de>>::<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>> <span class="where fmt-newline">where<br> __D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>, </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><<a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</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.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>) -> 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><<a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</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.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>) -> 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><<a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</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.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>(&self, other: &<a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -> <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>(&self, other: &<a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -> <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>
|
||||
|
||||
@@ -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><'async_trait>(<br> self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><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>>> + <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>>> <span class="where fmt-newline">where<br> Self: 'async_trait, </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>
|
||||
@@ -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><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<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>>, <a class="enum" href="../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>>> + <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>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </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><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<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>>, <a class="enum" href="../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>>> + <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>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </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><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<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>>, <a class="enum" href="../prelude/enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>>> + <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>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </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>
|
||||
@@ -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><'life0, 'async_trait>(<br> &'life0 self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><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><<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>>> + <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>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> Self: 'async_trait, </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>
|
||||
Reference in New Issue
Block a user