mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-14 12:00:40 +00:00
368 lines
230 KiB
HTML
368 lines
230 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="A `Dialect` for PostgreSQL"><title>PostgreSqlDialect in sql::dialect - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../static.files/rustdoc-17e0aaed.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="sql" data-themes="" data-resource-suffix="" data-rustdoc-version="1.96.0-nightly (ac7f9ec7d 2026-03-20)" data-channel="nightly" data-search-js="search-63369b7b.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../../static.files/storage-41dd4d93.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5013f961.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc struct"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">PostgreSqlDialect</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../sql/index.html">sql</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Postgre<wbr>SqlDialect</a></h2><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Clone-for-PostgreSqlDialect" title="Clone">Clone</a></li><li><a href="#impl-Copy-for-PostgreSqlDialect" title="Copy">Copy</a></li><li><a href="#impl-Debug-for-PostgreSqlDialect" title="Debug">Debug</a></li><li><a href="#impl-Default-for-PostgreSqlDialect" title="Default">Default</a></li><li><a href="#impl-Deserialize%3C'de%3E-for-PostgreSqlDialect" title="Deserialize<'de>">Deserialize<'de></a></li><li><a href="#impl-Dialect-for-PostgreSqlDialect" title="Dialect">Dialect</a></li><li><a href="#impl-Eq-for-PostgreSqlDialect" title="Eq">Eq</a></li><li><a href="#impl-Hash-for-PostgreSqlDialect" title="Hash">Hash</a></li><li><a href="#impl-Ord-for-PostgreSqlDialect" title="Ord">Ord</a></li><li><a href="#impl-PartialEq-for-PostgreSqlDialect" title="PartialEq">PartialEq</a></li><li><a href="#impl-PartialOrd-for-PostgreSqlDialect" title="PartialOrd">PartialOrd</a></li><li><a href="#impl-Serialize-for-PostgreSqlDialect" title="Serialize">Serialize</a></li><li><a href="#impl-StructuralPartialEq-for-PostgreSqlDialect" title="StructuralPartialEq">StructuralPartialEq</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-PostgreSqlDialect" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-PostgreSqlDialect" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-PostgreSqlDialect" title="Send">Send</a></li><li><a href="#impl-Sync-for-PostgreSqlDialect" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-PostgreSqlDialect" title="Unpin">Unpin</a></li><li><a href="#impl-UnsafeUnpin-for-PostgreSqlDialect" title="UnsafeUnpin">UnsafeUnpin</a></li><li><a href="#impl-UnwindSafe-for-PostgreSqlDialect" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Allocation-for-T" title="Allocation">Allocation</a></li><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Any-for-T-1" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow<T>">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut<T>">BorrowMut<T></a></li><li><a href="#impl-CallHasher-for-T" title="CallHasher">CallHasher</a></li><li><a href="#impl-CloneAny-for-T" title="CloneAny">CloneAny</a></li><li><a href="#impl-CloneAnySend-for-T" title="CloneAnySend">CloneAnySend</a></li><li><a href="#impl-CloneAnySendSync-for-T" title="CloneAnySendSync">CloneAnySendSync</a></li><li><a href="#impl-CloneAnySync-for-T" title="CloneAnySync">CloneAnySync</a></li><li><a href="#impl-CloneToUninit-for-T" title="CloneToUninit">CloneToUninit</a></li><li><a href="#impl-Comparable%3CK%3E-for-Q" title="Comparable<K>">Comparable<K></a></li><li><a href="#impl-Conv-for-T" title="Conv">Conv</a></li><li><a href="#impl-DeserializeOwned-for-T" title="DeserializeOwned">DeserializeOwned</a></li><li><a href="#impl-DynEq-for-T" title="DynEq">DynEq</a></li><li><a href="#impl-DynHash-for-T" title="DynHash">DynHash</a></li><li><a href="#impl-Equivalent%3CK%3E-for-Q" title="Equivalent<K>">Equivalent<K></a></li><li><a href="#impl-Equivalent%3CK%3E-for-Q-1" title="Equivalent<K>">Equivalent<K></a></li><li><a href="#impl-Equivalent%3CK%3E-for-Q-2" title="Equivalent<K>">Equivalent<K></a></li><li><a href="#impl-ErasedDestructor-for-T" title="ErasedDestructor">ErasedDestructor</a></li><li><a href="#impl-FmtForward-for-T" title="FmtForward">FmtForward</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From<T>">From<T></a></li><li><a href="#impl-FromRef%3CT%3E-for-T" title="FromRef<T>">FromRef<T></a></li><li><a href="#impl-FutureExt-for-T" title="FutureExt">FutureExt</a></li><li><a href="#impl-Instrument-for-T" title="Instrument">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into<U>">Into<U></a></li><li><a href="#impl-IntoEither-for-T" title="IntoEither">IntoEither</a></li><li><a href="#impl-IntoRequest%3CT%3E-for-T" title="IntoRequest<T>">IntoRequest<T></a></li><li><a href="#impl-IntoRequest%3CT%3E-for-T-1" title="IntoRequest<T>">IntoRequest<T></a></li><li><a href="#impl-LayerExt%3CL%3E-for-L" title="LayerExt<L>">LayerExt<L></a></li><li><a href="#impl-LayerExt%3CL%3E-for-L-1" title="LayerExt<L>">LayerExt<L></a></li><li><a href="#impl-MaybeSend-for-T" title="MaybeSend">MaybeSend</a></li><li><a href="#impl-MaybeSend-for-T-1" title="MaybeSend">MaybeSend</a></li><li><a href="#impl-NodeTrait-for-N" title="NodeTrait">NodeTrait</a></li><li><a href="#impl-NodeTrait-for-N-1" title="NodeTrait">NodeTrait</a></li><li><a href="#impl-Pipe-for-T" title="Pipe">Pipe</a></li><li><a href="#impl-PolicyExt-for-T" title="PolicyExt">PolicyExt</a></li><li><a href="#impl-RuleType-for-T" title="RuleType">RuleType</a></li><li><a href="#impl-Same-for-T" title="Same">Same</a></li><li><a href="#impl-ServiceExt-for-T" title="ServiceExt">ServiceExt</a></li><li><a href="#impl-Tap-for-T" title="Tap">Tap</a></li><li><a href="#impl-ToOwned-for-T" title="ToOwned">ToOwned</a></li><li><a href="#impl-TryConv-for-T" title="TryConv">TryConv</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom<U>">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto<U>">TryInto<U></a></li><li><a href="#impl-VZip%3CV%3E-for-T" title="VZip<V>">VZip<V></a></li><li><a href="#impl-WithSubscriber-for-T" title="WithSubscriber">WithSubscriber</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="index.html">In sql::<wbr>dialect</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content" tabindex="-1"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">sql</a>::<wbr><a href="index.html">dialect</a></div><h1>Struct <span class="struct">Postgre<wbr>SqlDialect</span> <button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub struct PostgreSqlDialect {}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A <a href="trait.Dialect.html" title="trait sql::dialect::Dialect"><code>Dialect</code></a> for <a href="https://www.postgresql.org/">PostgreSQL</a></p>
|
||
</div></details><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-PostgreSqlDialect" class="impl"><a href="#impl-Clone-for-PostgreSqlDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.PostgreSqlDialect.html" title="struct sql::dialect::PostgreSqlDialect">PostgreSqlDialect</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> <a class="struct" href="struct.PostgreSqlDialect.html" title="struct sql::dialect::PostgreSqlDialect">PostgreSqlDialect</a></h4></section></summary><div class='docblock'>Returns a duplicate of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#245-247">Source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&mut self, source: &Self)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-PostgreSqlDialect" class="impl"><a href="#impl-Debug-for-PostgreSqlDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.PostgreSqlDialect.html" title="struct sql::dialect::PostgreSqlDialect">PostgreSqlDialect</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Default-for-PostgreSqlDialect" class="impl"><a href="#impl-Default-for-PostgreSqlDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.PostgreSqlDialect.html" title="struct sql::dialect::PostgreSqlDialect">PostgreSqlDialect</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.default" class="method trait-impl"><a href="#method.default" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default" class="fn">default</a>() -> <a class="struct" href="struct.PostgreSqlDialect.html" title="struct sql::dialect::PostgreSqlDialect">PostgreSqlDialect</a></h4></section></summary><div class='docblock'>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C'de%3E-for-PostgreSqlDialect" class="impl"><a href="#impl-Deserialize%3C'de%3E-for-PostgreSqlDialect" class="anchor">§</a><h3 class="code-header">impl<'de> <a class="trait" href="https://docs.rs/serde_core/1.0.228/serde_core/de/trait.Deserialize.html" title="trait serde_core::de::Deserialize">Deserialize</a><'de> for <a class="struct" href="struct.PostgreSqlDialect.html" title="struct sql::dialect::PostgreSqlDialect">PostgreSqlDialect</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl"><a href="#method.deserialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde_core/1.0.228/serde_core/de/trait.Deserialize.html#tymethod.deserialize" class="fn">deserialize</a><__D>(
|
||
__deserializer: __D,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="struct.PostgreSqlDialect.html" title="struct sql::dialect::PostgreSqlDialect">PostgreSqlDialect</a>, <__D as <a class="trait" href="https://docs.rs/serde_core/1.0.228/serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="https://docs.rs/serde_core/1.0.228/serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
__D: <a class="trait" href="https://docs.rs/serde_core/1.0.228/serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>,</div></h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde_core/1.0.228/serde_core/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Dialect-for-PostgreSqlDialect" class="impl"><a href="#impl-Dialect-for-PostgreSqlDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Dialect.html" title="trait sql::dialect::Dialect">Dialect</a> for <a class="struct" href="struct.PostgreSqlDialect.html" title="struct sql::dialect::PostgreSqlDialect">PostgreSqlDialect</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.is_custom_operator_part" class="method trait-impl"><a href="#method.is_custom_operator_part" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.is_custom_operator_part" class="fn">is_custom_operator_part</a>(&self, ch: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>See <a href="https://www.postgresql.org/docs/current/sql-createoperator.html">https://www.postgresql.org/docs/current/sql-createoperator.html</a></p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_explain_with_utility_options" class="method trait-impl"><a href="#method.supports_explain_with_utility_options" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_explain_with_utility_options" class="fn">supports_explain_with_utility_options</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>see <a href="https://www.postgresql.org/docs/current/sql-explain.html">https://www.postgresql.org/docs/current/sql-explain.html</a></p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_listen_notify" class="method trait-impl"><a href="#method.supports_listen_notify" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_listen_notify" class="fn">supports_listen_notify</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>see <a href="https://www.postgresql.org/docs/current/sql-listen.html">https://www.postgresql.org/docs/current/sql-listen.html</a>
|
||
see <a href="https://www.postgresql.org/docs/current/sql-unlisten.html">https://www.postgresql.org/docs/current/sql-unlisten.html</a>
|
||
see <a href="https://www.postgresql.org/docs/current/sql-notify.html">https://www.postgresql.org/docs/current/sql-notify.html</a></p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_factorial_operator" class="method trait-impl"><a href="#method.supports_factorial_operator" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_factorial_operator" class="fn">supports_factorial_operator</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>see <a href="https://www.postgresql.org/docs/13/functions-math.html">https://www.postgresql.org/docs/13/functions-math.html</a></p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_comment_on" class="method trait-impl"><a href="#method.supports_comment_on" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_comment_on" class="fn">supports_comment_on</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>see <a href="https://www.postgresql.org/docs/current/sql-comment.html">https://www.postgresql.org/docs/current/sql-comment.html</a></p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_load_extension" class="method trait-impl"><a href="#method.supports_load_extension" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_load_extension" class="fn">supports_load_extension</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>See <a href="https://www.postgresql.org/docs/current/sql-load.html">https://www.postgresql.org/docs/current/sql-load.html</a></p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_named_fn_args_with_colon_operator" class="method trait-impl"><a href="#method.supports_named_fn_args_with_colon_operator" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_named_fn_args_with_colon_operator" class="fn">supports_named_fn_args_with_colon_operator</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>See <a href="https://www.postgresql.org/docs/current/functions-json.html">https://www.postgresql.org/docs/current/functions-json.html</a></p>
|
||
<p>Required to support the colon in:</p>
|
||
<div class="example-wrap"><pre class="language-sql"><code>SELECT json_object('a': 'b')</code></pre></div></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_named_fn_args_with_expr_name" class="method trait-impl"><a href="#method.supports_named_fn_args_with_expr_name" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_named_fn_args_with_expr_name" class="fn">supports_named_fn_args_with_expr_name</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>See <a href="https://www.postgresql.org/docs/current/functions-json.html">https://www.postgresql.org/docs/current/functions-json.html</a></p>
|
||
<p>Required to support the label in:</p>
|
||
<div class="example-wrap"><pre class="language-sql"><code>SELECT json_object('label': 'value')</code></pre></div></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_empty_projections" class="method trait-impl"><a href="#method.supports_empty_projections" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_empty_projections" class="fn">supports_empty_projections</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Return true if the dialect supports empty projections in SELECT statements</p>
|
||
<p>Example</p>
|
||
<div class="example-wrap"><pre class="language-sql"><code>SELECT from table_name</code></pre></div></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_array_typedef_with_brackets" class="method trait-impl"><a href="#method.supports_array_typedef_with_brackets" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_array_typedef_with_brackets" class="fn">supports_array_typedef_with_brackets</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>See: <a href="https://www.postgresql.org/docs/current/arrays.html#ARRAYS-DECLARATION">https://www.postgresql.org/docs/current/arrays.html#ARRAYS-DECLARATION</a></p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_notnull_operator" class="method trait-impl"><a href="#method.supports_notnull_operator" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_notnull_operator" class="fn">supports_notnull_operator</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Postgres supports <code>NOTNULL</code> as an alias for <code>IS NOT NULL</code>
|
||
See: <a href="https://www.postgresql.org/docs/17/functions-comparison.html">https://www.postgresql.org/docs/17/functions-comparison.html</a></p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_interval_options" class="method trait-impl"><a href="#method.supports_interval_options" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_interval_options" class="fn">supports_interval_options</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p><a href="https://www.postgresql.org/docs/17/datatype-datetime.html">Postgres</a> supports optional field and precision options for <code>INTERVAL</code> data type.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.identifier_quote_style" class="method trait-impl"><a href="#method.identifier_quote_style" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.identifier_quote_style" class="fn">identifier_quote_style</a>(&self, _identifier: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a>></h4></section></summary><div class='docblock'>Return the character used to quote identifiers.</div></details><details class="toggle method-toggle" open><summary><section id="method.is_delimited_identifier_start" class="method trait-impl"><a href="#method.is_delimited_identifier_start" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.is_delimited_identifier_start" class="fn">is_delimited_identifier_start</a>(&self, ch: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Determine if a character starts a quoted identifier. The default
|
||
implementation, accepting “double quoted” ids is both ANSI-compliant
|
||
and appropriate for most dialects (with the notable exception of
|
||
MySQL, MS SQL, and sqlite). You can accept one of characters listed
|
||
in <code>Word::matching_end_quote</code> here</div></details><details class="toggle method-toggle" open><summary><section id="method.is_identifier_start" class="method trait-impl"><a href="#method.is_identifier_start" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#tymethod.is_identifier_start" class="fn">is_identifier_start</a>(&self, ch: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Determine if a character is a valid start character for an unquoted identifier</div></details><details class="toggle method-toggle" open><summary><section id="method.is_identifier_part" class="method trait-impl"><a href="#method.is_identifier_part" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#tymethod.is_identifier_part" class="fn">is_identifier_part</a>(&self, ch: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Determine if a character is a valid unquoted identifier character</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_unicode_string_literal" class="method trait-impl"><a href="#method.supports_unicode_string_literal" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_unicode_string_literal" class="fn">supports_unicode_string_literal</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Determine if the dialect supports string literals with <code>U&</code> prefix.
|
||
This is used to specify Unicode code points in string literals.
|
||
For example, in PostgreSQL, the following is a valid string literal: <a href="trait.Dialect.html#method.supports_unicode_string_literal">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_next_precedence" class="method trait-impl"><a href="#method.get_next_precedence" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.get_next_precedence" class="fn">get_next_precedence</a>(
|
||
&self,
|
||
parser: &Parser<'_>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>, ParserError>></h4></section></summary><div class='docblock'>Dialect-specific precedence override <a href="trait.Dialect.html#method.get_next_precedence">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_filter_during_aggregation" class="method trait-impl"><a href="#method.supports_filter_during_aggregation" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_filter_during_aggregation" class="fn">supports_filter_during_aggregation</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Does the dialect support <code>FILTER (WHERE expr)</code> for aggregate queries?</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_group_by_expr" class="method trait-impl"><a href="#method.supports_group_by_expr" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_group_by_expr" class="fn">supports_group_by_expr</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialects supports <code>group sets, roll up, or cube</code> expressions.</div></details><details class="toggle method-toggle" open><summary><section id="method.prec_value" class="method trait-impl"><a href="#method.prec_value" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.prec_value" class="fn">prec_value</a>(&self, prec: Precedence) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></h4></section></summary><div class='docblock'>Decide the lexical Precedence of operators. <a href="trait.Dialect.html#method.prec_value">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.allow_extract_custom" class="method trait-impl"><a href="#method.allow_extract_custom" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.allow_extract_custom" class="fn">allow_extract_custom</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect allows the <code>EXTRACT</code> function to words other than [<code>Keyword</code>].</div></details><details class="toggle method-toggle" open><summary><section id="method.allow_extract_single_quotes" class="method trait-impl"><a href="#method.allow_extract_single_quotes" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.allow_extract_single_quotes" class="fn">allow_extract_single_quotes</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect allows the <code>EXTRACT</code> function to use single quotes in the part being extracted.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_create_index_with_clause" class="method trait-impl"><a href="#method.supports_create_index_with_clause" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_create_index_with_clause" class="fn">supports_create_index_with_clause</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Does the dialect support with clause in create index statement?
|
||
e.g. <code>CREATE INDEX idx ON t WITH (key = value, key2)</code></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_bitwise_shift_operators" class="method trait-impl"><a href="#method.supports_bitwise_shift_operators" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_bitwise_shift_operators" class="fn">supports_bitwise_shift_operators</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports <code><<</code> and <code>>></code> shift operators.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_nested_comments" class="method trait-impl"><a href="#method.supports_nested_comments" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_nested_comments" class="fn">supports_nested_comments</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports nested comments
|
||
e.g. <code>/* /* nested */ */</code></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_string_escape_constant" class="method trait-impl"><a href="#method.supports_string_escape_constant" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_string_escape_constant" class="fn">supports_string_escape_constant</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports the E’…’ syntax for string literals <a href="trait.Dialect.html#method.supports_string_escape_constant">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_numeric_literal_underscores" class="method trait-impl"><a href="#method.supports_numeric_literal_underscores" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_numeric_literal_underscores" class="fn">supports_numeric_literal_underscores</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports numbers containing underscores, e.g. <code>10_000_000</code></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_geometric_types" class="method trait-impl"><a href="#method.supports_geometric_types" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_geometric_types" class="fn">supports_geometric_types</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports geometric types. <a href="trait.Dialect.html#method.supports_geometric_types">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_set_names" class="method trait-impl"><a href="#method.supports_set_names" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_set_names" class="fn">supports_set_names</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports <code>SET NAMES <charset_name> [COLLATE <collation_name>]</code>. <a href="trait.Dialect.html#method.supports_set_names">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_alter_column_type_using" class="method trait-impl"><a href="#method.supports_alter_column_type_using" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_alter_column_type_using" class="fn">supports_alter_column_type_using</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports the <code>USING</code> clause in an <code>ALTER COLUMN</code> statement.
|
||
Example: <a href="trait.Dialect.html#method.supports_alter_column_type_using">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.dialect" class="method trait-impl"><a href="#method.dialect" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.dialect" class="fn">dialect</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Determine the <a href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId"><code>TypeId</code></a> of this dialect. <a href="trait.Dialect.html#method.dialect">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_nested_delimited_identifier_start" class="method trait-impl"><a href="#method.is_nested_delimited_identifier_start" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.is_nested_delimited_identifier_start" class="fn">is_nested_delimited_identifier_start</a>(&self, _ch: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Determine if a character starts a potential nested quoted identifier.
|
||
Example: RedShift supports the following quote styles to all mean the same thing: <a href="trait.Dialect.html#method.is_nested_delimited_identifier_start">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.peek_nested_delimited_identifier_quotes" class="method trait-impl"><a href="#method.peek_nested_delimited_identifier_quotes" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.peek_nested_delimited_identifier_quotes" class="fn">peek_nested_delimited_identifier_quotes</a>(
|
||
&self,
|
||
_chars: <a class="struct" href="https://doc.rust-lang.org/nightly/core/iter/adapters/peekable/struct.Peekable.html" title="struct core::iter::adapters::peekable::Peekable">Peekable</a><<a class="struct" href="https://doc.rust-lang.org/nightly/core/str/iter/struct.Chars.html" title="struct core::str::iter::Chars">Chars</a><'_>>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a>, <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a>>)></h4></section></summary><div class='docblock'>Only applicable whenever <a href="trait.Dialect.html#method.is_nested_delimited_identifier_start" title="method sql::dialect::Dialect::is_nested_delimited_identifier_start"><code>Self::is_nested_delimited_identifier_start</code></a> returns true
|
||
If the next sequence of tokens potentially represent a nested identifier, then this method
|
||
returns a tuple containing the outer quote style, and if present, the inner (nested) quote style. <a href="trait.Dialect.html#method.peek_nested_delimited_identifier_quotes">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_string_literal_backslash_escape" class="method trait-impl"><a href="#method.supports_string_literal_backslash_escape" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_string_literal_backslash_escape" class="fn">supports_string_literal_backslash_escape</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Determine if the dialect supports escaping characters via ’' in string literals. <a href="trait.Dialect.html#method.supports_string_literal_backslash_escape">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ignores_wildcard_escapes" class="method trait-impl"><a href="#method.ignores_wildcard_escapes" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.ignores_wildcard_escapes" class="fn">ignores_wildcard_escapes</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Determine whether the dialect strips the backslash when escaping LIKE wildcards (%, _). <a href="trait.Dialect.html#method.ignores_wildcard_escapes">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_window_clause_named_window_reference" class="method trait-impl"><a href="#method.supports_window_clause_named_window_reference" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_window_clause_named_window_reference" class="fn">supports_window_clause_named_window_reference</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports referencing another named window
|
||
within a window clause declaration. <a href="trait.Dialect.html#method.supports_window_clause_named_window_reference">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_within_after_array_aggregation" class="method trait-impl"><a href="#method.supports_within_after_array_aggregation" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_within_after_array_aggregation" class="fn">supports_within_after_array_aggregation</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports <code>ARRAY_AGG() [WITHIN GROUP (ORDER BY)]</code> expressions.
|
||
Otherwise, the dialect should expect an <code>ORDER BY</code> without the <code>WITHIN GROUP</code> clause, e.g. <a href="https://jakewheat.github.io/sql-overview/sql-2016-foundation-grammar.html#array-aggregate-function"><code>ANSI</code></a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_group_by_with_modifier" class="method trait-impl"><a href="#method.supports_group_by_with_modifier" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_group_by_with_modifier" class="fn">supports_group_by_with_modifier</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialects supports <code>GROUP BY</code> modifiers prefixed by a <code>WITH</code> keyword.
|
||
Example: <code>GROUP BY value WITH ROLLUP</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_left_associative_joins_without_parens" class="method trait-impl"><a href="#method.supports_left_associative_joins_without_parens" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_left_associative_joins_without_parens" class="fn">supports_left_associative_joins_without_parens</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Indicates whether the dialect supports left-associative join parsing
|
||
by default when parentheses are omitted in nested joins. <a href="trait.Dialect.html#method.supports_left_associative_joins_without_parens">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_outer_join_operator" class="method trait-impl"><a href="#method.supports_outer_join_operator" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_outer_join_operator" class="fn">supports_outer_join_operator</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports the <code>(+)</code> syntax for OUTER JOIN.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_cross_join_constraint" class="method trait-impl"><a href="#method.supports_cross_join_constraint" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_cross_join_constraint" class="fn">supports_cross_join_constraint</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports a join specification on CROSS JOIN.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_connect_by" class="method trait-impl"><a href="#method.supports_connect_by" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_connect_by" class="fn">supports_connect_by</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports CONNECT BY.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_execute_immediate" class="method trait-impl"><a href="#method.supports_execute_immediate" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_execute_immediate" class="fn">supports_execute_immediate</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports <code>EXECUTE IMMEDIATE</code> statements.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_match_recognize" class="method trait-impl"><a href="#method.supports_match_recognize" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_match_recognize" class="fn">supports_match_recognize</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports the MATCH_RECOGNIZE operation.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_in_empty_list" class="method trait-impl"><a href="#method.supports_in_empty_list" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_in_empty_list" class="fn">supports_in_empty_list</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports <code>(NOT) IN ()</code> expressions</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_start_transaction_modifier" class="method trait-impl"><a href="#method.supports_start_transaction_modifier" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_start_transaction_modifier" class="fn">supports_start_transaction_modifier</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports <code>BEGIN {DEFERRED | IMMEDIATE | EXCLUSIVE | TRY | CATCH} [TRANSACTION]</code> statements</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_end_transaction_modifier" class="method trait-impl"><a href="#method.supports_end_transaction_modifier" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_end_transaction_modifier" class="fn">supports_end_transaction_modifier</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports <code>END {TRY | CATCH}</code> statements</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_named_fn_args_with_eq_operator" class="method trait-impl"><a href="#method.supports_named_fn_args_with_eq_operator" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_named_fn_args_with_eq_operator" class="fn">supports_named_fn_args_with_eq_operator</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports named arguments of the form <code>FUN(a = '1', b = '2')</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_named_fn_args_with_assignment_operator" class="method trait-impl"><a href="#method.supports_named_fn_args_with_assignment_operator" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_named_fn_args_with_assignment_operator" class="fn">supports_named_fn_args_with_assignment_operator</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports named arguments of the form <code>FUN(a := '1', b := '2')</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_named_fn_args_with_rarrow_operator" class="method trait-impl"><a href="#method.supports_named_fn_args_with_rarrow_operator" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_named_fn_args_with_rarrow_operator" class="fn">supports_named_fn_args_with_rarrow_operator</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports named arguments of the form <code>FUN(a => '1', b => '2')</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_numeric_prefix" class="method trait-impl"><a href="#method.supports_numeric_prefix" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_numeric_prefix" class="fn">supports_numeric_prefix</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports identifiers starting with a numeric
|
||
prefix such as tables named <code>59901_user_login</code></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_window_function_null_treatment_arg" class="method trait-impl"><a href="#method.supports_window_function_null_treatment_arg" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_window_function_null_treatment_arg" class="fn">supports_window_function_null_treatment_arg</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialects supports specifying null treatment
|
||
as part of a window function’s parameter list as opposed
|
||
to after the parameter list. <a href="trait.Dialect.html#method.supports_window_function_null_treatment_arg">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_dictionary_syntax" class="method trait-impl"><a href="#method.supports_dictionary_syntax" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_dictionary_syntax" class="fn">supports_dictionary_syntax</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports defining structs or objects using a
|
||
syntax like <code>{'x': 1, 'y': 2, 'z': 3}</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.support_map_literal_syntax" class="method trait-impl"><a href="#method.support_map_literal_syntax" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.support_map_literal_syntax" class="fn">support_map_literal_syntax</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports defining object using the
|
||
syntax like <code>Map {1: 10, 2: 20}</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_lambda_functions" class="method trait-impl"><a href="#method.supports_lambda_functions" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_lambda_functions" class="fn">supports_lambda_functions</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports lambda functions, for example: <a href="trait.Dialect.html#method.supports_lambda_functions">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_parenthesized_set_variables" class="method trait-impl"><a href="#method.supports_parenthesized_set_variables" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_parenthesized_set_variables" class="fn">supports_parenthesized_set_variables</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports multiple variable assignment
|
||
using parentheses in a <code>SET</code> variable declaration. <a href="trait.Dialect.html#method.supports_parenthesized_set_variables">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_comma_separated_set_assignments" class="method trait-impl"><a href="#method.supports_comma_separated_set_assignments" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_comma_separated_set_assignments" class="fn">supports_comma_separated_set_assignments</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports multiple <code>SET</code> statements
|
||
in a single statement. <a href="trait.Dialect.html#method.supports_comma_separated_set_assignments">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_select_wildcard_except" class="method trait-impl"><a href="#method.supports_select_wildcard_except" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_select_wildcard_except" class="fn">supports_select_wildcard_except</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports an <code>EXCEPT</code> clause following a
|
||
wildcard in a select list. <a href="trait.Dialect.html#method.supports_select_wildcard_except">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.convert_type_before_value" class="method trait-impl"><a href="#method.convert_type_before_value" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.convert_type_before_value" class="fn">convert_type_before_value</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect has a CONVERT function which accepts a type first
|
||
and an expression second, e.g. <code>CONVERT(varchar, 1)</code></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_triple_quoted_string" class="method trait-impl"><a href="#method.supports_triple_quoted_string" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_triple_quoted_string" class="fn">supports_triple_quoted_string</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports triple quoted string
|
||
e.g. <code>"""abc"""</code></div></details><details class="toggle method-toggle" open><summary><section id="method.parse_prefix" class="method trait-impl"><a href="#method.parse_prefix" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.parse_prefix" class="fn">parse_prefix</a>(
|
||
&self,
|
||
_parser: &mut Parser<'_>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../ast/enum.Expr.html" title="enum sql::ast::Expr">Expr</a>, ParserError>></h4></section></summary><div class='docblock'>Dialect-specific prefix parser override</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_trailing_commas" class="method trait-impl"><a href="#method.supports_trailing_commas" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_trailing_commas" class="fn">supports_trailing_commas</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Does the dialect support trailing commas around the query?</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_limit_comma" class="method trait-impl"><a href="#method.supports_limit_comma" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_limit_comma" class="fn">supports_limit_comma</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Does the dialect support parsing <code>LIMIT 1, 2</code> as <code>LIMIT 2 OFFSET 1</code>?</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_string_literal_concatenation" class="method trait-impl"><a href="#method.supports_string_literal_concatenation" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_string_literal_concatenation" class="fn">supports_string_literal_concatenation</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports concatenating of string literal
|
||
Example: <code>SELECT 'Hello ' "world" => SELECT 'Hello world'</code></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_string_literal_concatenation_with_newline" class="method trait-impl"><a href="#method.supports_string_literal_concatenation_with_newline" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_string_literal_concatenation_with_newline" class="fn">supports_string_literal_concatenation_with_newline</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports concatenating string literals with a newline.
|
||
For example, the following statement would return <code>true</code>: <a href="trait.Dialect.html#method.supports_string_literal_concatenation_with_newline">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_projection_trailing_commas" class="method trait-impl"><a href="#method.supports_projection_trailing_commas" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_projection_trailing_commas" class="fn">supports_projection_trailing_commas</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Does the dialect support trailing commas in the projection list?</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_from_trailing_commas" class="method trait-impl"><a href="#method.supports_from_trailing_commas" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_from_trailing_commas" class="fn">supports_from_trailing_commas</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports trailing commas in the <code>FROM</code> clause of a <code>SELECT</code> statement.
|
||
Example: <code>SELECT 1 FROM T, U, LIMIT 1</code></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_column_definition_trailing_commas" class="method trait-impl"><a href="#method.supports_column_definition_trailing_commas" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_column_definition_trailing_commas" class="fn">supports_column_definition_trailing_commas</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports trailing commas in the
|
||
column definitions list of a <code>CREATE</code> statement.
|
||
Example: <code>CREATE TABLE T (x INT, y TEXT,)</code></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_object_name_double_dot_notation" class="method trait-impl"><a href="#method.supports_object_name_double_dot_notation" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_object_name_double_dot_notation" class="fn">supports_object_name_double_dot_notation</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports double dot notation for object names <a href="trait.Dialect.html#method.supports_object_name_double_dot_notation">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_struct_literal" class="method trait-impl"><a href="#method.supports_struct_literal" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_struct_literal" class="fn">supports_struct_literal</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Return true if the dialect supports the STRUCT literal <a href="trait.Dialect.html#method.supports_struct_literal">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_select_expr_star" class="method trait-impl"><a href="#method.supports_select_expr_star" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_select_expr_star" class="fn">supports_select_expr_star</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Return true if the dialect supports wildcard expansion on
|
||
arbitrary expressions in projections. <a href="trait.Dialect.html#method.supports_select_expr_star">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_from_first_select" class="method trait-impl"><a href="#method.supports_from_first_select" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_from_first_select" class="fn">supports_from_first_select</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Return true if the dialect supports “FROM-first” selects. <a href="trait.Dialect.html#method.supports_from_first_select">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_pipe_operator" class="method trait-impl"><a href="#method.supports_pipe_operator" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_pipe_operator" class="fn">supports_pipe_operator</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Return true if the dialect supports pipe operator. <a href="trait.Dialect.html#method.supports_pipe_operator">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_user_host_grantee" class="method trait-impl"><a href="#method.supports_user_host_grantee" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_user_host_grantee" class="fn">supports_user_host_grantee</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Does the dialect support MySQL-style <code>'user'@'host'</code> grantee syntax?</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_match_against" class="method trait-impl"><a href="#method.supports_match_against" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_match_against" class="fn">supports_match_against</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Does the dialect support the <code>MATCH() AGAINST()</code> syntax?</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_select_wildcard_exclude" class="method trait-impl"><a href="#method.supports_select_wildcard_exclude" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_select_wildcard_exclude" class="fn">supports_select_wildcard_exclude</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports an exclude option
|
||
following a wildcard in the projection section. For example:
|
||
<code>SELECT * EXCLUDE col1 FROM tbl</code>. <a href="trait.Dialect.html#method.supports_select_wildcard_exclude">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_select_exclude" class="method trait-impl"><a href="#method.supports_select_exclude" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_select_exclude" class="fn">supports_select_exclude</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports an exclude option
|
||
as the last item in the projection section, not necessarily
|
||
after a wildcard. For example:
|
||
<code>SELECT *, c1, c2 EXCLUDE c3 FROM tbl</code> <a href="trait.Dialect.html#method.supports_select_exclude">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_create_table_multi_schema_info_sources" class="method trait-impl"><a href="#method.supports_create_table_multi_schema_info_sources" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_create_table_multi_schema_info_sources" class="fn">supports_create_table_multi_schema_info_sources</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports specifying multiple options
|
||
in a <code>CREATE TABLE</code> statement for the structure of the new table. For example:
|
||
<code>CREATE TABLE t (a INT, b INT) AS SELECT 1 AS b, 2 AS a</code></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_select_modifiers" class="method trait-impl"><a href="#method.supports_select_modifiers" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_select_modifiers" class="fn">supports_select_modifiers</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports MySQL-specific SELECT modifiers
|
||
like <code>HIGH_PRIORITY</code>, <code>STRAIGHT_JOIN</code>, <code>SQL_SMALL_RESULT</code>, etc. <a href="trait.Dialect.html#method.supports_select_modifiers">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.parse_infix" class="method trait-impl"><a href="#method.parse_infix" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.parse_infix" class="fn">parse_infix</a>(
|
||
&self,
|
||
_parser: &mut Parser<'_>,
|
||
_expr: &<a class="enum" href="../ast/enum.Expr.html" title="enum sql::ast::Expr">Expr</a>,
|
||
_precedence: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../ast/enum.Expr.html" title="enum sql::ast::Expr">Expr</a>, ParserError>></h4></section></summary><div class='docblock'>Dialect-specific infix parser override <a href="trait.Dialect.html#method.parse_infix">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_next_precedence_default" class="method trait-impl"><a href="#method.get_next_precedence_default" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.get_next_precedence_default" class="fn">get_next_precedence_default</a>(
|
||
&self,
|
||
parser: &Parser<'_>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>, ParserError></h4></section></summary><div class='docblock'>Get the precedence of the next token, looking at the full token stream. <a href="trait.Dialect.html#method.get_next_precedence_default">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.parse_statement" class="method trait-impl"><a href="#method.parse_statement" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.parse_statement" class="fn">parse_statement</a>(
|
||
&self,
|
||
_parser: &mut Parser<'_>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Statement, ParserError>></h4></section></summary><div class='docblock'>Dialect-specific statement parser override <a href="trait.Dialect.html#method.parse_statement">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.parse_column_option" class="method trait-impl"><a href="#method.parse_column_option" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.parse_column_option" class="fn">parse_column_option</a>(
|
||
&self,
|
||
_parser: &mut Parser<'_>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="../ast/enum.ColumnOption.html" title="enum sql::ast::ColumnOption">ColumnOption</a>>, ParserError>>, ParserError></h4></section></summary><div class='docblock'>Dialect-specific column option parser override <a href="trait.Dialect.html#method.parse_column_option">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.prec_unknown" class="method trait-impl"><a href="#method.prec_unknown" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.prec_unknown" class="fn">prec_unknown</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></h4></section></summary><div class='docblock'>Returns the precedence when the precedence is otherwise unknown</div></details><details class="toggle method-toggle" open><summary><section id="method.describe_requires_table_keyword" class="method trait-impl"><a href="#method.describe_requires_table_keyword" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.describe_requires_table_keyword" class="fn">describe_requires_table_keyword</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect requires the <code>TABLE</code> keyword after <code>DESCRIBE</code> <a href="trait.Dialect.html#method.describe_requires_table_keyword">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_extract_comma_syntax" class="method trait-impl"><a href="#method.supports_extract_comma_syntax" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_extract_comma_syntax" class="fn">supports_extract_comma_syntax</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports the <code>EXTRACT</code> function
|
||
with a comma separator instead of <code>FROM</code>. <a href="trait.Dialect.html#method.supports_extract_comma_syntax">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_subquery_as_function_arg" class="method trait-impl"><a href="#method.supports_subquery_as_function_arg" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_subquery_as_function_arg" class="fn">supports_subquery_as_function_arg</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports a subquery passed to a function
|
||
as the only argument without enclosing parentheses. <a href="trait.Dialect.html#method.supports_subquery_as_function_arg">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_create_view_comment_syntax" class="method trait-impl"><a href="#method.supports_create_view_comment_syntax" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_create_view_comment_syntax" class="fn">supports_create_view_comment_syntax</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports the <code>COMMENT</code> clause in
|
||
<code>CREATE VIEW</code> statements using the <code>COMMENT = 'comment'</code> syntax. <a href="trait.Dialect.html#method.supports_create_view_comment_syntax">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_array_typedef_without_element_type" class="method trait-impl"><a href="#method.supports_array_typedef_without_element_type" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_array_typedef_without_element_type" class="fn">supports_array_typedef_without_element_type</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports the <code>ARRAY</code> type without
|
||
specifying an element type. <a href="trait.Dialect.html#method.supports_array_typedef_without_element_type">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_parens_around_table_factor" class="method trait-impl"><a href="#method.supports_parens_around_table_factor" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_parens_around_table_factor" class="fn">supports_parens_around_table_factor</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports extra parentheses around
|
||
lone table names or derived tables in the <code>FROM</code> clause. <a href="trait.Dialect.html#method.supports_parens_around_table_factor">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_values_as_table_factor" class="method trait-impl"><a href="#method.supports_values_as_table_factor" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_values_as_table_factor" class="fn">supports_values_as_table_factor</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports <code>VALUES</code> as a table factor
|
||
without requiring parentheses around the entire clause. <a href="trait.Dialect.html#method.supports_values_as_table_factor">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_dollar_placeholder" class="method trait-impl"><a href="#method.supports_dollar_placeholder" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_dollar_placeholder" class="fn">supports_dollar_placeholder</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect allows dollar placeholders
|
||
e.g. <code>SELECT $var</code> (SQLite)</div></details><details class="toggle method-toggle" open><summary><section id="method.require_interval_qualifier" class="method trait-impl"><a href="#method.require_interval_qualifier" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.require_interval_qualifier" class="fn">require_interval_qualifier</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Whether <code>INTERVAL</code> expressions require units (called “qualifiers” in the ANSI SQL spec) to be specified,
|
||
e.g. <code>INTERVAL 1 DAY</code> vs <code>INTERVAL 1</code>. <a href="trait.Dialect.html#method.require_interval_qualifier">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_asc_desc_in_column_definition" class="method trait-impl"><a href="#method.supports_asc_desc_in_column_definition" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_asc_desc_in_column_definition" class="fn">supports_asc_desc_in_column_definition</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports <code>ASC</code> and <code>DESC</code> in column definitions
|
||
e.g. <code>CREATE TABLE t (a INT ASC, b INT DESC);</code></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_multiline_comment_hints" class="method trait-impl"><a href="#method.supports_multiline_comment_hints" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_multiline_comment_hints" class="fn">supports_multiline_comment_hints</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports optimizer hints in multiline comments
|
||
e.g. <code>/*!50110 KEY_BLOCK_SIZE = 1024*/</code></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_eq_alias_assignment" class="method trait-impl"><a href="#method.supports_eq_alias_assignment" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_eq_alias_assignment" class="fn">supports_eq_alias_assignment</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports treating the equals operator <code>=</code> within a <code>SelectItem</code>
|
||
as an alias assignment operator, rather than a boolean expression.
|
||
For example: the following statements are equivalent for such a dialect: <a href="trait.Dialect.html#method.supports_eq_alias_assignment">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_try_convert" class="method trait-impl"><a href="#method.supports_try_convert" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_try_convert" class="fn">supports_try_convert</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports the <code>TRY_CONVERT</code> function</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_bang_not_operator" class="method trait-impl"><a href="#method.supports_bang_not_operator" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_bang_not_operator" class="fn">supports_bang_not_operator</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports <code>!a</code> syntax for boolean <code>NOT</code> expressions.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_load_data" class="method trait-impl"><a href="#method.supports_load_data" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_load_data" class="fn">supports_load_data</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports the <code>LOAD DATA</code> statement</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_top_before_distinct" class="method trait-impl"><a href="#method.supports_top_before_distinct" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_top_before_distinct" class="fn">supports_top_before_distinct</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect expects the <code>TOP</code> option
|
||
before the <code>ALL</code>/<code>DISTINCT</code> options in a <code>SELECT</code> statement.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_boolean_literals" class="method trait-impl"><a href="#method.supports_boolean_literals" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_boolean_literals" class="fn">supports_boolean_literals</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports boolean literals (<code>true</code> and <code>false</code>).
|
||
For example, in MSSQL these are treated as identifiers rather than boolean literals.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_show_like_before_in" class="method trait-impl"><a href="#method.supports_show_like_before_in" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_show_like_before_in" class="fn">supports_show_like_before_in</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports the <code>LIKE 'pattern'</code> option in
|
||
a <code>SHOW</code> statement before the <code>IN</code> option</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_create_table_select" class="method trait-impl"><a href="#method.supports_create_table_select" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_create_table_select" class="fn">supports_create_table_select</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports the <code>CREATE TABLE SELECT</code> statement</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_partiql" class="method trait-impl"><a href="#method.supports_partiql" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_partiql" class="fn">supports_partiql</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports PartiQL for querying semi-structured data
|
||
<a href="https://partiql.org/index.html">https://partiql.org/index.html</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_constraint_keyword_without_name" class="method trait-impl"><a href="#method.supports_constraint_keyword_without_name" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_constraint_keyword_without_name" class="fn">supports_constraint_keyword_without_name</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports the <code>CONSTRAINT</code> keyword without a name
|
||
in table constraint definitions. <a href="trait.Dialect.html#method.supports_constraint_keyword_without_name">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_reserved_for_identifier" class="method trait-impl"><a href="#method.is_reserved_for_identifier" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.is_reserved_for_identifier" class="fn">is_reserved_for_identifier</a>(&self, kw: Keyword) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the specified keyword is reserved and cannot be
|
||
used as an identifier without special handling like quoting.</div></details><details class="toggle method-toggle" open><summary><section id="method.get_reserved_keywords_for_select_item_operator" class="method trait-impl"><a href="#method.get_reserved_keywords_for_select_item_operator" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.get_reserved_keywords_for_select_item_operator" class="fn">get_reserved_keywords_for_select_item_operator</a>(&self) -> &[Keyword]</h4></section></summary><div class='docblock'>Returns reserved keywords that may prefix a select item expression
|
||
e.g. <code>SELECT CONNECT_BY_ROOT name FROM Tbl2</code> (Snowflake)</div></details><details class="toggle method-toggle" open><summary><section id="method.get_reserved_grantees_types" class="method trait-impl"><a href="#method.get_reserved_grantees_types" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.get_reserved_grantees_types" class="fn">get_reserved_grantees_types</a>(&self) -> &[GranteesType]</h4></section></summary><div class='docblock'>Returns grantee types that should be treated as identifiers</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_table_sample_before_alias" class="method trait-impl"><a href="#method.supports_table_sample_before_alias" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_table_sample_before_alias" class="fn">supports_table_sample_before_alias</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports the <code>TABLESAMPLE</code> option
|
||
before the table alias option. For example: <a href="trait.Dialect.html#method.supports_table_sample_before_alias">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_insert_set" class="method trait-impl"><a href="#method.supports_insert_set" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_insert_set" class="fn">supports_insert_set</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports the <code>INSERT INTO ... SET col1 = 1, ...</code> syntax. <a href="trait.Dialect.html#method.supports_insert_set">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_insert_table_function" class="method trait-impl"><a href="#method.supports_insert_table_function" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_insert_table_function" class="fn">supports_insert_table_function</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Does the dialect support table function in insertion?</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_insert_format" class="method trait-impl"><a href="#method.supports_insert_format" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_insert_format" class="fn">supports_insert_format</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Does the dialect support insert formats, e.g. <code>INSERT INTO ... FORMAT <format></code></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_set_stmt_without_operator" class="method trait-impl"><a href="#method.supports_set_stmt_without_operator" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_set_stmt_without_operator" class="fn">supports_set_stmt_without_operator</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports <code>SET</code> statements without an explicit
|
||
assignment operator such as <code>=</code>. For example: <code>SET SHOWPLAN_XML ON</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.is_column_alias" class="method trait-impl"><a href="#method.is_column_alias" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.is_column_alias" class="fn">is_column_alias</a>(&self, kw: &Keyword, _parser: &mut Parser<'_>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the specified keyword should be parsed as a column identifier.
|
||
See [keywords::RESERVED_FOR_COLUMN_ALIAS]</div></details><details class="toggle method-toggle" open><summary><section id="method.is_select_item_alias" class="method trait-impl"><a href="#method.is_select_item_alias" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.is_select_item_alias" class="fn">is_select_item_alias</a>(
|
||
&self,
|
||
explicit: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
|
||
kw: &Keyword,
|
||
parser: &mut Parser<'_>,
|
||
) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the specified keyword should be parsed as a select item alias.
|
||
When explicit is true, the keyword is preceded by an <code>AS</code> word. Parser is provided
|
||
to enable looking ahead if needed.</div></details><details class="toggle method-toggle" open><summary><section id="method.is_table_factor" class="method trait-impl"><a href="#method.is_table_factor" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.is_table_factor" class="fn">is_table_factor</a>(&self, kw: &Keyword, _parser: &mut Parser<'_>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the specified keyword should be parsed as a table factor identifier.
|
||
See [keywords::RESERVED_FOR_TABLE_FACTOR]</div></details><details class="toggle method-toggle" open><summary><section id="method.is_table_alias" class="method trait-impl"><a href="#method.is_table_alias" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.is_table_alias" class="fn">is_table_alias</a>(&self, kw: &Keyword, _parser: &mut Parser<'_>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the specified keyword should be parsed as a table factor alias.
|
||
See [keywords::RESERVED_FOR_TABLE_ALIAS]</div></details><details class="toggle method-toggle" open><summary><section id="method.is_table_factor_alias" class="method trait-impl"><a href="#method.is_table_factor_alias" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.is_table_factor_alias" class="fn">is_table_factor_alias</a>(
|
||
&self,
|
||
explicit: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
|
||
kw: &Keyword,
|
||
parser: &mut Parser<'_>,
|
||
) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the specified keyword should be parsed as a table factor alias.
|
||
When explicit is true, the keyword is preceded by an <code>AS</code> word. Parser is provided
|
||
to enable looking ahead if needed.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_table_versioning" class="method trait-impl"><a href="#method.supports_table_versioning" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_table_versioning" class="fn">supports_table_versioning</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports querying historical table data
|
||
by specifying which version of the data to query.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_table_hints" class="method trait-impl"><a href="#method.supports_table_hints" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_table_hints" class="fn">supports_table_hints</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports the table hints in the <code>FROM</code> clause.</div></details><details class="toggle method-toggle" open><summary><section id="method.requires_single_line_comment_whitespace" class="method trait-impl"><a href="#method.requires_single_line_comment_whitespace" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.requires_single_line_comment_whitespace" class="fn">requires_single_line_comment_whitespace</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect requires a whitespace character after <code>--</code> to start a single line comment. <a href="trait.Dialect.html#method.requires_single_line_comment_whitespace">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_order_by_all" class="method trait-impl"><a href="#method.supports_order_by_all" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_order_by_all" class="fn">supports_order_by_all</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports <code>ORDER BY ALL</code>.
|
||
<code>ALL</code> which means all columns of the SELECT clause. <a href="trait.Dialect.html#method.supports_order_by_all">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_space_separated_column_options" class="method trait-impl"><a href="#method.supports_space_separated_column_options" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_space_separated_column_options" class="fn">supports_space_separated_column_options</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports space-separated column options
|
||
in a <code>CREATE TABLE</code> statement. For example: <a href="trait.Dialect.html#method.supports_space_separated_column_options">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_comma_separated_drop_column_list" class="method trait-impl"><a href="#method.supports_comma_separated_drop_column_list" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_comma_separated_drop_column_list" class="fn">supports_comma_separated_drop_column_list</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports <code>ALTER TABLE tbl DROP COLUMN c1, ..., cn</code></div></details><details class="toggle method-toggle" open><summary><section id="method.is_identifier_generating_function_name" class="method trait-impl"><a href="#method.is_identifier_generating_function_name" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.is_identifier_generating_function_name" class="fn">is_identifier_generating_function_name</a>(
|
||
&self,
|
||
_ident: &<a class="struct" href="../ast/struct.Ident.html" title="struct sql::ast::Ident">Ident</a>,
|
||
_name_parts: &[<a class="enum" href="../ast/enum.ObjectNamePart.html" title="enum sql::ast::ObjectNamePart">ObjectNamePart</a>],
|
||
) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect considers the specified ident as a function
|
||
that returns an identifier. Typically used to generate identifiers
|
||
programmatically. <a href="trait.Dialect.html#method.is_identifier_generating_function_name">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_data_type_signed_suffix" class="method trait-impl"><a href="#method.supports_data_type_signed_suffix" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_data_type_signed_suffix" class="fn">supports_data_type_signed_suffix</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect allows an optional <code>SIGNED</code> suffix after integer data types. <a href="trait.Dialect.html#method.supports_data_type_signed_suffix">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_create_table_like_parenthesized" class="method trait-impl"><a href="#method.supports_create_table_like_parenthesized" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_create_table_like_parenthesized" class="fn">supports_create_table_like_parenthesized</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports specifying which table to copy
|
||
the schema from inside parenthesis. <a href="trait.Dialect.html#method.supports_create_table_like_parenthesized">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_semantic_view_table_factor" class="method trait-impl"><a href="#method.supports_semantic_view_table_factor" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_semantic_view_table_factor" class="fn">supports_semantic_view_table_factor</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports <code>SEMANTIC_VIEW()</code> table functions. <a href="trait.Dialect.html#method.supports_semantic_view_table_factor">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_quote_delimited_string" class="method trait-impl"><a href="#method.supports_quote_delimited_string" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_quote_delimited_string" class="fn">supports_quote_delimited_string</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Support quote delimited string literals, e.g. <code>Q'{...}'</code> <a href="trait.Dialect.html#method.supports_quote_delimited_string">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_comment_optimizer_hint" class="method trait-impl"><a href="#method.supports_comment_optimizer_hint" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_comment_optimizer_hint" class="fn">supports_comment_optimizer_hint</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns <code>true</code> if the dialect supports query optimizer hints in the
|
||
format of single and multi line comments immediately following a
|
||
<code>SELECT</code>, <code>INSERT</code>, <code>REPLACE</code>, <code>DELETE</code>, or <code>MERGE</code> keyword. <a href="trait.Dialect.html#method.supports_comment_optimizer_hint">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_double_ampersand_operator" class="method trait-impl"><a href="#method.supports_double_ampersand_operator" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_double_ampersand_operator" class="fn">supports_double_ampersand_operator</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect considers the <code>&&</code> operator as a boolean AND operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_binary_kw_as_cast" class="method trait-impl"><a href="#method.supports_binary_kw_as_cast" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_binary_kw_as_cast" class="fn">supports_binary_kw_as_cast</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports casting an expression to a binary type
|
||
using the <code>BINARY <expr></code> syntax.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_select_wildcard_replace" class="method trait-impl"><a href="#method.supports_select_wildcard_replace" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_select_wildcard_replace" class="fn">supports_select_wildcard_replace</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports the <code>REPLACE</code> option in a
|
||
<code>SELECT *</code> wildcard expression. <a href="trait.Dialect.html#method.supports_select_wildcard_replace">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_select_wildcard_ilike" class="method trait-impl"><a href="#method.supports_select_wildcard_ilike" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_select_wildcard_ilike" class="fn">supports_select_wildcard_ilike</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports the <code>ILIKE</code> option in a
|
||
<code>SELECT *</code> wildcard expression. <a href="trait.Dialect.html#method.supports_select_wildcard_ilike">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_select_wildcard_rename" class="method trait-impl"><a href="#method.supports_select_wildcard_rename" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_select_wildcard_rename" class="fn">supports_select_wildcard_rename</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports the <code>RENAME</code> option in a
|
||
<code>SELECT *</code> wildcard expression. <a href="trait.Dialect.html#method.supports_select_wildcard_rename">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_optimize_table" class="method trait-impl"><a href="#method.supports_optimize_table" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_optimize_table" class="fn">supports_optimize_table</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports the <code>OPTIMIZE TABLE</code> statement. <a href="trait.Dialect.html#method.supports_optimize_table">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_install" class="method trait-impl"><a href="#method.supports_install" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_install" class="fn">supports_install</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports the <code>INSTALL</code> statement. <a href="trait.Dialect.html#method.supports_install">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_detach" class="method trait-impl"><a href="#method.supports_detach" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_detach" class="fn">supports_detach</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports the <code>DETACH</code> statement. <a href="trait.Dialect.html#method.supports_detach">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_prewhere" class="method trait-impl"><a href="#method.supports_prewhere" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_prewhere" class="fn">supports_prewhere</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports the <code>PREWHERE</code> clause
|
||
in <code>SELECT</code> statements. <a href="trait.Dialect.html#method.supports_prewhere">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_with_fill" class="method trait-impl"><a href="#method.supports_with_fill" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_with_fill" class="fn">supports_with_fill</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports the <code>WITH FILL</code> clause
|
||
in <code>ORDER BY</code> expressions. <a href="trait.Dialect.html#method.supports_with_fill">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_limit_by" class="method trait-impl"><a href="#method.supports_limit_by" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_limit_by" class="fn">supports_limit_by</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports the <code>LIMIT BY</code> clause. <a href="trait.Dialect.html#method.supports_limit_by">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_interpolate" class="method trait-impl"><a href="#method.supports_interpolate" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_interpolate" class="fn">supports_interpolate</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports the <code>INTERPOLATE</code> clause
|
||
in <code>ORDER BY</code> expressions. <a href="trait.Dialect.html#method.supports_interpolate">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_settings" class="method trait-impl"><a href="#method.supports_settings" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_settings" class="fn">supports_settings</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports the <code>SETTINGS</code> clause. <a href="trait.Dialect.html#method.supports_settings">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_select_format" class="method trait-impl"><a href="#method.supports_select_format" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_select_format" class="fn">supports_select_format</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports the <code>FORMAT</code> clause in <code>SELECT</code> statements. <a href="trait.Dialect.html#method.supports_select_format">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Hash-for-PostgreSqlDialect" class="impl"><a href="#impl-Hash-for-PostgreSqlDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="struct.PostgreSqlDialect.html" title="struct sql::dialect::PostgreSqlDialect">PostgreSqlDialect</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.hash" class="method trait-impl"><a href="#method.hash" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash" class="fn">hash</a><__H>(&self, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut __H</a>)<div class="where">where
|
||
__H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,</div></h4></section></summary><div class='docblock'>Feeds this value into the given <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.hash_slice" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.3.0">1.3.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#234-236">Source</a></span><a href="#method.hash_slice" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice" class="fn">hash_slice</a><H>(data: &[Self], state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut H</a>)<div class="where">where
|
||
H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Feeds a slice of this type into the given <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Ord-for-PostgreSqlDialect" class="impl"><a href="#impl-Ord-for-PostgreSqlDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> for <a class="struct" href="struct.PostgreSqlDialect.html" title="struct sql::dialect::PostgreSqlDialect">PostgreSqlDialect</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmp" class="method trait-impl"><a href="#method.cmp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp" class="fn">cmp</a>(&self, other: &<a class="struct" href="struct.PostgreSqlDialect.html" title="struct sql::dialect::PostgreSqlDialect">PostgreSqlDialect</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a></h4></section></summary><div class='docblock'>This method returns an <a href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering"><code>Ordering</code></a> between <code>self</code> and <code>other</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.max" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.21.0">1.21.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1034-1036">Source</a></span><a href="#method.max" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max" class="fn">max</a>(self, other: Self) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Compares and returns the maximum of two values. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.min" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.21.0">1.21.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1073-1075">Source</a></span><a href="#method.min" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min" class="fn">min</a>(self, other: Self) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Compares and returns the minimum of two values. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clamp" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.50.0">1.50.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1099-1101">Source</a></span><a href="#method.clamp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp" class="fn">clamp</a>(self, min: Self, max: Self) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Restrict a value to a certain interval. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq-for-PostgreSqlDialect" class="impl"><a href="#impl-PartialEq-for-PostgreSqlDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="struct" href="struct.PostgreSqlDialect.html" title="struct sql::dialect::PostgreSqlDialect">PostgreSqlDialect</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, other: &<a class="struct" href="struct.PostgreSqlDialect.html" title="struct sql::dialect::PostgreSqlDialect">PostgreSqlDialect</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#264">Source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd-for-PostgreSqlDialect" class="impl"><a href="#impl-PartialOrd-for-PostgreSqlDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a> for <a class="struct" href="struct.PostgreSqlDialect.html" title="struct sql::dialect::PostgreSqlDialect">PostgreSqlDialect</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp" class="method trait-impl"><a href="#method.partial_cmp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, other: &<a class="struct" href="struct.PostgreSqlDialect.html" title="struct sql::dialect::PostgreSqlDialect">PostgreSqlDialect</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1411">Source</a></span><a href="#method.lt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1429">Source</a></span><a href="#method.le" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1447">Source</a></span><a href="#method.gt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1465">Source</a></span><a href="#method.ge" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Serialize-for-PostgreSqlDialect" class="impl"><a href="#impl-Serialize-for-PostgreSqlDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://docs.rs/serde_core/1.0.228/serde_core/ser/trait.Serialize.html" title="trait serde_core::ser::Serialize">Serialize</a> for <a class="struct" href="struct.PostgreSqlDialect.html" title="struct sql::dialect::PostgreSqlDialect">PostgreSqlDialect</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.serialize" class="method trait-impl"><a href="#method.serialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde_core/1.0.228/serde_core/ser/trait.Serialize.html#tymethod.serialize" class="fn">serialize</a><__S>(
|
||
&self,
|
||
__serializer: __S,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<__S as <a class="trait" href="https://docs.rs/serde_core/1.0.228/serde_core/ser/trait.Serializer.html" title="trait serde_core::ser::Serializer">Serializer</a>>::<a class="associatedtype" href="https://docs.rs/serde_core/1.0.228/serde_core/ser/trait.Serializer.html#associatedtype.Ok" title="type serde_core::ser::Serializer::Ok">Ok</a>, <__S as <a class="trait" href="https://docs.rs/serde_core/1.0.228/serde_core/ser/trait.Serializer.html" title="trait serde_core::ser::Serializer">Serializer</a>>::<a class="associatedtype" href="https://docs.rs/serde_core/1.0.228/serde_core/ser/trait.Serializer.html#associatedtype.Error" title="type serde_core::ser::Serializer::Error">Error</a>><div class="where">where
|
||
__S: <a class="trait" href="https://docs.rs/serde_core/1.0.228/serde_core/ser/trait.Serializer.html" title="trait serde_core::ser::Serializer">Serializer</a>,</div></h4></section></summary><div class='docblock'>Serialize this value into the given Serde serializer. <a href="https://docs.rs/serde_core/1.0.228/serde_core/ser/trait.Serialize.html#tymethod.serialize">Read more</a></div></details></div></details><section id="impl-Copy-for-PostgreSqlDialect" class="impl"><a href="#impl-Copy-for-PostgreSqlDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="struct.PostgreSqlDialect.html" title="struct sql::dialect::PostgreSqlDialect">PostgreSqlDialect</a></h3></section><section id="impl-Eq-for-PostgreSqlDialect" class="impl"><a href="#impl-Eq-for-PostgreSqlDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="struct.PostgreSqlDialect.html" title="struct sql::dialect::PostgreSqlDialect">PostgreSqlDialect</a></h3></section><section id="impl-StructuralPartialEq-for-PostgreSqlDialect" class="impl"><a href="#impl-StructuralPartialEq-for-PostgreSqlDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="struct" href="struct.PostgreSqlDialect.html" title="struct sql::dialect::PostgreSqlDialect">PostgreSqlDialect</a></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-PostgreSqlDialect" class="impl"><a href="#impl-Freeze-for-PostgreSqlDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.PostgreSqlDialect.html" title="struct sql::dialect::PostgreSqlDialect">PostgreSqlDialect</a></h3></section><section id="impl-RefUnwindSafe-for-PostgreSqlDialect" class="impl"><a href="#impl-RefUnwindSafe-for-PostgreSqlDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.PostgreSqlDialect.html" title="struct sql::dialect::PostgreSqlDialect">PostgreSqlDialect</a></h3></section><section id="impl-Send-for-PostgreSqlDialect" class="impl"><a href="#impl-Send-for-PostgreSqlDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.PostgreSqlDialect.html" title="struct sql::dialect::PostgreSqlDialect">PostgreSqlDialect</a></h3></section><section id="impl-Sync-for-PostgreSqlDialect" class="impl"><a href="#impl-Sync-for-PostgreSqlDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.PostgreSqlDialect.html" title="struct sql::dialect::PostgreSqlDialect">PostgreSqlDialect</a></h3></section><section id="impl-Unpin-for-PostgreSqlDialect" class="impl"><a href="#impl-Unpin-for-PostgreSqlDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.PostgreSqlDialect.html" title="struct sql::dialect::PostgreSqlDialect">PostgreSqlDialect</a></h3></section><section id="impl-UnsafeUnpin-for-PostgreSqlDialect" class="impl"><a href="#impl-UnsafeUnpin-for-PostgreSqlDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.UnsafeUnpin.html" title="trait core::marker::UnsafeUnpin">UnsafeUnpin</a> for <a class="struct" href="struct.PostgreSqlDialect.html" title="struct sql::dialect::PostgreSqlDialect">PostgreSqlDialect</a></h3></section><section id="impl-UnwindSafe-for-PostgreSqlDialect" class="impl"><a href="#impl-UnwindSafe-for-PostgreSqlDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.PostgreSqlDialect.html" title="struct sql::dialect::PostgreSqlDialect">PostgreSqlDialect</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#141">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
|
||
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#142">Source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#212">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T<div class="where">where
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#221">Source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T<div class="where">where
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#222">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CallHasher-for-T" class="impl"><a href="#impl-CallHasher-for-T" class="anchor">§</a><h3 class="code-header">impl<T> CallHasher for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><section id="method.get_hash" class="method trait-impl"><a href="#method.get_hash" class="anchor">§</a><h4 class="code-header">default fn <a class="fn">get_hash</a><H, B>(value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&H</a>, build_hasher: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&B</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a><div class="where">where
|
||
H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
||
B: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.BuildHasher.html" title="trait core::hash::BuildHasher">BuildHasher</a>,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CloneToUninit-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#547">Source</a><a href="#impl-CloneToUninit-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.CloneToUninit.html" title="trait core::clone::CloneToUninit">CloneToUninit</a> for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone_to_uninit" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#549">Source</a><a href="#method.clone_to_uninit" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit" class="fn">clone_to_uninit</a>(&self, dest: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>)</h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>clone_to_uninit</code>)</span></div></span><div class='docblock'>Performs copy-assignment from <code>self</code> to <code>dest</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Comparable%3CK%3E-for-Q" class="impl"><a href="#impl-Comparable%3CK%3E-for-Q" class="anchor">§</a><h3 class="code-header">impl<Q, K> Comparable<K> for Q<div class="where">where
|
||
Q: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
||
K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><Q> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.compare" class="method trait-impl"><a href="#method.compare" class="anchor">§</a><h4 class="code-header">fn <a class="fn">compare</a>(&self, key: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&K</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a></h4></section></summary><div class='docblock'>Compare self to <code>key</code> and return their ordering.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Conv-for-T" class="impl"><a href="#impl-Conv-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Conv for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.conv" class="method trait-impl"><a href="#method.conv" class="anchor">§</a><h4 class="code-header">fn <a class="fn">conv</a><T>(self) -> T<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</div></h4></section></summary><div class='docblock'>Converts <code>self</code> into <code>T</code> using <code>Into<T></code>. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-DynEq-for-T" class="impl"><a href="#impl-DynEq-for-T" class="anchor">§</a><h3 class="code-header">impl<T> DynEq for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a>,</div></h3></section></summary><div class="impl-items"><section id="method.dyn_eq" class="method trait-impl"><a href="#method.dyn_eq" class="anchor">§</a><h4 class="code-header">fn <a class="fn">dyn_eq</a>(&self, other: &(dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static)) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-DynHash-for-T" class="impl"><a href="#impl-DynHash-for-T" class="anchor">§</a><h3 class="code-header">impl<T> DynHash for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a>,</div></h3></section></summary><div class="impl-items"><section id="method.dyn_hash" class="method trait-impl"><a href="#method.dyn_hash" class="anchor">§</a><h4 class="code-header">fn <a class="fn">dyn_hash</a>(&self, state: &mut dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>)</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Equivalent%3CK%3E-for-Q" class="impl"><a href="#impl-Equivalent%3CK%3E-for-Q" class="anchor">§</a><h3 class="code-header">impl<Q, K> Equivalent<K> for Q<div class="where">where
|
||
Q: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
||
K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><Q> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.equivalent" class="method trait-impl"><a href="#method.equivalent" class="anchor">§</a><h4 class="code-header">fn <a class="fn">equivalent</a>(&self, key: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&K</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Compare self to <code>key</code> and return <code>true</code> if they are equal.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Equivalent%3CK%3E-for-Q-1" class="impl"><a href="#impl-Equivalent%3CK%3E-for-Q-1" class="anchor">§</a><h3 class="code-header">impl<Q, K> Equivalent<K> for Q<div class="where">where
|
||
Q: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
||
K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><Q> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.equivalent-1" class="method trait-impl"><a href="#method.equivalent-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">equivalent</a>(&self, key: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&K</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Checks if this value is equivalent to the given key. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Equivalent%3CK%3E-for-Q-2" class="impl"><a href="#impl-Equivalent%3CK%3E-for-Q-2" class="anchor">§</a><h3 class="code-header">impl<Q, K> Equivalent<K> for Q<div class="where">where
|
||
Q: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
||
K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><Q> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.equivalent-2" class="method trait-impl"><a href="#method.equivalent-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">equivalent</a>(&self, key: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&K</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Checks if this value is equivalent to the given key. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FmtForward-for-T" class="impl"><a href="#impl-FmtForward-for-T" class="anchor">§</a><h3 class="code-header">impl<T> FmtForward for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt_binary" class="method trait-impl"><a href="#method.fmt_binary" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_binary</a>(self) -> FmtBinary<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Binary.html" title="trait core::fmt::Binary">Binary</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>Binary</code> implementation when <code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_display" class="method trait-impl"><a href="#method.fmt_display" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_display</a>(self) -> FmtDisplay<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>Display</code> implementation when
|
||
<code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_lower_exp" class="method trait-impl"><a href="#method.fmt_lower_exp" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_lower_exp</a>(self) -> FmtLowerExp<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.LowerExp.html" title="trait core::fmt::LowerExp">LowerExp</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>LowerExp</code> implementation when
|
||
<code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_lower_hex" class="method trait-impl"><a href="#method.fmt_lower_hex" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_lower_hex</a>(self) -> FmtLowerHex<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.LowerHex.html" title="trait core::fmt::LowerHex">LowerHex</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>LowerHex</code> implementation when
|
||
<code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_octal" class="method trait-impl"><a href="#method.fmt_octal" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_octal</a>(self) -> FmtOctal<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Octal.html" title="trait core::fmt::Octal">Octal</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>Octal</code> implementation when <code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_pointer" class="method trait-impl"><a href="#method.fmt_pointer" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_pointer</a>(self) -> FmtPointer<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Pointer.html" title="trait core::fmt::Pointer">Pointer</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>Pointer</code> implementation when
|
||
<code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_upper_exp" class="method trait-impl"><a href="#method.fmt_upper_exp" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_upper_exp</a>(self) -> FmtUpperExp<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.UpperExp.html" title="trait core::fmt::UpperExp">UpperExp</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>UpperExp</code> implementation when
|
||
<code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_upper_hex" class="method trait-impl"><a href="#method.fmt_upper_hex" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_upper_hex</a>(self) -> FmtUpperHex<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.UpperHex.html" title="trait core::fmt::UpperHex">UpperHex</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>UpperHex</code> implementation when
|
||
<code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_list" class="method trait-impl"><a href="#method.fmt_list" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_list</a>(self) -> FmtList<Self><div class="where">where
|
||
&'a Self: for<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>,</div></h4></section></summary><div class='docblock'>Formats each item in a sequence. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#785">Source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#788">Source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromRef%3CT%3E-for-T" class="impl"><a href="#impl-FromRef%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> FromRef<T> for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from_ref" class="method trait-impl"><a href="#method.from_ref" class="anchor">§</a><h4 class="code-header">fn <a class="fn">from_ref</a>(input: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&T</a>) -> T</h4></section></summary><div class='docblock'>Converts to this type from a reference to the input type.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FutureExt-for-T" class="impl"><a href="#impl-FutureExt-for-T" class="anchor">§</a><h3 class="code-header">impl<T> FutureExt for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.with_context" class="method trait-impl"><a href="#method.with_context" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_context</a>(self, otel_cx: Context) -> WithContext<Self></h4></section></summary><div class='docblock'>Attaches the provided <a href="Context"><code>Context</code></a> to this type, returning a <code>WithContext</code>
|
||
wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_context" class="method trait-impl"><a href="#method.with_current_context" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_current_context</a>(self) -> WithContext<Self></h4></section></summary><div class='docblock'>Attaches the current <a href="Context"><code>Context</code></a> to this type, returning a <code>WithContext</code>
|
||
wrapper. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Instrument-for-T" class="impl"><a href="#impl-Instrument-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Instrument for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.instrument" class="method trait-impl"><a href="#method.instrument" class="anchor">§</a><h4 class="code-header">fn <a class="fn">instrument</a>(self, span: Span) -> Instrumented<Self></h4></section></summary><div class='docblock'>Instruments this type with the provided [<code>Span</code>], returning an
|
||
<code>Instrumented</code> wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.in_current_span" class="method trait-impl"><a href="#method.in_current_span" class="anchor">§</a><h4 class="code-header">fn <a class="fn">in_current_span</a>(self) -> Instrumented<Self></h4></section></summary><div class='docblock'>Instruments this type with the <a href="super::Span::current()">current</a> <a href="crate::Span"><code>Span</code></a>, returning an
|
||
<code>Instrumented</code> wrapper. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#767-769">Source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#777">Source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -> U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
|
||
<p>That is, this conversion is whatever the implementation of
|
||
<code><a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoEither-for-T" class="impl"><a class="src rightside" href="https://docs.rs/either/1/src/either/into_either.rs.html#64">Source</a><a href="#impl-IntoEither-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html" title="trait either::into_either::IntoEither">IntoEither</a> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_either" class="method trait-impl"><a class="src rightside" href="https://docs.rs/either/1/src/either/into_either.rs.html#29">Source</a><a href="#method.into_either" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either" class="fn">into_either</a>(self, into_left: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -> <a class="enum" href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either">Either</a><Self, Self></h4></section></summary><div class='docblock'>Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Left" title="variant either::Either::Left"><code>Left</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either<Self, Self></code></a>
|
||
if <code>into_left</code> is <code>true</code>.
|
||
Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Right" title="variant either::Either::Right"><code>Right</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either<Self, Self></code></a>
|
||
otherwise. <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.into_either_with" class="method trait-impl"><a class="src rightside" href="https://docs.rs/either/1/src/either/into_either.rs.html#55-57">Source</a><a href="#method.into_either_with" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either_with" class="fn">into_either_with</a><F>(self, into_left: F) -> <a class="enum" href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either">Either</a><Self, Self><div class="where">where
|
||
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&Self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div class='docblock'>Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Left" title="variant either::Either::Left"><code>Left</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either<Self, Self></code></a>
|
||
if <code>into_left(&self)</code> returns <code>true</code>.
|
||
Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Right" title="variant either::Either::Right"><code>Right</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either<Self, Self></code></a>
|
||
otherwise. <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either_with">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoRequest%3CT%3E-for-T" class="impl"><a href="#impl-IntoRequest%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> IntoRequest<T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_request" class="method trait-impl"><a href="#method.into_request" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_request</a>(self) -> Request<T></h4></section></summary><div class='docblock'>Wrap the input message <code>T</code> in a <code>tonic::Request</code></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoRequest%3CT%3E-for-T-1" class="impl"><a href="#impl-IntoRequest%3CT%3E-for-T-1" class="anchor">§</a><h3 class="code-header">impl<T> IntoRequest<T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_request-1" class="method trait-impl"><a href="#method.into_request-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_request</a>(self) -> Request<T></h4></section></summary><div class='docblock'>Wrap the input message <code>T</code> in a <code>tonic::Request</code></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-LayerExt%3CL%3E-for-L" class="impl"><a href="#impl-LayerExt%3CL%3E-for-L" class="anchor">§</a><h3 class="code-header">impl<L> LayerExt<L> for L</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.named_layer" class="method trait-impl"><a href="#method.named_layer" class="anchor">§</a><h4 class="code-header">fn <a class="fn">named_layer</a><S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S><div class="where">where
|
||
L: Layer<S>,</div></h4></section></summary><div class='docblock'>Applies the layer to a service and wraps it in [<code>Layered</code>].</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-LayerExt%3CL%3E-for-L-1" class="impl"><a href="#impl-LayerExt%3CL%3E-for-L-1" class="anchor">§</a><h3 class="code-header">impl<L> LayerExt<L> for L</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.named_layer-1" class="method trait-impl"><a href="#method.named_layer-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">named_layer</a><S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S><div class="where">where
|
||
L: Layer<S>,</div></h4></section></summary><div class='docblock'>Applies the layer to a service and wraps it in [<code>Layered</code>].</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Pipe-for-T" class="impl"><a href="#impl-Pipe-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Pipe for T<div class="where">where
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.pipe" class="method trait-impl"><a href="#method.pipe" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe</a><R>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(Self) -> R) -> R<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Pipes by value. This is generally the method you want to use. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_ref" class="method trait-impl"><a href="#method.pipe_ref" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_ref</a><'a, R>(&'a self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&'a Self) -> R) -> R<div class="where">where
|
||
R: 'a,</div></h4></section></summary><div class='docblock'>Borrows <code>self</code> and passes that borrow into the pipe function. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_ref_mut" class="method trait-impl"><a href="#method.pipe_ref_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_ref_mut</a><'a, R>(&'a mut self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&'a mut Self) -> R) -> R<div class="where">where
|
||
R: 'a,</div></h4></section></summary><div class='docblock'>Mutably borrows <code>self</code> and passes that borrow into the pipe function. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_borrow" class="method trait-impl"><a href="#method.pipe_borrow" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_borrow</a><'a, B, R>(&'a self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a B</a>) -> R) -> R<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><B>,
|
||
B: 'a + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
||
R: 'a,</div></h4></section></summary><div class='docblock'>Borrows <code>self</code>, then passes <code>self.borrow()</code> into the pipe function. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_borrow_mut" class="method trait-impl"><a href="#method.pipe_borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_borrow_mut</a><'a, B, R>(
|
||
&'a mut self,
|
||
func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut B</a>) -> R,
|
||
) -> R<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><B>,
|
||
B: 'a + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
||
R: 'a,</div></h4></section></summary><div class='docblock'>Mutably borrows <code>self</code>, then passes <code>self.borrow_mut()</code> into the pipe
|
||
function. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_as_ref" class="method trait-impl"><a href="#method.pipe_as_ref" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_as_ref</a><'a, U, R>(&'a self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a U</a>) -> R) -> R<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><U>,
|
||
U: 'a + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
||
R: 'a,</div></h4></section></summary><div class='docblock'>Borrows <code>self</code>, then passes <code>self.as_ref()</code> into the pipe function.</div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_as_mut" class="method trait-impl"><a href="#method.pipe_as_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_as_mut</a><'a, U, R>(&'a mut self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut U</a>) -> R) -> R<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a><U>,
|
||
U: 'a + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
||
R: 'a,</div></h4></section></summary><div class='docblock'>Mutably borrows <code>self</code>, then passes <code>self.as_mut()</code> into the pipe
|
||
function.</div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_deref" class="method trait-impl"><a href="#method.pipe_deref" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_deref</a><'a, T, R>(&'a self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>) -> R) -> R<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a><Target = T>,
|
||
T: 'a + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
||
R: 'a,</div></h4></section></summary><div class='docblock'>Borrows <code>self</code>, then passes <code>self.deref()</code> into the pipe function.</div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_deref_mut" class="method trait-impl"><a href="#method.pipe_deref_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_deref_mut</a><'a, T, R>(
|
||
&'a mut self,
|
||
func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut T</a>) -> R,
|
||
) -> R<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a><Target = T> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>,
|
||
T: 'a + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
||
R: 'a,</div></h4></section></summary><div class='docblock'>Mutably borrows <code>self</code>, then passes <code>self.deref_mut()</code> into the pipe
|
||
function.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-PolicyExt-for-T" class="impl"><a href="#impl-PolicyExt-for-T" class="anchor">§</a><h3 class="code-header">impl<T> PolicyExt for T<div class="where">where
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.and" class="method trait-impl"><a href="#method.and" class="anchor">§</a><h4 class="code-header">fn <a class="fn">and</a><P, B, E>(self, other: P) -> And<T, P><div class="where">where
|
||
T: Policy<B, E>,
|
||
P: Policy<B, E>,</div></h4></section></summary><div class='docblock'>Create a new <code>Policy</code> that returns [<code>Action::Follow</code>] only if <code>self</code> and <code>other</code> return
|
||
<code>Action::Follow</code>. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.or" class="method trait-impl"><a href="#method.or" class="anchor">§</a><h4 class="code-header">fn <a class="fn">or</a><P, B, E>(self, other: P) -> Or<T, P><div class="where">where
|
||
T: Policy<B, E>,
|
||
P: Policy<B, E>,</div></h4></section></summary><div class='docblock'>Create a new <code>Policy</code> that returns [<code>Action::Follow</code>] if either <code>self</code> or <code>other</code> returns
|
||
<code>Action::Follow</code>. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Same-for-T" class="impl"><a class="src rightside" href="https://docs.rs/typenum/1.18.0/src/typenum/type_operators.rs.html#34">Source</a><a href="#impl-Same-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/typenum/1.18.0/typenum/type_operators/trait.Same.html" title="trait typenum::type_operators::Same">Same</a> for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/typenum/1.18.0/src/typenum/type_operators.rs.html#35">Source</a><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a href="https://docs.rs/typenum/1.18.0/typenum/type_operators/trait.Same.html#associatedtype.Output" class="associatedtype">Output</a> = T</h4></section></summary><div class='docblock'>Should always be <code>Self</code></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ServiceExt-for-T" class="impl"><a href="#impl-ServiceExt-for-T" class="anchor">§</a><h3 class="code-header">impl<T> ServiceExt for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.propagate_header" class="method trait-impl"><a href="#method.propagate_header" class="anchor">§</a><h4 class="code-header">fn <a class="fn">propagate_header</a>(self, header: HeaderName) -> PropagateHeader<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Propagate a header from the request to the response. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.add_extension" class="method trait-impl"><a href="#method.add_extension" class="anchor">§</a><h4 class="code-header">fn <a class="fn">add_extension</a><T>(self, value: T) -> AddExtension<Self, T><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Add some shareable value to <a href="https://docs.rs/http/latest/http/struct.Extensions.html">request extensions</a>. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.map_request_body" class="method trait-impl"><a href="#method.map_request_body" class="anchor">§</a><h4 class="code-header">fn <a class="fn">map_request_body</a><F>(self, f: F) -> MapRequestBody<Self, F><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Apply a transformation to the request body. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.map_response_body" class="method trait-impl"><a href="#method.map_response_body" class="anchor">§</a><h4 class="code-header">fn <a class="fn">map_response_body</a><F>(self, f: F) -> MapResponseBody<Self, F><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Apply a transformation to the response body. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.compression" class="method trait-impl"><a href="#method.compression" class="anchor">§</a><h4 class="code-header">fn <a class="fn">compression</a>(self) -> Compression<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Compresses response bodies. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.decompression" class="method trait-impl"><a href="#method.decompression" class="anchor">§</a><h4 class="code-header">fn <a class="fn">decompression</a>(self) -> Decompression<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Decompress response bodies. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.trace_for_http" class="method trait-impl"><a href="#method.trace_for_http" class="anchor">§</a><h4 class="code-header">fn <a class="fn">trace_for_http</a>(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>High level tracing that classifies responses using HTTP status codes. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.trace_for_grpc" class="method trait-impl"><a href="#method.trace_for_grpc" class="anchor">§</a><h4 class="code-header">fn <a class="fn">trace_for_grpc</a>(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>High level tracing that classifies responses using gRPC headers. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.follow_redirects" class="method trait-impl"><a href="#method.follow_redirects" class="anchor">§</a><h4 class="code-header">fn <a class="fn">follow_redirects</a>(self) -> FollowRedirect<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Follow redirect resposes using the <a href="crate::follow_redirect::policy::Standard"><code>Standard</code></a> policy. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.sensitive_headers" class="method trait-impl"><a href="#method.sensitive_headers" class="anchor">§</a><h4 class="code-header">fn <a class="fn">sensitive_headers</a>(
|
||
self,
|
||
headers: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a><Item = HeaderName>,
|
||
) -> SetSensitiveRequestHeaders<SetSensitiveResponseHeaders<Self>><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Mark headers as <a href="https://docs.rs/http/latest/http/header/struct.HeaderValue.html#method.set_sensitive">sensitive</a> on both requests and responses. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.sensitive_request_headers" class="method trait-impl"><a href="#method.sensitive_request_headers" class="anchor">§</a><h4 class="code-header">fn <a class="fn">sensitive_request_headers</a>(
|
||
self,
|
||
headers: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a><Item = HeaderName>,
|
||
) -> SetSensitiveRequestHeaders<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Mark headers as <a href="https://docs.rs/http/latest/http/header/struct.HeaderValue.html#method.set_sensitive">sensitive</a> on requests. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.sensitive_response_headers" class="method trait-impl"><a href="#method.sensitive_response_headers" class="anchor">§</a><h4 class="code-header">fn <a class="fn">sensitive_response_headers</a>(
|
||
self,
|
||
headers: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a><Item = HeaderName>,
|
||
) -> SetSensitiveResponseHeaders<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Mark headers as <a href="https://docs.rs/http/latest/http/header/struct.HeaderValue.html#method.set_sensitive">sensitive</a> on responses. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.override_request_header" class="method trait-impl"><a href="#method.override_request_header" class="anchor">§</a><h4 class="code-header">fn <a class="fn">override_request_header</a><M>(
|
||
self,
|
||
header_name: HeaderName,
|
||
make: M,
|
||
) -> SetRequestHeader<Self, M><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Insert a header into the request. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.append_request_header" class="method trait-impl"><a href="#method.append_request_header" class="anchor">§</a><h4 class="code-header">fn <a class="fn">append_request_header</a><M>(
|
||
self,
|
||
header_name: HeaderName,
|
||
make: M,
|
||
) -> SetRequestHeader<Self, M><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Append a header into the request. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.insert_request_header_if_not_present" class="method trait-impl"><a href="#method.insert_request_header_if_not_present" class="anchor">§</a><h4 class="code-header">fn <a class="fn">insert_request_header_if_not_present</a><M>(
|
||
self,
|
||
header_name: HeaderName,
|
||
make: M,
|
||
) -> SetRequestHeader<Self, M><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Insert a header into the request, if the header is not already present. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.override_response_header" class="method trait-impl"><a href="#method.override_response_header" class="anchor">§</a><h4 class="code-header">fn <a class="fn">override_response_header</a><M>(
|
||
self,
|
||
header_name: HeaderName,
|
||
make: M,
|
||
) -> SetResponseHeader<Self, M><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Insert a header into the response. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.append_response_header" class="method trait-impl"><a href="#method.append_response_header" class="anchor">§</a><h4 class="code-header">fn <a class="fn">append_response_header</a><M>(
|
||
self,
|
||
header_name: HeaderName,
|
||
make: M,
|
||
) -> SetResponseHeader<Self, M><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Append a header into the response. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.insert_response_header_if_not_present" class="method trait-impl"><a href="#method.insert_response_header_if_not_present" class="anchor">§</a><h4 class="code-header">fn <a class="fn">insert_response_header_if_not_present</a><M>(
|
||
self,
|
||
header_name: HeaderName,
|
||
make: M,
|
||
) -> SetResponseHeader<Self, M><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Insert a header into the response, if the header is not already present. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.set_request_id" class="method trait-impl"><a href="#method.set_request_id" class="anchor">§</a><h4 class="code-header">fn <a class="fn">set_request_id</a><M>(
|
||
self,
|
||
header_name: HeaderName,
|
||
make_request_id: M,
|
||
) -> SetRequestId<Self, M><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
||
M: MakeRequestId,</div></h4></section></summary><div class='docblock'>Add request id header and extension. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.set_x_request_id" class="method trait-impl"><a href="#method.set_x_request_id" class="anchor">§</a><h4 class="code-header">fn <a class="fn">set_x_request_id</a><M>(self, make_request_id: M) -> SetRequestId<Self, M><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
||
M: MakeRequestId,</div></h4></section></summary><div class='docblock'>Add request id header and extension, using <code>x-request-id</code> as the header name. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.propagate_request_id" class="method trait-impl"><a href="#method.propagate_request_id" class="anchor">§</a><h4 class="code-header">fn <a class="fn">propagate_request_id</a>(
|
||
self,
|
||
header_name: HeaderName,
|
||
) -> PropagateRequestId<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Propgate request ids from requests to responses. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.propagate_x_request_id" class="method trait-impl"><a href="#method.propagate_x_request_id" class="anchor">§</a><h4 class="code-header">fn <a class="fn">propagate_x_request_id</a>(self) -> PropagateRequestId<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Propgate request ids from requests to responses, using <code>x-request-id</code> as the header name. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.catch_panic" class="method trait-impl"><a href="#method.catch_panic" class="anchor">§</a><h4 class="code-header">fn <a class="fn">catch_panic</a>(self) -> CatchPanic<Self, DefaultResponseForPanic><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Catch panics and convert them into <code>500 Internal Server</code> responses. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.request_body_limit" class="method trait-impl"><a href="#method.request_body_limit" class="anchor">§</a><h4 class="code-header">fn <a class="fn">request_body_limit</a>(self, limit: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> RequestBodyLimit<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Intercept requests with over-sized payloads and convert them into
|
||
<code>413 Payload Too Large</code> responses. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.trim_trailing_slash" class="method trait-impl"><a href="#method.trim_trailing_slash" class="anchor">§</a><h4 class="code-header">fn <a class="fn">trim_trailing_slash</a>(self) -> NormalizePath<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Remove trailing slashes from paths. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.append_trailing_slash" class="method trait-impl"><a href="#method.append_trailing_slash" class="anchor">§</a><h4 class="code-header">fn <a class="fn">append_trailing_slash</a>(self) -> NormalizePath<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Append trailing slash to paths. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Tap-for-T" class="impl"><a href="#impl-Tap-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Tap for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.tap" class="method trait-impl"><a href="#method.tap" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap</a>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&Self)) -> Self</h4></section></summary><div class='docblock'>Immutable access to a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_mut" class="method trait-impl"><a href="#method.tap_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_mut</a>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&mut Self)) -> Self</h4></section></summary><div class='docblock'>Mutable access to a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_borrow" class="method trait-impl"><a href="#method.tap_borrow" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_borrow</a><B>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&B</a>)) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><B>,
|
||
B: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Immutable access to the <code>Borrow<B></code> of a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_borrow_mut" class="method trait-impl"><a href="#method.tap_borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_borrow_mut</a><B>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut B</a>)) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><B>,
|
||
B: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Mutable access to the <code>BorrowMut<B></code> of a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_ref" class="method trait-impl"><a href="#method.tap_ref" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_ref</a><R>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&R</a>)) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><R>,
|
||
R: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Immutable access to the <code>AsRef<R></code> view of a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_ref_mut" class="method trait-impl"><a href="#method.tap_ref_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_ref_mut</a><R>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut R</a>)) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a><R>,
|
||
R: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Mutable access to the <code>AsMut<R></code> view of a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_deref" class="method trait-impl"><a href="#method.tap_deref" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_deref</a><T>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&T</a>)) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a><Target = T>,
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Immutable access to the <code>Deref::Target</code> of a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_deref_mut" class="method trait-impl"><a href="#method.tap_deref_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_deref_mut</a><T>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut T</a>)) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a><Target = T> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>,
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Mutable access to the <code>Deref::Target</code> of a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_dbg" class="method trait-impl"><a href="#method.tap_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_dbg</a>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&Self)) -> Self</h4></section></summary><div class='docblock'>Calls <code>.tap()</code> only in debug builds, and is erased in release builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_mut_dbg" class="method trait-impl"><a href="#method.tap_mut_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_mut_dbg</a>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&mut Self)) -> Self</h4></section></summary><div class='docblock'>Calls <code>.tap_mut()</code> only in debug builds, and is erased in release
|
||
builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_borrow_dbg" class="method trait-impl"><a href="#method.tap_borrow_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_borrow_dbg</a><B>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&B</a>)) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><B>,
|
||
B: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Calls <code>.tap_borrow()</code> only in debug builds, and is erased in release
|
||
builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_borrow_mut_dbg" class="method trait-impl"><a href="#method.tap_borrow_mut_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_borrow_mut_dbg</a><B>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut B</a>)) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><B>,
|
||
B: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Calls <code>.tap_borrow_mut()</code> only in debug builds, and is erased in release
|
||
builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_ref_dbg" class="method trait-impl"><a href="#method.tap_ref_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_ref_dbg</a><R>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&R</a>)) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><R>,
|
||
R: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Calls <code>.tap_ref()</code> only in debug builds, and is erased in release
|
||
builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_ref_mut_dbg" class="method trait-impl"><a href="#method.tap_ref_mut_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_ref_mut_dbg</a><R>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut R</a>)) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a><R>,
|
||
R: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Calls <code>.tap_ref_mut()</code> only in debug builds, and is erased in release
|
||
builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_deref_dbg" class="method trait-impl"><a href="#method.tap_deref_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_deref_dbg</a><T>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&T</a>)) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a><Target = T>,
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Calls <code>.tap_deref()</code> only in debug builds, and is erased in release
|
||
builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_deref_mut_dbg" class="method trait-impl"><a href="#method.tap_deref_mut_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_deref_mut_dbg</a><T>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut T</a>)) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a><Target = T> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>,
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Calls <code>.tap_deref_mut()</code> only in debug builds, and is erased in release
|
||
builds.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToOwned-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#72-74">Source</a><a href="#impl-ToOwned-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Owned" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#76">Source</a><a href="#associatedtype.Owned" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" class="associatedtype">Owned</a> = T</h4></section></summary><div class='docblock'>The resulting type after obtaining ownership.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_owned" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#77">Source</a><a href="#method.to_owned" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fn">to_owned</a>(&self) -> T</h4></section></summary><div class='docblock'>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81">Source</a><a href="#method.clone_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fn">clone_into</a>(&self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut T</a>)</h4></section></summary><div class='docblock'>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryConv-for-T" class="impl"><a href="#impl-TryConv-for-T" class="anchor">§</a><h3 class="code-header">impl<T> TryConv for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.try_conv" class="method trait-impl"><a href="#method.try_conv" class="anchor">§</a><h4 class="code-header">fn <a class="fn">try_conv</a><T>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error" title="type core::convert::TryInto::Error">Error</a>><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><T>,</div></h4></section></summary><div class='docblock'>Attempts to convert <code>self</code> into <code>T</code> using <code>TryInto<T></code>. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#827-829">Source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#831">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#834">Source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#811-813">Source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#815">Source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#818">Source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-VZip%3CV%3E-for-T" class="impl"><a href="#impl-VZip%3CV%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<V, T> VZip<V> for T<div class="where">where
|
||
V: MultiLane<T>,</div></h3></section></summary><div class="impl-items"><section id="method.vzip" class="method trait-impl"><a href="#method.vzip" class="anchor">§</a><h4 class="code-header">fn <a class="fn">vzip</a>(self) -> V</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithSubscriber-for-T" class="impl"><a href="#impl-WithSubscriber-for-T" class="anchor">§</a><h3 class="code-header">impl<T> WithSubscriber for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.with_subscriber" class="method trait-impl"><a href="#method.with_subscriber" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_subscriber</a><S>(self, subscriber: S) -> WithDispatch<Self><div class="where">where
|
||
S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><Dispatch>,</div></h4></section></summary><div class='docblock'>Attaches the provided <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
||
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber" class="method trait-impl"><a href="#method.with_current_subscriber" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_current_subscriber</a>(self) -> WithDispatch<Self></h4></section></summary><div class='docblock'>Attaches the current <a href="crate::dispatcher#setting-the-default-subscriber">default</a> <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
||
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details></div></details><section id="impl-Allocation-for-T" class="impl"><a href="#impl-Allocation-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Allocation for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</div></h3></section><section id="impl-Any-for-T-1" class="impl"><a href="#impl-Any-for-T-1" class="anchor">§</a><h3 class="code-header">impl<T> Any for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a>,</div></h3></section><section id="impl-CloneAny-for-T" class="impl"><a href="#impl-CloneAny-for-T" class="anchor">§</a><h3 class="code-header">impl<T> CloneAny for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section><section id="impl-CloneAnySend-for-T" class="impl"><a href="#impl-CloneAnySend-for-T" class="anchor">§</a><h3 class="code-header">impl<T> CloneAnySend for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section><section id="impl-CloneAnySendSync-for-T" class="impl"><a href="#impl-CloneAnySendSync-for-T" class="anchor">§</a><h3 class="code-header">impl<T> CloneAnySendSync for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section><section id="impl-CloneAnySync-for-T" class="impl"><a href="#impl-CloneAnySync-for-T" class="anchor">§</a><h3 class="code-header">impl<T> CloneAnySync for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section><section id="impl-DeserializeOwned-for-T" class="impl"><a class="src rightside" href="https://docs.rs/serde_core/1.0.228/src/serde_core/de/mod.rs.html#633">Source</a><a href="#impl-DeserializeOwned-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/serde_core/1.0.228/serde_core/de/trait.DeserializeOwned.html" title="trait serde_core::de::DeserializeOwned">DeserializeOwned</a> for T<div class="where">where
|
||
T: for<'de> <a class="trait" href="https://docs.rs/serde_core/1.0.228/serde_core/de/trait.Deserialize.html" title="trait serde_core::de::Deserialize">Deserialize</a><'de>,</div></h3></section><section id="impl-ErasedDestructor-for-T" class="impl"><a href="#impl-ErasedDestructor-for-T" class="anchor">§</a><h3 class="code-header">impl<T> ErasedDestructor for T<div class="where">where
|
||
T: 'static,</div></h3></section><section id="impl-MaybeSend-for-T" class="impl"><a href="#impl-MaybeSend-for-T" class="anchor">§</a><h3 class="code-header">impl<T> MaybeSend for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section><section id="impl-MaybeSend-for-T-1" class="impl"><a href="#impl-MaybeSend-for-T-1" class="anchor">§</a><h3 class="code-header">impl<T> MaybeSend for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section><section id="impl-NodeTrait-for-N" class="impl"><a class="src rightside" href="https://docs.rs/petgraph/0.4/src/petgraph/graphmap.rs.html#86">Source</a><a href="#impl-NodeTrait-for-N" class="anchor">§</a><h3 class="code-header">impl<N> <a class="trait" href="https://docs.rs/petgraph/0.4/petgraph/graphmap/trait.NodeTrait.html" title="trait petgraph::graphmap::NodeTrait">NodeTrait</a> for N<div class="where">where
|
||
N: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a>,</div></h3></section><section id="impl-NodeTrait-for-N-1" class="impl"><a class="src rightside" href="https://docs.rs/petgraph/0.4/src/petgraph/graphmap.rs.html#100">Source</a><a href="#impl-NodeTrait-for-N-1" class="anchor">§</a><h3 class="code-header">impl<N> <a class="trait" href="https://docs.rs/petgraph/0.4/petgraph/graphmap/trait.NodeTrait.html" title="trait petgraph::graphmap::NodeTrait">NodeTrait</a> for N<div class="where">where
|
||
N: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a>,</div></h3></section><section id="impl-RuleType-for-T" class="impl"><a class="src rightside" href="https://docs.rs/pest/src/pest/lib.rs.html#386">Source</a><a href="#impl-RuleType-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/pest/pest/trait.RuleType.html" title="trait pest::RuleType">RuleType</a> for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>,</div></h3></section></div></section></div></main></body></html> |