difftastic/rustdoc/serde_json/struct.Number.html

291 lines
149 KiB
HTML

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!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="Represents a JSON number, whether integer or floating point."><title>Number in serde_json - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="serde_json" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../serde_json/index.html">serde_json</a><span class="version">1.0.145</span></h2></div><h2 class="location"><a href="#">Number</a></h2><div class="sidebar-elems"><section><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.as_f64">as_f64</a></li><li><a href="#method.as_i128">as_i128</a></li><li><a href="#method.as_i64">as_i64</a></li><li><a href="#method.as_u128">as_u128</a></li><li><a href="#method.as_u64">as_u64</a></li><li><a href="#method.from_f64">from_f64</a></li><li><a href="#method.from_i128">from_i128</a></li><li><a href="#method.from_u128">from_u128</a></li><li><a href="#method.is_f64">is_f64</a></li><li><a href="#method.is_i64">is_i64</a></li><li><a href="#method.is_u64">is_u64</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Clone-for-Number">Clone</a></li><li><a href="#impl-Debug-for-Number">Debug</a></li><li><a href="#impl-Deserialize%3C'de%3E-for-Number">Deserialize&lt;&#x27;de&gt;</a></li><li><a href="#impl-Deserializer%3C'de%3E-for-%26Number">Deserializer&lt;&#x27;de&gt;</a></li><li><a href="#impl-Deserializer%3C'de%3E-for-Number">Deserializer&lt;&#x27;de&gt;</a></li><li><a href="#impl-Display-for-Number">Display</a></li><li><a href="#impl-Eq-for-Number">Eq</a></li><li><a href="#impl-From%3CNumber%3E-for-Value">From&lt;Number&gt;</a></li><li><a href="#impl-From%3Ci16%3E-for-Number">From&lt;i16&gt;</a></li><li><a href="#impl-From%3Ci32%3E-for-Number">From&lt;i32&gt;</a></li><li><a href="#impl-From%3Ci64%3E-for-Number">From&lt;i64&gt;</a></li><li><a href="#impl-From%3Ci8%3E-for-Number">From&lt;i8&gt;</a></li><li><a href="#impl-From%3Cisize%3E-for-Number">From&lt;isize&gt;</a></li><li><a href="#impl-From%3Cu16%3E-for-Number">From&lt;u16&gt;</a></li><li><a href="#impl-From%3Cu32%3E-for-Number">From&lt;u32&gt;</a></li><li><a href="#impl-From%3Cu64%3E-for-Number">From&lt;u64&gt;</a></li><li><a href="#impl-From%3Cu8%3E-for-Number">From&lt;u8&gt;</a></li><li><a href="#impl-From%3Cusize%3E-for-Number">From&lt;usize&gt;</a></li><li><a href="#impl-FromStr-for-Number">FromStr</a></li><li><a href="#impl-Hash-for-Number">Hash</a></li><li><a href="#impl-PartialEq-for-Number">PartialEq</a></li><li><a href="#impl-Serialize-for-Number">Serialize</a></li><li><a href="#impl-StructuralEq-for-Number">StructuralEq</a></li><li><a href="#impl-StructuralPartialEq-for-Number">StructuralPartialEq</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-RefUnwindSafe-for-Number">RefUnwindSafe</a></li><li><a href="#impl-Send-for-Number">Send</a></li><li><a href="#impl-Sync-for-Number">Sync</a></li><li><a href="#impl-Unpin-for-Number">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Number">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-DeserializeOwned-for-T">DeserializeOwned</a></li><li><a href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a href="#impl-ToOwned-for-T">ToOwned</a></li><li><a href="#impl-ToString-for-T">ToString</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a href="index.html">In crate serde_json</a></h2></div></nav><div class="sidebar-resizer"></div>
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../serde_json/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="index.html">serde_json</a>::<wbr><a class="struct" href="#">Number</a><button id="copy-path" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../src/serde_json/number.rs.html#22-24">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct Number { <span class="comment">/* private fields */</span> }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Represents a JSON number, whether integer or floating point.</p>
</div></details><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Number" class="impl"><a class="src rightside" href="../src/serde_json/number.rs.html#75-345">source</a><a href="#impl-Number" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.is_i64" class="method"><a class="src rightside" href="../src/serde_json/number.rs.html#81-90">source</a><h4 class="code-header">pub fn <a href="#method.is_i64" class="fn">is_i64</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns true if the <code>Number</code> is an integer between <code>i64::MIN</code> and
<code>i64::MAX</code>.</p>
<p>For any Number on which <code>is_i64</code> returns true, <code>as_i64</code> is guaranteed to
return the integer value.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_u64" class="method"><a class="src rightside" href="../src/serde_json/number.rs.html#96-104">source</a><h4 class="code-header">pub fn <a href="#method.is_u64" class="fn">is_u64</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns true if the <code>Number</code> is an integer between zero and <code>u64::MAX</code>.</p>
<p>For any Number on which <code>is_u64</code> returns true, <code>as_u64</code> is guaranteed to
return the integer value.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_f64" class="method"><a class="src rightside" href="../src/serde_json/number.rs.html#113-128">source</a><h4 class="code-header">pub fn <a href="#method.is_f64" class="fn">is_f64</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns true if the <code>Number</code> can be represented by f64.</p>
<p>For any Number on which <code>is_f64</code> returns true, <code>as_f64</code> is guaranteed to
return the floating point value.</p>
<p>Currently this function returns true if and only if both <code>is_i64</code> and
<code>is_u64</code> return false but this is not a guarantee in the future.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.as_i64" class="method"><a class="src rightside" href="../src/serde_json/number.rs.html#132-147">source</a><h4 class="code-header">pub fn <a href="#method.as_i64" class="fn">as_i64</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i64.html">i64</a>&gt;</h4></section></summary><div class="docblock"><p>If the <code>Number</code> is an integer, represent it as i64 if possible. Returns
None otherwise.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.as_u64" class="method"><a class="src rightside" href="../src/serde_json/number.rs.html#151-159">source</a><h4 class="code-header">pub fn <a href="#method.as_u64" class="fn">as_u64</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a>&gt;</h4></section></summary><div class="docblock"><p>If the <code>Number</code> is an integer, represent it as u64 if possible. Returns
None otherwise.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.as_f64" class="method"><a class="src rightside" href="../src/serde_json/number.rs.html#162-171">source</a><h4 class="code-header">pub fn <a href="#method.as_f64" class="fn">as_f64</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.f64.html">f64</a>&gt;</h4></section></summary><div class="docblock"><p>Represents the number as f64 if possible. Returns None otherwise.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_f64" class="method"><a class="src rightside" href="../src/serde_json/number.rs.html#183-199">source</a><h4 class="code-header">pub fn <a href="#method.from_f64" class="fn">from_f64</a>(f: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.f64.html">f64</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a>&gt;</h4></section></summary><div class="docblock"><p>Converts a finite <code>f64</code> to a <code>Number</code>. Infinite or NaN values are not JSON
numbers.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert!</span>(Number::from_f64(<span class="number">256.0</span>).is_some());
<span class="macro">assert!</span>(Number::from_f64(f64::NAN).is_none());</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.as_i128" class="method"><a class="src rightside" href="../src/serde_json/number.rs.html#203-212">source</a><h4 class="code-header">pub fn <a href="#method.as_i128" class="fn">as_i128</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i128.html">i128</a>&gt;</h4></section></summary><div class="docblock"><p>If the <code>Number</code> is an integer, represent it as i128 if possible. Returns
None otherwise.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.as_u128" class="method"><a class="src rightside" href="../src/serde_json/number.rs.html#216-224">source</a><h4 class="code-header">pub fn <a href="#method.as_u128" class="fn">as_u128</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u128.html">u128</a>&gt;</h4></section></summary><div class="docblock"><p>If the <code>Number</code> is an integer, represent it as u128 if possible. Returns
None otherwise.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_i128" class="method"><a class="src rightside" href="../src/serde_json/number.rs.html#235-253">source</a><h4 class="code-header">pub fn <a href="#method.from_i128" class="fn">from_i128</a>(i: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i128.html">i128</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a>&gt;</h4></section></summary><div class="docblock"><p>Converts an <code>i128</code> to a <code>Number</code>. Numbers smaller than i64::MIN or
larger than u64::MAX can only be represented in <code>Number</code> if serde_jsons
“arbitrary_precision” feature is enabled.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert!</span>(Number::from_i128(<span class="number">256</span>).is_some());</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_u128" class="method"><a class="src rightside" href="../src/serde_json/number.rs.html#264-280">source</a><h4 class="code-header">pub fn <a href="#method.from_u128" class="fn">from_u128</a>(i: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u128.html">u128</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a>&gt;</h4></section></summary><div class="docblock"><p>Converts a <code>u128</code> to a <code>Number</code>. Numbers greater than u64::MAX can only
be represented in <code>Number</code> if serde_jsons “arbitrary_precision” feature
is enabled.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert!</span>(Number::from_u128(<span class="number">256</span>).is_some());</code></pre></div>
</div></details></div></details></div><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-Number" class="impl"><a class="src rightside" href="../src/serde_json/number.rs.html#21">source</a><a href="#impl-Clone-for-Number" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#21">source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&amp;self) -&gt; <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.76.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.76.0/src/core/clone.rs.html#169">source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.76.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-Number" class="impl"><a class="src rightside" href="../src/serde_json/number.rs.html#363-367">source</a><a href="#impl-Debug-for-Number" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#364-366">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&amp;self, formatter: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.76.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C'de%3E-for-Number" class="impl"><a class="src rightside" href="../src/serde_json/number.rs.html#395-457">source</a><a href="#impl-Deserialize%3C'de%3E-for-Number" class="anchor">§</a><h3 class="code-header">impl&lt;'de&gt; <a class="trait" href="../serde_core/de/trait.Deserialize.html" title="trait serde_core::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#397-456">source</a><a href="#method.deserialize" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserialize.html#tymethod.deserialize" class="fn">deserialize</a>&lt;D&gt;(deserializer: D) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a>, D::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
D: <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href="../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-Deserializer%3C'de%3E-for-%26Number" class="impl"><a class="src rightside" href="../src/serde_json/number.rs.html#624-647">source</a><a href="#impl-Deserializer%3C'de%3E-for-%26Number" class="anchor">§</a><h3 class="code-header">impl&lt;'de&gt; <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt; for &amp;<a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a></h4></section></summary><div class='docblock'>The error type that can be returned if some error occurs during
deserialization.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_any-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#627">source</a><a href="#method.deserialize_any-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_any" class="fn">deserialize_any</a>&lt;V&gt;(self, visitor: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Require the <code>Deserializer</code> to figure out how to drive the visitor based
on what data type is in the input. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_any">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_i8-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#629">source</a><a href="#method.deserialize_i8-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_i8" class="fn">deserialize_i8</a>&lt;V&gt;(self, visitor: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting an <code>i8</code> value.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_i16-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#630">source</a><a href="#method.deserialize_i16-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_i16" class="fn">deserialize_i16</a>&lt;V&gt;(self, visitor: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting an <code>i16</code> value.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_i32-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#631">source</a><a href="#method.deserialize_i32-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_i32" class="fn">deserialize_i32</a>&lt;V&gt;(self, visitor: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting an <code>i32</code> value.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_i64-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#632">source</a><a href="#method.deserialize_i64-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_i64" class="fn">deserialize_i64</a>&lt;V&gt;(self, visitor: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting an <code>i64</code> value.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_i128-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#633">source</a><a href="#method.deserialize_i128-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#method.deserialize_i128" class="fn">deserialize_i128</a>&lt;V&gt;(self, visitor: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting an <code>i128</code> value. <a href="../serde_core/de/trait.Deserializer.html#method.deserialize_i128">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_u8-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#634">source</a><a href="#method.deserialize_u8-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_u8" class="fn">deserialize_u8</a>&lt;V&gt;(self, visitor: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a <code>u8</code> value.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_u16-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#635">source</a><a href="#method.deserialize_u16-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_u16" class="fn">deserialize_u16</a>&lt;V&gt;(self, visitor: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a <code>u16</code> value.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_u32-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#636">source</a><a href="#method.deserialize_u32-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_u32" class="fn">deserialize_u32</a>&lt;V&gt;(self, visitor: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a <code>u32</code> value.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_u64-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#637">source</a><a href="#method.deserialize_u64-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_u64" class="fn">deserialize_u64</a>&lt;V&gt;(self, visitor: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a <code>u64</code> value.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_u128-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#638">source</a><a href="#method.deserialize_u128-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#method.deserialize_u128" class="fn">deserialize_u128</a>&lt;V&gt;(self, visitor: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting an <code>u128</code> value. <a href="../serde_core/de/trait.Deserializer.html#method.deserialize_u128">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_f32-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#639">source</a><a href="#method.deserialize_f32-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_f32" class="fn">deserialize_f32</a>&lt;V&gt;(self, visitor: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a <code>f32</code> value.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_f64-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#640">source</a><a href="#method.deserialize_f64-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_f64" class="fn">deserialize_f64</a>&lt;V&gt;(self, visitor: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a <code>f64</code> value.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_bool-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#642-646">source</a><a href="#method.deserialize_bool-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_bool" class="fn">deserialize_bool</a>&lt;V&gt;(
self,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a <code>bool</code> value.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_char-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#642-646">source</a><a href="#method.deserialize_char-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_char" class="fn">deserialize_char</a>&lt;V&gt;(
self,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a <code>char</code> value.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_str-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#642-646">source</a><a href="#method.deserialize_str-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_str" class="fn">deserialize_str</a>&lt;V&gt;(
self,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a string value and does
not benefit from taking ownership of buffered data owned by the
<code>Deserializer</code>. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_str">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_string-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#642-646">source</a><a href="#method.deserialize_string-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_string" class="fn">deserialize_string</a>&lt;V&gt;(
self,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a string value and would
benefit from taking ownership of buffered data owned by the
<code>Deserializer</code>. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_string">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_bytes-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#642-646">source</a><a href="#method.deserialize_bytes-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_bytes" class="fn">deserialize_bytes</a>&lt;V&gt;(
self,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a byte array and does not
benefit from taking ownership of buffered data owned by the
<code>Deserializer</code>. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_bytes">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_byte_buf-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#642-646">source</a><a href="#method.deserialize_byte_buf-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_byte_buf" class="fn">deserialize_byte_buf</a>&lt;V&gt;(
self,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a byte array and would
benefit from taking ownership of buffered data owned by the
<code>Deserializer</code>. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_byte_buf">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_option-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#642-646">source</a><a href="#method.deserialize_option-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_option" class="fn">deserialize_option</a>&lt;V&gt;(
self,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting an optional value. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_option">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_unit-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#642-646">source</a><a href="#method.deserialize_unit-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_unit" class="fn">deserialize_unit</a>&lt;V&gt;(
self,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a unit value.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_unit_struct-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#642-646">source</a><a href="#method.deserialize_unit_struct-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_unit_struct" class="fn">deserialize_unit_struct</a>&lt;V&gt;(
self,
name: &amp;'static <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a unit struct with a
particular name.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_newtype_struct-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#642-646">source</a><a href="#method.deserialize_newtype_struct-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_newtype_struct" class="fn">deserialize_newtype_struct</a>&lt;V&gt;(
self,
name: &amp;'static <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a newtype struct with a
particular name.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_seq-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#642-646">source</a><a href="#method.deserialize_seq-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_seq" class="fn">deserialize_seq</a>&lt;V&gt;(
self,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a sequence of values.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_tuple-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#642-646">source</a><a href="#method.deserialize_tuple-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_tuple" class="fn">deserialize_tuple</a>&lt;V&gt;(
self,
len: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a sequence of values and
knows how many values there are without looking at the serialized data.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_tuple_struct-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#642-646">source</a><a href="#method.deserialize_tuple_struct-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_tuple_struct" class="fn">deserialize_tuple_struct</a>&lt;V&gt;(
self,
name: &amp;'static <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>,
len: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a tuple struct with a
particular name and number of fields.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_map-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#642-646">source</a><a href="#method.deserialize_map-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_map" class="fn">deserialize_map</a>&lt;V&gt;(
self,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a map of key-value pairs.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_struct-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#642-646">source</a><a href="#method.deserialize_struct-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_struct" class="fn">deserialize_struct</a>&lt;V&gt;(
self,
name: &amp;'static <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>,
fields: &amp;'static [&amp;'static <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>],
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a struct with a particular
name and fields.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_enum-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#642-646">source</a><a href="#method.deserialize_enum-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_enum" class="fn">deserialize_enum</a>&lt;V&gt;(
self,
name: &amp;'static <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>,
variants: &amp;'static [&amp;'static <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>],
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting an enum value with a
particular name and possible variants.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_identifier-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#642-646">source</a><a href="#method.deserialize_identifier-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_identifier" class="fn">deserialize_identifier</a>&lt;V&gt;(
self,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting the name of a struct
field or the discriminant of an enum variant.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_ignored_any-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#642-646">source</a><a href="#method.deserialize_ignored_any-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_ignored_any" class="fn">deserialize_ignored_any</a>&lt;V&gt;(
self,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type needs to deserialize a value whose type
doesnt matter because it is ignored. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_ignored_any">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_human_readable-1" class="method trait-impl"><a class="src rightside" href="../src/serde_core/de/mod.rs.html#1253">source</a><a href="#method.is_human_readable-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#method.is_human_readable" class="fn">is_human_readable</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Determine whether <code>Deserialize</code> implementations should expect to
deserialize their human-readable form. <a href="../serde_core/de/trait.Deserializer.html#method.is_human_readable">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deserializer%3C'de%3E-for-Number" class="impl"><a class="src rightside" href="../src/serde_json/number.rs.html#599-622">source</a><a href="#impl-Deserializer%3C'de%3E-for-Number" class="anchor">§</a><h3 class="code-header">impl&lt;'de&gt; <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt; for <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a></h4></section></summary><div class='docblock'>The error type that can be returned if some error occurs during
deserialization.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_any" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#602">source</a><a href="#method.deserialize_any" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_any" class="fn">deserialize_any</a>&lt;V&gt;(self, visitor: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Require the <code>Deserializer</code> to figure out how to drive the visitor based
on what data type is in the input. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_any">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_i8" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#604">source</a><a href="#method.deserialize_i8" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_i8" class="fn">deserialize_i8</a>&lt;V&gt;(self, visitor: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting an <code>i8</code> value.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_i16" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#605">source</a><a href="#method.deserialize_i16" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_i16" class="fn">deserialize_i16</a>&lt;V&gt;(self, visitor: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting an <code>i16</code> value.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_i32" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#606">source</a><a href="#method.deserialize_i32" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_i32" class="fn">deserialize_i32</a>&lt;V&gt;(self, visitor: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting an <code>i32</code> value.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_i64" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#607">source</a><a href="#method.deserialize_i64" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_i64" class="fn">deserialize_i64</a>&lt;V&gt;(self, visitor: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting an <code>i64</code> value.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_i128" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#608">source</a><a href="#method.deserialize_i128" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#method.deserialize_i128" class="fn">deserialize_i128</a>&lt;V&gt;(self, visitor: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting an <code>i128</code> value. <a href="../serde_core/de/trait.Deserializer.html#method.deserialize_i128">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_u8" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#609">source</a><a href="#method.deserialize_u8" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_u8" class="fn">deserialize_u8</a>&lt;V&gt;(self, visitor: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a <code>u8</code> value.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_u16" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#610">source</a><a href="#method.deserialize_u16" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_u16" class="fn">deserialize_u16</a>&lt;V&gt;(self, visitor: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a <code>u16</code> value.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_u32" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#611">source</a><a href="#method.deserialize_u32" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_u32" class="fn">deserialize_u32</a>&lt;V&gt;(self, visitor: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a <code>u32</code> value.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_u64" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#612">source</a><a href="#method.deserialize_u64" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_u64" class="fn">deserialize_u64</a>&lt;V&gt;(self, visitor: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a <code>u64</code> value.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_u128" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#613">source</a><a href="#method.deserialize_u128" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#method.deserialize_u128" class="fn">deserialize_u128</a>&lt;V&gt;(self, visitor: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting an <code>u128</code> value. <a href="../serde_core/de/trait.Deserializer.html#method.deserialize_u128">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_f32" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#614">source</a><a href="#method.deserialize_f32" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_f32" class="fn">deserialize_f32</a>&lt;V&gt;(self, visitor: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a <code>f32</code> value.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_f64" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#615">source</a><a href="#method.deserialize_f64" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_f64" class="fn">deserialize_f64</a>&lt;V&gt;(self, visitor: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a <code>f64</code> value.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_bool" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#617-621">source</a><a href="#method.deserialize_bool" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_bool" class="fn">deserialize_bool</a>&lt;V&gt;(
self,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a <code>bool</code> value.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_char" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#617-621">source</a><a href="#method.deserialize_char" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_char" class="fn">deserialize_char</a>&lt;V&gt;(
self,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a <code>char</code> value.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_str" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#617-621">source</a><a href="#method.deserialize_str" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_str" class="fn">deserialize_str</a>&lt;V&gt;(
self,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a string value and does
not benefit from taking ownership of buffered data owned by the
<code>Deserializer</code>. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_str">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_string" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#617-621">source</a><a href="#method.deserialize_string" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_string" class="fn">deserialize_string</a>&lt;V&gt;(
self,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a string value and would
benefit from taking ownership of buffered data owned by the
<code>Deserializer</code>. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_string">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_bytes" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#617-621">source</a><a href="#method.deserialize_bytes" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_bytes" class="fn">deserialize_bytes</a>&lt;V&gt;(
self,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a byte array and does not
benefit from taking ownership of buffered data owned by the
<code>Deserializer</code>. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_bytes">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_byte_buf" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#617-621">source</a><a href="#method.deserialize_byte_buf" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_byte_buf" class="fn">deserialize_byte_buf</a>&lt;V&gt;(
self,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a byte array and would
benefit from taking ownership of buffered data owned by the
<code>Deserializer</code>. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_byte_buf">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_option" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#617-621">source</a><a href="#method.deserialize_option" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_option" class="fn">deserialize_option</a>&lt;V&gt;(
self,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting an optional value. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_option">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_unit" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#617-621">source</a><a href="#method.deserialize_unit" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_unit" class="fn">deserialize_unit</a>&lt;V&gt;(
self,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a unit value.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_unit_struct" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#617-621">source</a><a href="#method.deserialize_unit_struct" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_unit_struct" class="fn">deserialize_unit_struct</a>&lt;V&gt;(
self,
name: &amp;'static <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a unit struct with a
particular name.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_newtype_struct" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#617-621">source</a><a href="#method.deserialize_newtype_struct" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_newtype_struct" class="fn">deserialize_newtype_struct</a>&lt;V&gt;(
self,
name: &amp;'static <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a newtype struct with a
particular name.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_seq" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#617-621">source</a><a href="#method.deserialize_seq" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_seq" class="fn">deserialize_seq</a>&lt;V&gt;(
self,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a sequence of values.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_tuple" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#617-621">source</a><a href="#method.deserialize_tuple" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_tuple" class="fn">deserialize_tuple</a>&lt;V&gt;(
self,
len: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a sequence of values and
knows how many values there are without looking at the serialized data.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_tuple_struct" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#617-621">source</a><a href="#method.deserialize_tuple_struct" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_tuple_struct" class="fn">deserialize_tuple_struct</a>&lt;V&gt;(
self,
name: &amp;'static <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>,
len: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a tuple struct with a
particular name and number of fields.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_map" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#617-621">source</a><a href="#method.deserialize_map" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_map" class="fn">deserialize_map</a>&lt;V&gt;(
self,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a map of key-value pairs.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_struct" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#617-621">source</a><a href="#method.deserialize_struct" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_struct" class="fn">deserialize_struct</a>&lt;V&gt;(
self,
name: &amp;'static <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>,
fields: &amp;'static [&amp;'static <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>],
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a struct with a particular
name and fields.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_enum" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#617-621">source</a><a href="#method.deserialize_enum" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_enum" class="fn">deserialize_enum</a>&lt;V&gt;(
self,
name: &amp;'static <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>,
variants: &amp;'static [&amp;'static <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>],
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting an enum value with a
particular name and possible variants.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_identifier" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#617-621">source</a><a href="#method.deserialize_identifier" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_identifier" class="fn">deserialize_identifier</a>&lt;V&gt;(
self,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting the name of a struct
field or the discriminant of an enum variant.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_ignored_any" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#617-621">source</a><a href="#method.deserialize_ignored_any" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_ignored_any" class="fn">deserialize_ignored_any</a>&lt;V&gt;(
self,
visitor: V
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, &lt;Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>&gt;<div class="where">where
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type needs to deserialize a value whose type
doesnt matter because it is ignored. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_ignored_any">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_human_readable" class="method trait-impl"><a class="src rightside" href="../src/serde_core/de/mod.rs.html#1253">source</a><a href="#method.is_human_readable" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#method.is_human_readable" class="fn">is_human_readable</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Determine whether <code>Deserialize</code> implementations should expect to
deserialize their human-readable form. <a href="../serde_core/de/trait.Deserializer.html#method.is_human_readable">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Display-for-Number" class="impl"><a class="src rightside" href="../src/serde_json/number.rs.html#347-361">source</a><a href="#impl-Display-for-Number" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#349-355">source</a><a href="#method.fmt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Display.html#tymethod.fmt" class="fn">fmt</a>(&amp;self, formatter: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.76.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CNumber%3E-for-Value" class="impl"><a class="src rightside" href="../src/serde_json/value/from.rs.html#137-151">source</a><a href="#impl-From%3CNumber%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a>&gt; for <a class="enum" href="enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-8" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/from.rs.html#148-150">source</a><a href="#method.from-8" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(f: <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Convert <code>Number</code> to <code>Value::Number</code>.</p>
<h5 id="examples"><a href="#examples">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>serde_json::{Number, Value};
<span class="kw">let </span>n = Number::from(<span class="number">7</span>);
<span class="kw">let </span>x: Value = n.into();</code></pre></div>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Ci16%3E-for-Number" class="impl"><a class="src rightside" href="../src/serde_json/number.rs.html#788">source</a><a href="#impl-From%3Ci16%3E-for-Number" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i16.html">i16</a>&gt; for <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-6" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#788">source</a><a href="#method.from-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(i: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i16.html">i16</a>) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Ci32%3E-for-Number" class="impl"><a class="src rightside" href="../src/serde_json/number.rs.html#788">source</a><a href="#impl-From%3Ci32%3E-for-Number" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i32.html">i32</a>&gt; for <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-9" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#788">source</a><a href="#method.from-9" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(i: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i32.html">i32</a>) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Ci64%3E-for-Number" class="impl"><a class="src rightside" href="../src/serde_json/number.rs.html#788">source</a><a href="#impl-From%3Ci64%3E-for-Number" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i64.html">i64</a>&gt; for <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-4" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#788">source</a><a href="#method.from-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(i: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i64.html">i64</a>) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Ci8%3E-for-Number" class="impl"><a class="src rightside" href="../src/serde_json/number.rs.html#788">source</a><a href="#impl-From%3Ci8%3E-for-Number" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i8.html">i8</a>&gt; for <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></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="../src/serde_json/number.rs.html#788">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(i: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i8.html">i8</a>) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Cisize%3E-for-Number" class="impl"><a class="src rightside" href="../src/serde_json/number.rs.html#788">source</a><a href="#impl-From%3Cisize%3E-for-Number" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.isize.html">isize</a>&gt; for <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-2" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#788">source</a><a href="#method.from-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(i: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.isize.html">isize</a>) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Cu16%3E-for-Number" class="impl"><a class="src rightside" href="../src/serde_json/number.rs.html#787">source</a><a href="#impl-From%3Cu16%3E-for-Number" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u16.html">u16</a>&gt; for <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-3" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#787">source</a><a href="#method.from-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(u: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u16.html">u16</a>) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Cu32%3E-for-Number" class="impl"><a class="src rightside" href="../src/serde_json/number.rs.html#787">source</a><a href="#impl-From%3Cu32%3E-for-Number" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u32.html">u32</a>&gt; for <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-5" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#787">source</a><a href="#method.from-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(u: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u32.html">u32</a>) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Cu64%3E-for-Number" class="impl"><a class="src rightside" href="../src/serde_json/number.rs.html#787">source</a><a href="#impl-From%3Cu64%3E-for-Number" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a>&gt; for <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-10" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#787">source</a><a href="#method.from-10" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(u: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a>) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Cu8%3E-for-Number" class="impl"><a class="src rightside" href="../src/serde_json/number.rs.html#787">source</a><a href="#impl-From%3Cu8%3E-for-Number" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>&gt; for <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-7" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#787">source</a><a href="#method.from-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(u: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Cusize%3E-for-Number" class="impl"><a class="src rightside" href="../src/serde_json/number.rs.html#787">source</a><a href="#impl-From%3Cusize%3E-for-Number" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>&gt; for <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#787">source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(u: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-FromStr-for-Number" class="impl"><a class="src rightside" href="../src/serde_json/de.rs.html#1294-1302">source</a><a href="#impl-FromStr-for-Number" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/str/traits/trait.FromStr.html" title="trait core::str::traits::FromStr">FromStr</a> for <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Err" class="associatedtype trait-impl"><a href="#associatedtype.Err" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.76.0/core/str/traits/trait.FromStr.html#associatedtype.Err" class="associatedtype">Err</a> = <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a></h4></section></summary><div class='docblock'>The associated error which can be returned from parsing.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_str" class="method trait-impl"><a class="src rightside" href="../src/serde_json/de.rs.html#1297-1301">source</a><a href="#method.from_str" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/str/traits/trait.FromStr.html#tymethod.from_str" class="fn">from_str</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, Self::<a class="associatedtype" href="https://doc.rust-lang.org/1.76.0/core/str/traits/trait.FromStr.html#associatedtype.Err" title="type core::str::traits::FromStr::Err">Err</a>&gt;</h4></section></summary><div class='docblock'>Parses a string <code>s</code> to return a value of this type. <a href="https://doc.rust-lang.org/1.76.0/core/str/traits/trait.FromStr.html#tymethod.from_str">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Hash-for-Number" class="impl"><a class="src rightside" href="../src/serde_json/number.rs.html#21">source</a><a href="#impl-Hash-for-Number" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.hash" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#21">source</a><a href="#method.hash" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/hash/trait.Hash.html#tymethod.hash" class="fn">hash</a>&lt;__H: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>&gt;(&amp;self, state: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&amp;mut __H</a>)</h4></section></summary><div class='docblock'>Feeds this value into the given <a href="https://doc.rust-lang.org/1.76.0/core/hash/trait.Hasher.html" title="trait core::hash::Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/1.76.0/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/1.76.0/src/core/hash/mod.rs.html#238-240">source</a></span><a href="#method.hash_slice" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/hash/trait.Hash.html#method.hash_slice" class="fn">hash_slice</a>&lt;H&gt;(data: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.slice.html">[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&amp;mut H</a>)<div class="where">where
H: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/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/1.76.0/core/hash/trait.Hasher.html" title="trait core::hash::Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/1.76.0/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-PartialEq-for-Number" class="impl"><a class="src rightside" href="../src/serde_json/number.rs.html#21">source</a><a href="#impl-PartialEq-for-Number" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#21">source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&amp;self, other: &amp;<a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method 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/1.76.0/src/core/cmp.rs.html#242">source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method 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-Serialize-for-Number" class="impl"><a class="src rightside" href="../src/serde_json/number.rs.html#369-393">source</a><a href="#impl-Serialize-for-Number" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../serde_core/ser/trait.Serialize.html" title="trait serde_core::ser::Serialize">Serialize</a> for <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.serialize" class="method trait-impl"><a class="src rightside" href="../src/serde_json/number.rs.html#371-380">source</a><a href="#method.serialize" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/ser/trait.Serialize.html#tymethod.serialize" class="fn">serialize</a>&lt;S&gt;(&amp;self, serializer: S) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;S::<a class="associatedtype" href="../serde_core/ser/trait.Serializer.html#associatedtype.Ok" title="type serde_core::ser::Serializer::Ok">Ok</a>, S::<a class="associatedtype" href="../serde_core/ser/trait.Serializer.html#associatedtype.Error" title="type serde_core::ser::Serializer::Error">Error</a>&gt;<div class="where">where
S: <a class="trait" href="../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="../serde_core/ser/trait.Serialize.html#tymethod.serialize">Read more</a></div></details></div></details><section id="impl-Eq-for-Number" class="impl"><a class="src rightside" href="../src/serde_json/number.rs.html#21">source</a><a href="#impl-Eq-for-Number" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></h3></section><section id="impl-StructuralEq-for-Number" class="impl"><a class="src rightside" href="../src/serde_json/number.rs.html#21">source</a><a href="#impl-StructuralEq-for-Number" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.StructuralEq.html" title="trait core::marker::StructuralEq">StructuralEq</a> for <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></h3></section><section id="impl-StructuralPartialEq-for-Number" class="impl"><a class="src rightside" href="../src/serde_json/number.rs.html#21">source</a><a href="#impl-StructuralPartialEq-for-Number" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</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-RefUnwindSafe-for-Number" class="impl"><a href="#impl-RefUnwindSafe-for-Number" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></h3></section><section id="impl-Send-for-Number" class="impl"><a href="#impl-Send-for-Number" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></h3></section><section id="impl-Sync-for-Number" class="impl"><a href="#impl-Sync-for-Number" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></h3></section><section id="impl-Unpin-for-Number" class="impl"><a href="#impl-Unpin-for-Number" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</a></h3></section><section id="impl-UnwindSafe-for-Number" class="impl"><a href="#impl-UnwindSafe-for-Number" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="value/struct.Number.html" title="struct serde_json::value::Number">Number</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/1.76.0/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/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/1.76.0/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/1.76.0/src/core/any.rs.html#141">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.76.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/borrow.rs.html#208">source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.76.0/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/1.76.0/src/core/borrow.rs.html#210">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.76.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/borrow.rs.html#216">source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.76.0/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/1.76.0/src/core/borrow.rs.html#217">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.76.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/convert/mod.rs.html#763">source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-11" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/convert/mod.rs.html#766">source</a><a href="#method.from-11" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -&gt; 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-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/convert/mod.rs.html#747-749">source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,</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/1.76.0/src/core/convert/mod.rs.html#756">source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -&gt; U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
<p>That is, this conversion is whatever the implementation of
<code><a href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for U</code> chooses to do.</p>
</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/1.76.0/src/alloc/borrow.rs.html#83-85">source</a><a href="#impl-ToOwned-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/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/1.76.0/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 href="#associatedtype.Owned" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.76.0/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" class="associatedtype">Owned</a> = T</h4></section></summary><div class='docblock'>The resulting type after obtaining ownership.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_owned" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/alloc/borrow.rs.html#88">source</a><a href="#method.to_owned" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fn">to_owned</a>(&amp;self) -&gt; T</h4></section></summary><div class='docblock'>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/1.76.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/alloc/borrow.rs.html#92">source</a><a href="#method.clone_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fn">clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&amp;mut T</a>)</h4></section></summary><div class='docblock'>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/1.76.0/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToString-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/alloc/string.rs.html#2600">source</a><a href="#impl-ToString-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/alloc/string/trait.ToString.html" title="trait alloc::string::ToString">ToString</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> + ?<a class="trait" href="https://doc.rust-lang.org/1.76.0/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.to_string" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/alloc/string.rs.html#2606">source</a><a href="#method.to_string" class="anchor">§</a><h4 class="code-header">default fn <a href="https://doc.rust-lang.org/1.76.0/alloc/string/trait.ToString.html#tymethod.to_string" class="fn">to_string</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section></summary><div class='docblock'>Converts the given value to a <code>String</code>. <a href="https://doc.rust-lang.org/1.76.0/alloc/string/trait.ToString.html#tymethod.to_string">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/1.76.0/src/core/convert/mod.rs.html#803-805">source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-2" class="associatedtype trait-impl"><a href="#associatedtype.Error-2" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.76.0/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/convert/mod.rs.html#810">source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</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/1.76.0/src/core/convert/mod.rs.html#788-790">source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-3" class="associatedtype trait-impl"><a href="#associatedtype.Error-3" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.76.0/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/convert/mod.rs.html#795">source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><section id="impl-DeserializeOwned-for-T" class="impl"><a class="src rightside" href="../src/serde_core/de/mod.rs.html#633">source</a><a href="#impl-DeserializeOwned-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../serde_core/de/trait.DeserializeOwned.html" title="trait serde_core::de::DeserializeOwned">DeserializeOwned</a> for T<div class="where">where
T: for&lt;'de&gt; <a class="trait" href="../serde_core/de/trait.Deserialize.html" title="trait serde_core::de::Deserialize">Deserialize</a>&lt;'de&gt;,</div></h3></section></div></section></div></main></body></html>