Files
google-apis-rs/serde_json/value/enum.Value.html
2024-03-05 21:06:01 +01:00

803 lines
353 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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 any valid JSON value."><title>Value in serde_json::value - 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 enum"><!--[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.107</span></h2></div><h2 class="location"><a href="#">Value</a></h2><div class="sidebar-elems"><section><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.Array">Array</a></li><li><a href="#variant.Bool">Bool</a></li><li><a href="#variant.Null">Null</a></li><li><a href="#variant.Number">Number</a></li><li><a href="#variant.Object">Object</a></li><li><a href="#variant.String">String</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.as_array">as_array</a></li><li><a href="#method.as_array_mut">as_array_mut</a></li><li><a href="#method.as_bool">as_bool</a></li><li><a href="#method.as_f64">as_f64</a></li><li><a href="#method.as_i64">as_i64</a></li><li><a href="#method.as_null">as_null</a></li><li><a href="#method.as_number">as_number</a></li><li><a href="#method.as_object">as_object</a></li><li><a href="#method.as_object_mut">as_object_mut</a></li><li><a href="#method.as_str">as_str</a></li><li><a href="#method.as_u64">as_u64</a></li><li><a href="#method.get">get</a></li><li><a href="#method.get_mut">get_mut</a></li><li><a href="#method.is_array">is_array</a></li><li><a href="#method.is_boolean">is_boolean</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_null">is_null</a></li><li><a href="#method.is_number">is_number</a></li><li><a href="#method.is_object">is_object</a></li><li><a href="#method.is_string">is_string</a></li><li><a href="#method.is_u64">is_u64</a></li><li><a href="#method.pointer">pointer</a></li><li><a href="#method.pointer_mut">pointer_mut</a></li><li><a href="#method.take">take</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Clone-for-Value">Clone</a></li><li><a href="#impl-Debug-for-Value">Debug</a></li><li><a href="#impl-Default-for-Value">Default</a></li><li><a href="#impl-Deserialize%3C'de%3E-for-Value">Deserialize&lt;&#x27;de&gt;</a></li><li><a href="#impl-Deserializer%3C'de%3E-for-%26Value">Deserializer&lt;&#x27;de&gt;</a></li><li><a href="#impl-Deserializer%3C'de%3E-for-Value">Deserializer&lt;&#x27;de&gt;</a></li><li><a href="#impl-Display-for-Value">Display</a></li><li><a href="#impl-Eq-for-Value">Eq</a></li><li><a href="#impl-From%3C%26%5BT%5D%3E-for-Value">From&lt;&amp;&#x27;a [T]&gt;</a></li><li><a href="#impl-From%3C%26str%3E-for-Value">From&lt;&amp;&#x27;a str&gt;</a></li><li><a href="#impl-From%3C()%3E-for-Value">From&lt;()&gt;</a></li><li><a href="#impl-From%3CCow%3C'a,+str%3E%3E-for-Value">From&lt;Cow&lt;&#x27;a, str&gt;&gt;</a></li><li><a href="#impl-From%3CMap%3CString,+Value%3E%3E-for-Value">From&lt;Map&lt;String, Value&gt;&gt;</a></li><li><a href="#impl-From%3CNumber%3E-for-Value">From&lt;Number&gt;</a></li><li><a href="#impl-From%3COption%3CT%3E%3E-for-Value">From&lt;Option&lt;T&gt;&gt;</a></li><li><a href="#impl-From%3CString%3E-for-Value">From&lt;String&gt;</a></li><li><a href="#impl-From%3CVec%3CT%3E%3E-for-Value">From&lt;Vec&lt;T&gt;&gt;</a></li><li><a href="#impl-From%3Cbool%3E-for-Value">From&lt;bool&gt;</a></li><li><a href="#impl-From%3Cf32%3E-for-Value">From&lt;f32&gt;</a></li><li><a href="#impl-From%3Cf64%3E-for-Value">From&lt;f64&gt;</a></li><li><a href="#impl-From%3Ci16%3E-for-Value">From&lt;i16&gt;</a></li><li><a href="#impl-From%3Ci32%3E-for-Value">From&lt;i32&gt;</a></li><li><a href="#impl-From%3Ci64%3E-for-Value">From&lt;i64&gt;</a></li><li><a href="#impl-From%3Ci8%3E-for-Value">From&lt;i8&gt;</a></li><li><a href="#impl-From%3Cisize%3E-for-Value">From&lt;isize&gt;</a></li><li><a href="#impl-From%3Cu16%3E-for-Value">From&lt;u16&gt;</a></li><li><a href="#impl-From%3Cu32%3E-for-Value">From&lt;u32&gt;</a></li><li><a href="#impl-From%3Cu64%3E-for-Value">From&lt;u64&gt;</a></li><li><a href="#impl-From%3Cu8%3E-for-Value">From&lt;u8&gt;</a></li><li><a href="#impl-From%3Cusize%3E-for-Value">From&lt;usize&gt;</a></li><li><a href="#impl-FromIterator%3C(K,+V)%3E-for-Value">FromIterator&lt;(K, V)&gt;</a></li><li><a href="#impl-FromIterator%3CT%3E-for-Value">FromIterator&lt;T&gt;</a></li><li><a href="#impl-FromStr-for-Value">FromStr</a></li><li><a href="#impl-Index%3CI%3E-for-Value">Index&lt;I&gt;</a></li><li><a href="#impl-IndexMut%3CI%3E-for-Value">IndexMut&lt;I&gt;</a></li><li><a href="#impl-IntoDeserializer%3C'de,+Error%3E-for-%26Value">IntoDeserializer&lt;&#x27;de, Error&gt;</a></li><li><a href="#impl-IntoDeserializer%3C'de,+Error%3E-for-Value">IntoDeserializer&lt;&#x27;de, Error&gt;</a></li><li><a href="#impl-PartialEq-for-Value">PartialEq</a></li><li><a href="#impl-PartialEq%3C%26str%3E-for-Value">PartialEq&lt;&amp;&#x27;a str&gt;</a></li><li><a href="#impl-PartialEq%3CString%3E-for-Value">PartialEq&lt;String&gt;</a></li><li><a href="#impl-PartialEq%3CValue%3E-for-%26str">PartialEq&lt;Value&gt;</a></li><li><a href="#impl-PartialEq%3CValue%3E-for-String">PartialEq&lt;Value&gt;</a></li><li><a href="#impl-PartialEq%3CValue%3E-for-bool">PartialEq&lt;Value&gt;</a></li><li><a href="#impl-PartialEq%3CValue%3E-for-f32">PartialEq&lt;Value&gt;</a></li><li><a href="#impl-PartialEq%3CValue%3E-for-f64">PartialEq&lt;Value&gt;</a></li><li><a href="#impl-PartialEq%3CValue%3E-for-i16">PartialEq&lt;Value&gt;</a></li><li><a href="#impl-PartialEq%3CValue%3E-for-i32">PartialEq&lt;Value&gt;</a></li><li><a href="#impl-PartialEq%3CValue%3E-for-i64">PartialEq&lt;Value&gt;</a></li><li><a href="#impl-PartialEq%3CValue%3E-for-i8">PartialEq&lt;Value&gt;</a></li><li><a href="#impl-PartialEq%3CValue%3E-for-isize">PartialEq&lt;Value&gt;</a></li><li><a href="#impl-PartialEq%3CValue%3E-for-str">PartialEq&lt;Value&gt;</a></li><li><a href="#impl-PartialEq%3CValue%3E-for-u16">PartialEq&lt;Value&gt;</a></li><li><a href="#impl-PartialEq%3CValue%3E-for-u32">PartialEq&lt;Value&gt;</a></li><li><a href="#impl-PartialEq%3CValue%3E-for-u64">PartialEq&lt;Value&gt;</a></li><li><a href="#impl-PartialEq%3CValue%3E-for-u8">PartialEq&lt;Value&gt;</a></li><li><a href="#impl-PartialEq%3CValue%3E-for-usize">PartialEq&lt;Value&gt;</a></li><li><a href="#impl-PartialEq%3Cbool%3E-for-%26Value">PartialEq&lt;bool&gt;</a></li><li><a href="#impl-PartialEq%3Cbool%3E-for-%26mut+Value">PartialEq&lt;bool&gt;</a></li><li><a href="#impl-PartialEq%3Cbool%3E-for-Value">PartialEq&lt;bool&gt;</a></li><li><a href="#impl-PartialEq%3Cf32%3E-for-%26Value">PartialEq&lt;f32&gt;</a></li><li><a href="#impl-PartialEq%3Cf32%3E-for-%26mut+Value">PartialEq&lt;f32&gt;</a></li><li><a href="#impl-PartialEq%3Cf32%3E-for-Value">PartialEq&lt;f32&gt;</a></li><li><a href="#impl-PartialEq%3Cf64%3E-for-%26Value">PartialEq&lt;f64&gt;</a></li><li><a href="#impl-PartialEq%3Cf64%3E-for-%26mut+Value">PartialEq&lt;f64&gt;</a></li><li><a href="#impl-PartialEq%3Cf64%3E-for-Value">PartialEq&lt;f64&gt;</a></li><li><a href="#impl-PartialEq%3Ci16%3E-for-%26Value">PartialEq&lt;i16&gt;</a></li><li><a href="#impl-PartialEq%3Ci16%3E-for-%26mut+Value">PartialEq&lt;i16&gt;</a></li><li><a href="#impl-PartialEq%3Ci16%3E-for-Value">PartialEq&lt;i16&gt;</a></li><li><a href="#impl-PartialEq%3Ci32%3E-for-%26Value">PartialEq&lt;i32&gt;</a></li><li><a href="#impl-PartialEq%3Ci32%3E-for-%26mut+Value">PartialEq&lt;i32&gt;</a></li><li><a href="#impl-PartialEq%3Ci32%3E-for-Value">PartialEq&lt;i32&gt;</a></li><li><a href="#impl-PartialEq%3Ci64%3E-for-%26Value">PartialEq&lt;i64&gt;</a></li><li><a href="#impl-PartialEq%3Ci64%3E-for-%26mut+Value">PartialEq&lt;i64&gt;</a></li><li><a href="#impl-PartialEq%3Ci64%3E-for-Value">PartialEq&lt;i64&gt;</a></li><li><a href="#impl-PartialEq%3Ci8%3E-for-%26Value">PartialEq&lt;i8&gt;</a></li><li><a href="#impl-PartialEq%3Ci8%3E-for-%26mut+Value">PartialEq&lt;i8&gt;</a></li><li><a href="#impl-PartialEq%3Ci8%3E-for-Value">PartialEq&lt;i8&gt;</a></li><li><a href="#impl-PartialEq%3Cisize%3E-for-%26Value">PartialEq&lt;isize&gt;</a></li><li><a href="#impl-PartialEq%3Cisize%3E-for-%26mut+Value">PartialEq&lt;isize&gt;</a></li><li><a href="#impl-PartialEq%3Cisize%3E-for-Value">PartialEq&lt;isize&gt;</a></li><li><a href="#impl-PartialEq%3Cstr%3E-for-Value">PartialEq&lt;str&gt;</a></li><li><a href="#impl-PartialEq%3Cu16%3E-for-%26Value">PartialEq&lt;u16&gt;</a></li><li><a href="#impl-PartialEq%3Cu16%3E-for-%26mut+Value">PartialEq&lt;u16&gt;</a></li><li><a href="#impl-PartialEq%3Cu16%3E-for-Value">PartialEq&lt;u16&gt;</a></li><li><a href="#impl-PartialEq%3Cu32%3E-for-%26Value">PartialEq&lt;u32&gt;</a></li><li><a href="#impl-PartialEq%3Cu32%3E-for-%26mut+Value">PartialEq&lt;u32&gt;</a></li><li><a href="#impl-PartialEq%3Cu32%3E-for-Value">PartialEq&lt;u32&gt;</a></li><li><a href="#impl-PartialEq%3Cu64%3E-for-%26Value">PartialEq&lt;u64&gt;</a></li><li><a href="#impl-PartialEq%3Cu64%3E-for-%26mut+Value">PartialEq&lt;u64&gt;</a></li><li><a href="#impl-PartialEq%3Cu64%3E-for-Value">PartialEq&lt;u64&gt;</a></li><li><a href="#impl-PartialEq%3Cu8%3E-for-%26Value">PartialEq&lt;u8&gt;</a></li><li><a href="#impl-PartialEq%3Cu8%3E-for-%26mut+Value">PartialEq&lt;u8&gt;</a></li><li><a href="#impl-PartialEq%3Cu8%3E-for-Value">PartialEq&lt;u8&gt;</a></li><li><a href="#impl-PartialEq%3Cusize%3E-for-%26Value">PartialEq&lt;usize&gt;</a></li><li><a href="#impl-PartialEq%3Cusize%3E-for-%26mut+Value">PartialEq&lt;usize&gt;</a></li><li><a href="#impl-PartialEq%3Cusize%3E-for-Value">PartialEq&lt;usize&gt;</a></li><li><a href="#impl-Serialize-for-Value">Serialize</a></li><li><a href="#impl-StructuralEq-for-Value">StructuralEq</a></li><li><a href="#impl-StructuralPartialEq-for-Value">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-Value">RefUnwindSafe</a></li><li><a href="#impl-Send-for-Value">Send</a></li><li><a href="#impl-Sync-for-Value">Sync</a></li><li><a href="#impl-Unpin-for-Value">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Value">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 serde_json::value</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>Enum <a href="../index.html">serde_json</a>::<wbr><a href="index.html">value</a>::<wbr><a class="enum" href="#">Value</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/value/mod.rs.html#115-175">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub enum Value {
Null,
Bool(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a>),
Number(<a class="struct" href="struct.Number.html" title="struct serde_json::value::Number">Number</a>),
String(<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
Array(<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt;),
Object(<a class="struct" href="../struct.Map.html" title="struct serde_json::Map">Map</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt;),
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Represents any valid JSON value.</p>
<p>See the <a href="index.html" title="mod serde_json::value"><code>serde_json::value</code> module documentation</a> for usage examples.</p>
</div></details><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.Null" class="variant"><a href="#variant.Null" class="anchor">§</a><h3 class="code-header">Null</h3></section><div class="docblock"><p>Represents a JSON null value.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>v = <span class="macro">json!</span>(null);</code></pre></div>
</div><section id="variant.Bool" class="variant"><a href="#variant.Bool" class="anchor">§</a><h3 class="code-header">Bool(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a>)</h3></section><div class="docblock"><p>Represents a JSON boolean.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>v = <span class="macro">json!</span>(<span class="bool-val">true</span>);</code></pre></div>
</div><section id="variant.Number" class="variant"><a href="#variant.Number" class="anchor">§</a><h3 class="code-header">Number(<a class="struct" href="struct.Number.html" title="struct serde_json::value::Number">Number</a>)</h3></section><div class="docblock"><p>Represents a JSON number, whether integer or floating point.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>v = <span class="macro">json!</span>(<span class="number">12.5</span>);</code></pre></div>
</div><section id="variant.String" class="variant"><a href="#variant.String" class="anchor">§</a><h3 class="code-header">String(<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</h3></section><div class="docblock"><p>Represents a JSON string.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>v = <span class="macro">json!</span>(<span class="string">"a string"</span>);</code></pre></div>
</div><section id="variant.Array" class="variant"><a href="#variant.Array" class="anchor">§</a><h3 class="code-header">Array(<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt;)</h3></section><div class="docblock"><p>Represents a JSON array.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>v = <span class="macro">json!</span>([<span class="string">"an"</span>, <span class="string">"array"</span>]);</code></pre></div>
</div><section id="variant.Object" class="variant"><a href="#variant.Object" class="anchor">§</a><h3 class="code-header">Object(<a class="struct" href="../struct.Map.html" title="struct serde_json::Map">Map</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt;)</h3></section><div class="docblock"><p>Represents a JSON object.</p>
<p>By default the map is backed by a BTreeMap. Enable the <code>preserve_order</code>
feature of serde_json to use IndexMap instead, which preserves
entries in the order they are inserted into the map. In particular, this
allows JSON data to be deserialized into a Value and serialized to a
string while retaining the order of map keys in the input.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>v = <span class="macro">json!</span>({ <span class="string">"an"</span>: <span class="string">"object" </span>});</code></pre></div>
</div></div><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-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#265-863">source</a><a href="#impl-Value" class="anchor">§</a><h3 class="code-header">impl <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.get" class="method"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#304-306">source</a><h4 class="code-header">pub fn <a href="#method.get" class="fn">get</a>&lt;I: <a class="trait" href="trait.Index.html" title="trait serde_json::value::Index">Index</a>&gt;(&amp;self, index: I) -&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;&amp;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt;</h4></section></summary><div class="docblock"><p>Index into a JSON array or map. A string index can be used to access a
value in a map, and a usize index can be used to access an element of an
array.</p>
<p>Returns <code>None</code> if the type of <code>self</code> does not match the type of the
index, for example if the index is a string and <code>self</code> is an array or a
number. Also returns <code>None</code> if the given key does not exist in the map
or the given index is not within the bounds of the array.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>object = <span class="macro">json!</span>({ <span class="string">"A"</span>: <span class="number">65</span>, <span class="string">"B"</span>: <span class="number">66</span>, <span class="string">"C"</span>: <span class="number">67 </span>});
<span class="macro">assert_eq!</span>(<span class="kw-2">*</span>object.get(<span class="string">"A"</span>).unwrap(), <span class="macro">json!</span>(<span class="number">65</span>));
<span class="kw">let </span>array = <span class="macro">json!</span>([ <span class="string">"A"</span>, <span class="string">"B"</span>, <span class="string">"C" </span>]);
<span class="macro">assert_eq!</span>(<span class="kw-2">*</span>array.get(<span class="number">2</span>).unwrap(), <span class="macro">json!</span>(<span class="string">"C"</span>));
<span class="macro">assert_eq!</span>(array.get(<span class="string">"A"</span>), <span class="prelude-val">None</span>);</code></pre></div>
<p>Square brackets can also be used to index into a value in a more concise
way. This returns <code>Value::Null</code> in cases where <code>get</code> would have returned
<code>None</code>.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>object = <span class="macro">json!</span>({
<span class="string">"A"</span>: [<span class="string">"a"</span>, <span class="string">"á"</span>, <span class="string">"à"</span>],
<span class="string">"B"</span>: [<span class="string">"b"</span>, <span class="string">"b́"</span>],
<span class="string">"C"</span>: [<span class="string">"c"</span>, <span class="string">"ć"</span>, <span class="string">"ć̣"</span>, <span class="string">"ḉ"</span>],
});
<span class="macro">assert_eq!</span>(object[<span class="string">"B"</span>][<span class="number">0</span>], <span class="macro">json!</span>(<span class="string">"b"</span>));
<span class="macro">assert_eq!</span>(object[<span class="string">"D"</span>], <span class="macro">json!</span>(null));
<span class="macro">assert_eq!</span>(object[<span class="number">0</span>][<span class="string">"x"</span>][<span class="string">"y"</span>][<span class="string">"z"</span>], <span class="macro">json!</span>(null));</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.get_mut" class="method"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#326-328">source</a><h4 class="code-header">pub fn <a href="#method.get_mut" class="fn">get_mut</a>&lt;I: <a class="trait" href="trait.Index.html" title="trait serde_json::value::Index">Index</a>&gt;(&amp;mut self, index: I) -&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;&amp;mut <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt;</h4></section></summary><div class="docblock"><p>Mutably index into a JSON array or map. A string index can be used to
access a value in a map, and a usize index can be used to access an
element of an array.</p>
<p>Returns <code>None</code> if the type of <code>self</code> does not match the type of the
index, for example if the index is a string and <code>self</code> is an array or a
number. Also returns <code>None</code> if the given key does not exist in the map
or the given index is not within the bounds of the array.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span><span class="kw-2">mut </span>object = <span class="macro">json!</span>({ <span class="string">"A"</span>: <span class="number">65</span>, <span class="string">"B"</span>: <span class="number">66</span>, <span class="string">"C"</span>: <span class="number">67 </span>});
<span class="kw-2">*</span>object.get_mut(<span class="string">"A"</span>).unwrap() = <span class="macro">json!</span>(<span class="number">69</span>);
<span class="kw">let </span><span class="kw-2">mut </span>array = <span class="macro">json!</span>([ <span class="string">"A"</span>, <span class="string">"B"</span>, <span class="string">"C" </span>]);
<span class="kw-2">*</span>array.get_mut(<span class="number">2</span>).unwrap() = <span class="macro">json!</span>(<span class="string">"D"</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_object" class="method"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#347-349">source</a><h4 class="code-header">pub fn <a href="#method.is_object" class="fn">is_object</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>Value</code> is an Object. Returns false otherwise.</p>
<p>For any Value on which <code>is_object</code> returns true, <code>as_object</code> and
<code>as_object_mut</code> are guaranteed to return the map representation of the
object.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>obj = <span class="macro">json!</span>({ <span class="string">"a"</span>: { <span class="string">"nested"</span>: <span class="bool-val">true </span>}, <span class="string">"b"</span>: [<span class="string">"an"</span>, <span class="string">"array"</span>] });
<span class="macro">assert!</span>(obj.is_object());
<span class="macro">assert!</span>(obj[<span class="string">"a"</span>].is_object());
<span class="comment">// array, not an object
</span><span class="macro">assert!</span>(!obj[<span class="string">"b"</span>].is_object());</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.as_object" class="method"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#365-370">source</a><h4 class="code-header">pub fn <a href="#method.as_object" class="fn">as_object</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;&amp;<a class="struct" href="../struct.Map.html" title="struct serde_json::Map">Map</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt;&gt;</h4></section></summary><div class="docblock"><p>If the <code>Value</code> is an Object, returns the associated Map. Returns None
otherwise.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>v = <span class="macro">json!</span>({ <span class="string">"a"</span>: { <span class="string">"nested"</span>: <span class="bool-val">true </span>}, <span class="string">"b"</span>: [<span class="string">"an"</span>, <span class="string">"array"</span>] });
<span class="comment">// The length of `{"nested": true}` is 1 entry.
</span><span class="macro">assert_eq!</span>(v[<span class="string">"a"</span>].as_object().unwrap().len(), <span class="number">1</span>);
<span class="comment">// The array `["an", "array"]` is not an object.
</span><span class="macro">assert_eq!</span>(v[<span class="string">"b"</span>].as_object(), <span class="prelude-val">None</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.as_object_mut" class="method"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#383-388">source</a><h4 class="code-header">pub fn <a href="#method.as_object_mut" class="fn">as_object_mut</a>(&amp;mut 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;&amp;mut <a class="struct" href="../struct.Map.html" title="struct serde_json::Map">Map</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt;&gt;</h4></section></summary><div class="docblock"><p>If the <code>Value</code> is an Object, returns the associated mutable Map.
Returns None otherwise.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span><span class="kw-2">mut </span>v = <span class="macro">json!</span>({ <span class="string">"a"</span>: { <span class="string">"nested"</span>: <span class="bool-val">true </span>} });
v[<span class="string">"a"</span>].as_object_mut().unwrap().clear();
<span class="macro">assert_eq!</span>(v, <span class="macro">json!</span>({ <span class="string">"a"</span>: {} }));</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_array" class="method"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#406-408">source</a><h4 class="code-header">pub fn <a href="#method.is_array" class="fn">is_array</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>Value</code> is an Array. Returns false otherwise.</p>
<p>For any Value on which <code>is_array</code> returns true, <code>as_array</code> and
<code>as_array_mut</code> are guaranteed to return the vector representing the
array.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>obj = <span class="macro">json!</span>({ <span class="string">"a"</span>: [<span class="string">"an"</span>, <span class="string">"array"</span>], <span class="string">"b"</span>: { <span class="string">"an"</span>: <span class="string">"object" </span>} });
<span class="macro">assert!</span>(obj[<span class="string">"a"</span>].is_array());
<span class="comment">// an object, not an array
</span><span class="macro">assert!</span>(!obj[<span class="string">"b"</span>].is_array());</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.as_array" class="method"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#424-429">source</a><h4 class="code-header">pub fn <a href="#method.as_array" class="fn">as_array</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;&amp;<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt;&gt;</h4></section></summary><div class="docblock"><p>If the <code>Value</code> is an Array, returns the associated vector. Returns None
otherwise.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>v = <span class="macro">json!</span>({ <span class="string">"a"</span>: [<span class="string">"an"</span>, <span class="string">"array"</span>], <span class="string">"b"</span>: { <span class="string">"an"</span>: <span class="string">"object" </span>} });
<span class="comment">// The length of `["an", "array"]` is 2 elements.
</span><span class="macro">assert_eq!</span>(v[<span class="string">"a"</span>].as_array().unwrap().len(), <span class="number">2</span>);
<span class="comment">// The object `{"an": "object"}` is not an array.
</span><span class="macro">assert_eq!</span>(v[<span class="string">"b"</span>].as_array(), <span class="prelude-val">None</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.as_array_mut" class="method"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#442-447">source</a><h4 class="code-header">pub fn <a href="#method.as_array_mut" class="fn">as_array_mut</a>(&amp;mut 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;&amp;mut <a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt;&gt;</h4></section></summary><div class="docblock"><p>If the <code>Value</code> is an Array, returns the associated mutable vector.
Returns None otherwise.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span><span class="kw-2">mut </span>v = <span class="macro">json!</span>({ <span class="string">"a"</span>: [<span class="string">"an"</span>, <span class="string">"array"</span>] });
v[<span class="string">"a"</span>].as_array_mut().unwrap().clear();
<span class="macro">assert_eq!</span>(v, <span class="macro">json!</span>({ <span class="string">"a"</span>: [] }));</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_string" class="method"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#464-466">source</a><h4 class="code-header">pub fn <a href="#method.is_string" class="fn">is_string</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>Value</code> is a String. Returns false otherwise.</p>
<p>For any Value on which <code>is_string</code> returns true, <code>as_str</code> is guaranteed
to return the string slice.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>v = <span class="macro">json!</span>({ <span class="string">"a"</span>: <span class="string">"some string"</span>, <span class="string">"b"</span>: <span class="bool-val">false </span>});
<span class="macro">assert!</span>(v[<span class="string">"a"</span>].is_string());
<span class="comment">// The boolean `false` is not a string.
</span><span class="macro">assert!</span>(!v[<span class="string">"b"</span>].is_string());</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.as_str" class="method"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#491-496">source</a><h4 class="code-header">pub fn <a href="#method.as_str" class="fn">as_str</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;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>&gt;</h4></section></summary><div class="docblock"><p>If the <code>Value</code> is a String, returns the associated str. Returns None
otherwise.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>v = <span class="macro">json!</span>({ <span class="string">"a"</span>: <span class="string">"some string"</span>, <span class="string">"b"</span>: <span class="bool-val">false </span>});
<span class="macro">assert_eq!</span>(v[<span class="string">"a"</span>].as_str(), <span class="prelude-val">Some</span>(<span class="string">"some string"</span>));
<span class="comment">// The boolean `false` is not a string.
</span><span class="macro">assert_eq!</span>(v[<span class="string">"b"</span>].as_str(), <span class="prelude-val">None</span>);
<span class="comment">// JSON values are printed in JSON representation, so strings are in quotes.
//
// The value is: "some string"
</span><span class="macro">println!</span>(<span class="string">"The value is: {}"</span>, v[<span class="string">"a"</span>]);
<span class="comment">// Rust strings are printed without quotes.
//
// The value is: some string
</span><span class="macro">println!</span>(<span class="string">"The value is: {}"</span>, v[<span class="string">"a"</span>].as_str().unwrap());</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_number" class="method"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#510-515">source</a><h4 class="code-header">pub fn <a href="#method.is_number" class="fn">is_number</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>Value</code> is a Number. Returns false otherwise.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>v = <span class="macro">json!</span>({ <span class="string">"a"</span>: <span class="number">1</span>, <span class="string">"b"</span>: <span class="string">"2" </span>});
<span class="macro">assert!</span>(v[<span class="string">"a"</span>].is_number());
<span class="comment">// The string `"2"` is a string, not a number.
</span><span class="macro">assert!</span>(!v[<span class="string">"b"</span>].is_number());</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.as_number" class="method"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#532-537">source</a><h4 class="code-header">pub fn <a href="#method.as_number" class="fn">as_number</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;&amp;<a class="struct" href="struct.Number.html" title="struct serde_json::value::Number">Number</a>&gt;</h4></section></summary><div class="docblock"><p>If the <code>Value</code> is a Number, returns the associated <a href="struct.Number.html" title="struct serde_json::value::Number"><code>Number</code></a>. Returns
None otherwise.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>v = <span class="macro">json!</span>({ <span class="string">"a"</span>: <span class="number">1</span>, <span class="string">"b"</span>: <span class="number">2.2</span>, <span class="string">"c"</span>: -<span class="number">3</span>, <span class="string">"d"</span>: <span class="string">"4" </span>});
<span class="macro">assert_eq!</span>(v[<span class="string">"a"</span>].as_number(), <span class="prelude-val">Some</span>(<span class="kw-2">&amp;</span>Number::from(<span class="number">1u64</span>)));
<span class="macro">assert_eq!</span>(v[<span class="string">"b"</span>].as_number(), <span class="prelude-val">Some</span>(<span class="kw-2">&amp;</span>Number::from_f64(<span class="number">2.2</span>).unwrap()));
<span class="macro">assert_eq!</span>(v[<span class="string">"c"</span>].as_number(), <span class="prelude-val">Some</span>(<span class="kw-2">&amp;</span>Number::from(-<span class="number">3i64</span>)));
<span class="comment">// The string `"4"` is not a number.
</span><span class="macro">assert_eq!</span>(v[<span class="string">"d"</span>].as_number(), <span class="prelude-val">None</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_i64" class="method"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#559-564">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>Value</code> is an integer between <code>i64::MIN</code> and
<code>i64::MAX</code>.</p>
<p>For any Value on which <code>is_i64</code> returns true, <code>as_i64</code> is guaranteed to
return the integer value.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>big = i64::max_value() <span class="kw">as </span>u64 + <span class="number">10</span>;
<span class="kw">let </span>v = <span class="macro">json!</span>({ <span class="string">"a"</span>: <span class="number">64</span>, <span class="string">"b"</span>: big, <span class="string">"c"</span>: <span class="number">256.0 </span>});
<span class="macro">assert!</span>(v[<span class="string">"a"</span>].is_i64());
<span class="comment">// Greater than i64::MAX.
</span><span class="macro">assert!</span>(!v[<span class="string">"b"</span>].is_i64());
<span class="comment">// Numbers with a decimal point are not considered integers.
</span><span class="macro">assert!</span>(!v[<span class="string">"c"</span>].is_i64());</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_u64" class="method"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#584-589">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>Value</code> is an integer between zero and <code>u64::MAX</code>.</p>
<p>For any Value on which <code>is_u64</code> returns true, <code>as_u64</code> is guaranteed to
return the integer value.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>v = <span class="macro">json!</span>({ <span class="string">"a"</span>: <span class="number">64</span>, <span class="string">"b"</span>: -<span class="number">64</span>, <span class="string">"c"</span>: <span class="number">256.0 </span>});
<span class="macro">assert!</span>(v[<span class="string">"a"</span>].is_u64());
<span class="comment">// Negative integer.
</span><span class="macro">assert!</span>(!v[<span class="string">"b"</span>].is_u64());
<span class="comment">// Numbers with a decimal point are not considered integers.
</span><span class="macro">assert!</span>(!v[<span class="string">"c"</span>].is_u64());</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_f64" class="method"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#610-615">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>Value</code> is a number that can be represented by f64.</p>
<p>For any Value 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 class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>v = <span class="macro">json!</span>({ <span class="string">"a"</span>: <span class="number">256.0</span>, <span class="string">"b"</span>: <span class="number">64</span>, <span class="string">"c"</span>: -<span class="number">64 </span>});
<span class="macro">assert!</span>(v[<span class="string">"a"</span>].is_f64());
<span class="comment">// Integers.
</span><span class="macro">assert!</span>(!v[<span class="string">"b"</span>].is_f64());
<span class="macro">assert!</span>(!v[<span class="string">"c"</span>].is_f64());</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.as_i64" class="method"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#630-635">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>Value</code> is an integer, represent it as i64 if possible. Returns
None otherwise.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>big = i64::max_value() <span class="kw">as </span>u64 + <span class="number">10</span>;
<span class="kw">let </span>v = <span class="macro">json!</span>({ <span class="string">"a"</span>: <span class="number">64</span>, <span class="string">"b"</span>: big, <span class="string">"c"</span>: <span class="number">256.0 </span>});
<span class="macro">assert_eq!</span>(v[<span class="string">"a"</span>].as_i64(), <span class="prelude-val">Some</span>(<span class="number">64</span>));
<span class="macro">assert_eq!</span>(v[<span class="string">"b"</span>].as_i64(), <span class="prelude-val">None</span>);
<span class="macro">assert_eq!</span>(v[<span class="string">"c"</span>].as_i64(), <span class="prelude-val">None</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.as_u64" class="method"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#649-654">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>Value</code> is an integer, represent it as u64 if possible. Returns
None otherwise.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>v = <span class="macro">json!</span>({ <span class="string">"a"</span>: <span class="number">64</span>, <span class="string">"b"</span>: -<span class="number">64</span>, <span class="string">"c"</span>: <span class="number">256.0 </span>});
<span class="macro">assert_eq!</span>(v[<span class="string">"a"</span>].as_u64(), <span class="prelude-val">Some</span>(<span class="number">64</span>));
<span class="macro">assert_eq!</span>(v[<span class="string">"b"</span>].as_u64(), <span class="prelude-val">None</span>);
<span class="macro">assert_eq!</span>(v[<span class="string">"c"</span>].as_u64(), <span class="prelude-val">None</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.as_f64" class="method"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#668-673">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>If the <code>Value</code> is a number, represent it as f64 if possible. Returns
None otherwise.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>v = <span class="macro">json!</span>({ <span class="string">"a"</span>: <span class="number">256.0</span>, <span class="string">"b"</span>: <span class="number">64</span>, <span class="string">"c"</span>: -<span class="number">64 </span>});
<span class="macro">assert_eq!</span>(v[<span class="string">"a"</span>].as_f64(), <span class="prelude-val">Some</span>(<span class="number">256.0</span>));
<span class="macro">assert_eq!</span>(v[<span class="string">"b"</span>].as_f64(), <span class="prelude-val">Some</span>(<span class="number">64.0</span>));
<span class="macro">assert_eq!</span>(v[<span class="string">"c"</span>].as_f64(), <span class="prelude-val">Some</span>(-<span class="number">64.0</span>));</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_boolean" class="method"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#690-692">source</a><h4 class="code-header">pub fn <a href="#method.is_boolean" class="fn">is_boolean</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>Value</code> is a Boolean. Returns false otherwise.</p>
<p>For any Value on which <code>is_boolean</code> returns true, <code>as_bool</code> is
guaranteed to return the boolean value.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>v = <span class="macro">json!</span>({ <span class="string">"a"</span>: <span class="bool-val">false</span>, <span class="string">"b"</span>: <span class="string">"false" </span>});
<span class="macro">assert!</span>(v[<span class="string">"a"</span>].is_boolean());
<span class="comment">// The string `"false"` is a string, not a boolean.
</span><span class="macro">assert!</span>(!v[<span class="string">"b"</span>].is_boolean());</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.as_bool" class="method"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#707-712">source</a><h4 class="code-header">pub fn <a href="#method.as_bool" class="fn">as_bool</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.bool.html">bool</a>&gt;</h4></section></summary><div class="docblock"><p>If the <code>Value</code> is a Boolean, returns the associated bool. Returns None
otherwise.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>v = <span class="macro">json!</span>({ <span class="string">"a"</span>: <span class="bool-val">false</span>, <span class="string">"b"</span>: <span class="string">"false" </span>});
<span class="macro">assert_eq!</span>(v[<span class="string">"a"</span>].as_bool(), <span class="prelude-val">Some</span>(<span class="bool-val">false</span>));
<span class="comment">// The string `"false"` is a string, not a boolean.
</span><span class="macro">assert_eq!</span>(v[<span class="string">"b"</span>].as_bool(), <span class="prelude-val">None</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_null" class="method"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#729-731">source</a><h4 class="code-header">pub fn <a href="#method.is_null" class="fn">is_null</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>Value</code> is a Null. Returns false otherwise.</p>
<p>For any Value on which <code>is_null</code> returns true, <code>as_null</code> is guaranteed
to return <code>Some(())</code>.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>v = <span class="macro">json!</span>({ <span class="string">"a"</span>: null, <span class="string">"b"</span>: <span class="bool-val">false </span>});
<span class="macro">assert!</span>(v[<span class="string">"a"</span>].is_null());
<span class="comment">// The boolean `false` is not null.
</span><span class="macro">assert!</span>(!v[<span class="string">"b"</span>].is_null());</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.as_null" class="method"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#745-750">source</a><h4 class="code-header">pub fn <a href="#method.as_null" class="fn">as_null</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.unit.html">()</a>&gt;</h4></section></summary><div class="docblock"><p>If the <code>Value</code> is a Null, returns (). Returns None otherwise.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>v = <span class="macro">json!</span>({ <span class="string">"a"</span>: null, <span class="string">"b"</span>: <span class="bool-val">false </span>});
<span class="macro">assert_eq!</span>(v[<span class="string">"a"</span>].as_null(), <span class="prelude-val">Some</span>(()));
<span class="comment">// The boolean `false` is not null.
</span><span class="macro">assert_eq!</span>(v[<span class="string">"b"</span>].as_null(), <span class="prelude-val">None</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pointer" class="method"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#778-794">source</a><h4 class="code-header">pub fn <a href="#method.pointer" class="fn">pointer</a>(&amp;self, pointer: &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/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt;</h4></section></summary><div class="docblock"><p>Looks up a value by a JSON Pointer.</p>
<p>JSON Pointer defines a string syntax for identifying a specific value
within a JavaScript Object Notation (JSON) document.</p>
<p>A Pointer is a Unicode string with the reference tokens separated by <code>/</code>.
Inside tokens <code>/</code> is replaced by <code>~1</code> and <code>~</code> is replaced by <code>~0</code>. The
addressed value is returned and if there is no such value <code>None</code> is
returned.</p>
<p>For more information read <a href="https://tools.ietf.org/html/rfc6901">RFC6901</a>.</p>
<h5 id="examples"><a href="#examples">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>data = <span class="macro">json!</span>({
<span class="string">"x"</span>: {
<span class="string">"y"</span>: [<span class="string">"z"</span>, <span class="string">"zz"</span>]
}
});
<span class="macro">assert_eq!</span>(data.pointer(<span class="string">"/x/y/1"</span>).unwrap(), <span class="kw-2">&amp;</span><span class="macro">json!</span>(<span class="string">"zz"</span>));
<span class="macro">assert_eq!</span>(data.pointer(<span class="string">"/a/b/c"</span>), <span class="prelude-val">None</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pointer_mut" class="method"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#833-849">source</a><h4 class="code-header">pub fn <a href="#method.pointer_mut" class="fn">pointer_mut</a>(&amp;mut self, pointer: &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/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;mut <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt;</h4></section></summary><div class="docblock"><p>Looks up a value by a JSON Pointer and returns a mutable reference to
that value.</p>
<p>JSON Pointer defines a string syntax for identifying a specific value
within a JavaScript Object Notation (JSON) document.</p>
<p>A Pointer is a Unicode string with the reference tokens separated by <code>/</code>.
Inside tokens <code>/</code> is replaced by <code>~1</code> and <code>~</code> is replaced by <code>~0</code>. The
addressed value is returned and if there is no such value <code>None</code> is
returned.</p>
<p>For more information read <a href="https://tools.ietf.org/html/rfc6901">RFC6901</a>.</p>
<h5 id="example-of-use"><a href="#example-of-use">Example of Use</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>serde_json::Value;
<span class="kw">fn </span>main() {
<span class="kw">let </span>s = <span class="string">r#"{"x": 1.0, "y": 2.0}"#</span>;
<span class="kw">let </span><span class="kw-2">mut </span>value: Value = serde_json::from_str(s).unwrap();
<span class="comment">// Check value using read-only pointer
</span><span class="macro">assert_eq!</span>(value.pointer(<span class="string">"/x"</span>), <span class="prelude-val">Some</span>(<span class="kw-2">&amp;</span><span class="number">1.0</span>.into()));
<span class="comment">// Change value with direct assignment
</span><span class="kw-2">*</span>value.pointer_mut(<span class="string">"/x"</span>).unwrap() = <span class="number">1.5</span>.into();
<span class="comment">// Check that new value was written
</span><span class="macro">assert_eq!</span>(value.pointer(<span class="string">"/x"</span>), <span class="prelude-val">Some</span>(<span class="kw-2">&amp;</span><span class="number">1.5</span>.into()));
<span class="comment">// Or change the value only if it exists
</span>value.pointer_mut(<span class="string">"/x"</span>).map(|v| <span class="kw-2">*</span>v = <span class="number">1.5</span>.into());
<span class="comment">// "Steal" ownership of a value. Can replace with any valid Value.
</span><span class="kw">let </span>old_x = value.pointer_mut(<span class="string">"/x"</span>).map(Value::take).unwrap();
<span class="macro">assert_eq!</span>(old_x, <span class="number">1.5</span>);
<span class="macro">assert_eq!</span>(value.pointer(<span class="string">"/x"</span>).unwrap(), <span class="kw-2">&amp;</span>Value::Null);
}</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.take" class="method"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#860-862">source</a><h4 class="code-header">pub fn <a href="#method.take" class="fn">take</a>(&amp;mut self) -&gt; <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h4></section></summary><div class="docblock"><p>Takes the value out of the <code>Value</code>, leaving a <code>Null</code> in its place.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span><span class="kw-2">mut </span>v = <span class="macro">json!</span>({ <span class="string">"x"</span>: <span class="string">"y" </span>});
<span class="macro">assert_eq!</span>(v[<span class="string">"x"</span>].take(), <span class="macro">json!</span>(<span class="string">"y"</span>));
<span class="macro">assert_eq!</span>(v, <span class="macro">json!</span>({ <span class="string">"x"</span>: null }));</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-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#114">source</a><a href="#impl-Clone-for-Value" 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="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.clone" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#114">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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</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-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#177-194">source</a><a href="#impl-Debug-for-Value" 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="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.fmt-1" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#178-193">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.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-Default-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#894-898">source</a><a href="#impl-Default-for-Value" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="docblock"><p>The default value is <code>Value::Null</code>.</p>
<p>This is useful for handling omitted <code>Value</code> fields when deserializing.</p>
<h4 id="examples-2"><a href="#examples-2">Examples</a></h4>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>serde_json::Value;
<span class="attr">#[derive(Deserialize)]
</span><span class="kw">struct </span>Settings {
level: i32,
<span class="attr">#[serde(default)]
</span>extras: Value,
}
<span class="kw">let </span>data = <span class="string">r#" { "level": 42 } "#</span>;
<span class="kw">let </span>s: Settings = serde_json::from_str(data)<span class="question-mark">?</span>;
<span class="macro">assert_eq!</span>(s.level, <span class="number">42</span>);
<span class="macro">assert_eq!</span>(s.extras, Value::Null);</code></pre></div>
</div><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.default" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#895-897">source</a><a href="#method.default" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/default/trait.Default.html#tymethod.default" class="fn">default</a>() -&gt; <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h4></section></summary><div class='docblock'>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.76.0/core/default/trait.Default.html#tymethod.default">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C'de%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/de.rs.html#22-137">source</a><a href="#impl-Deserialize%3C'de%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;'de&gt; <a class="trait" href="../../serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&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.deserialize" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/de.rs.html#24-136">source</a><a href="#method.deserialize" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>, D::<a class="associatedtype" href="../../serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt;<div class="where">where
D: <a class="trait" href="../../serde/de/trait.Deserializer.html" title="trait serde::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/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-%26Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/de.rs.html#711-952">source</a><a href="#impl-Deserializer%3C'de%3E-for-%26Value" class="anchor">§</a><h3 class="code-header">impl&lt;'de&gt; <a class="trait" href="../../serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt; for &amp;'de <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</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/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/value/de.rs.html#714-726">source</a><a href="#method.deserialize_any-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/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/value/de.rs.html#728">source</a><a href="#method.deserialize_i8-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#729">source</a><a href="#method.deserialize_i16-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#730">source</a><a href="#method.deserialize_i32-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#731">source</a><a href="#method.deserialize_i64-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#732">source</a><a href="#method.deserialize_i128-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/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/value/de.rs.html#733">source</a><a href="#method.deserialize_u8-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#734">source</a><a href="#method.deserialize_u16-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#735">source</a><a href="#method.deserialize_u32-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#736">source</a><a href="#method.deserialize_u64-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#737">source</a><a href="#method.deserialize_u128-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/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/value/de.rs.html#738">source</a><a href="#method.deserialize_f32-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#739">source</a><a href="#method.deserialize_f64-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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_option-1" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/de.rs.html#741-749">source</a><a href="#method.deserialize_option-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/de/trait.Deserializer.html#tymethod.deserialize_option">Read more</a></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/value/de.rs.html#751-791">source</a><a href="#method.deserialize_enum-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_enum" class="fn">deserialize_enum</a>&lt;V&gt;(
self,
_name: &amp;<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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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_newtype_struct-1" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/de.rs.html#794-813">source</a><a href="#method.deserialize_newtype_struct-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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_bool-1" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/de.rs.html#815-823">source</a><a href="#method.deserialize_bool-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#825-830">source</a><a href="#method.deserialize_char-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#832-840">source</a><a href="#method.deserialize_str-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/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/value/de.rs.html#842-847">source</a><a href="#method.deserialize_string-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/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/value/de.rs.html#849-858">source</a><a href="#method.deserialize_bytes-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/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/value/de.rs.html#860-865">source</a><a href="#method.deserialize_byte_buf-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/de/trait.Deserializer.html#tymethod.deserialize_byte_buf">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/value/de.rs.html#867-875">source</a><a href="#method.deserialize_unit-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#877-882">source</a><a href="#method.deserialize_unit_struct-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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_seq-1" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/de.rs.html#884-892">source</a><a href="#method.deserialize_seq-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#894-899">source</a><a href="#method.deserialize_tuple-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#901-911">source</a><a href="#method.deserialize_tuple_struct-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#913-921">source</a><a href="#method.deserialize_map-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#923-937">source</a><a href="#method.deserialize_struct-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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_identifier-1" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/de.rs.html#939-944">source</a><a href="#method.deserialize_identifier-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#946-951">source</a><a href="#method.deserialize_ignored_any-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/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/de/mod.rs.html#1216">source</a><a href="#method.is_human_readable-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/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-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/de.rs.html#208-456">source</a><a href="#impl-Deserializer%3C'de%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;'de&gt; <a class="trait" href="../../serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&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" 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/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/value/de.rs.html#212-225">source</a><a href="#method.deserialize_any" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/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/value/de.rs.html#227">source</a><a href="#method.deserialize_i8" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#228">source</a><a href="#method.deserialize_i16" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#229">source</a><a href="#method.deserialize_i32" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#230">source</a><a href="#method.deserialize_i64" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#231">source</a><a href="#method.deserialize_i128" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/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/value/de.rs.html#232">source</a><a href="#method.deserialize_u8" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#233">source</a><a href="#method.deserialize_u16" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#234">source</a><a href="#method.deserialize_u32" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#235">source</a><a href="#method.deserialize_u64" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#236">source</a><a href="#method.deserialize_u128" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/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/value/de.rs.html#237">source</a><a href="#method.deserialize_f32" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#238">source</a><a href="#method.deserialize_f64" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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_option" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/de.rs.html#241-249">source</a><a href="#method.deserialize_option" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/de/trait.Deserializer.html#tymethod.deserialize_option">Read more</a></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/value/de.rs.html#252-292">source</a><a href="#method.deserialize_enum" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_enum" class="fn">deserialize_enum</a>&lt;V&gt;(
self,
_name: &amp;<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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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_newtype_struct" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/de.rs.html#295-314">source</a><a href="#method.deserialize_newtype_struct" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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_bool" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/de.rs.html#316-324">source</a><a href="#method.deserialize_bool" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#326-331">source</a><a href="#method.deserialize_char" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#333-338">source</a><a href="#method.deserialize_str" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/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/value/de.rs.html#340-349">source</a><a href="#method.deserialize_string" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/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/value/de.rs.html#351-356">source</a><a href="#method.deserialize_bytes" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/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/value/de.rs.html#358-368">source</a><a href="#method.deserialize_byte_buf" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/de/trait.Deserializer.html#tymethod.deserialize_byte_buf">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/value/de.rs.html#370-378">source</a><a href="#method.deserialize_unit" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#380-385">source</a><a href="#method.deserialize_unit_struct" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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_seq" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/de.rs.html#387-395">source</a><a href="#method.deserialize_seq" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#397-402">source</a><a href="#method.deserialize_tuple" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#404-414">source</a><a href="#method.deserialize_tuple_struct" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#416-424">source</a><a href="#method.deserialize_map" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#426-440">source</a><a href="#method.deserialize_struct" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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_identifier" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/de.rs.html#442-447">source</a><a href="#method.deserialize_identifier" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/value/de.rs.html#449-455">source</a><a href="#method.deserialize_ignored_any" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/de/trait.Visitor.html#associatedtype.Value" title="type serde::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/de/trait.Visitor.html" title="trait serde::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/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/de/mod.rs.html#1216">source</a><a href="#method.is_human_readable" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/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-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#196-256">source</a><a href="#impl-Display-for-Value" 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="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.fmt" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#221-255">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.Display.html#tymethod.fmt" class="fn">fmt</a>(&amp;self, f: &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"><p>Display a JSON value as a string.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>json = <span class="macro">json!</span>({ <span class="string">"city"</span>: <span class="string">"London"</span>, <span class="string">"street"</span>: <span class="string">"10 Downing Street" </span>});
<span class="comment">// Compact format:
//
// {"city":"London","street":"10 Downing Street"}
</span><span class="kw">let </span>compact = <span class="macro">format!</span>(<span class="string">"{}"</span>, json);
<span class="macro">assert_eq!</span>(compact,
<span class="string">"{\"city\":\"London\",\"street\":\"10 Downing Street\"}"</span>);
<span class="comment">// Pretty format:
//
// {
// "city": "London",
// "street": "10 Downing Street"
// }
</span><span class="kw">let </span>pretty = <span class="macro">format!</span>(<span class="string">"{:#}"</span>, json);
<span class="macro">assert_eq!</span>(pretty,
<span class="string">"{\n \"city\": \"London\",\n \"street\": \"10 Downing Street\"\n}"</span>);</code></pre></div>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C%26%5BT%5D%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#184-198">source</a><a href="#impl-From%3C%26%5BT%5D%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 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> + <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;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt;&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;&amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.slice.html">[T]</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-16" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#195-197">source</a><a href="#method.from-16" 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: &amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.slice.html">[T]</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Convert a slice to <code>Value</code></p>
<h5 id="examples-13"><a href="#examples-13">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>serde_json::Value;
<span class="kw">let </span>v: <span class="kw-2">&amp;</span>[<span class="kw-2">&amp;</span>str] = <span class="kw-2">&amp;</span>[<span class="string">"lorem"</span>, <span class="string">"ipsum"</span>, <span class="string">"dolor"</span>];
<span class="kw">let </span>x: Value = v.into();</code></pre></div>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C%26str%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#94-108">source</a><a href="#impl-From%3C%26str%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&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;&amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</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-12" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#105-107">source</a><a href="#method.from-12" 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: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Convert string slice to <code>Value</code></p>
<h5 id="examples-9"><a href="#examples-9">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>serde_json::Value;
<span class="kw">let </span>s: <span class="kw-2">&amp;</span>str = <span class="string">"lorem"</span>;
<span class="kw">let </span>x: Value = s.into();</code></pre></div>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C()%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#250-264">source</a><a href="#impl-From%3C()%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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</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-10" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#261-263">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>((): <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Convert <code>()</code> to <code>Value</code></p>
<h5 id="examples-8"><a href="#examples-8">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>serde_json::Value;
<span class="kw">let </span>u = ();
<span class="kw">let </span>x: Value = u.into();</code></pre></div>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CCow%3C'a,+str%3E%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#110-133">source</a><a href="#impl-From%3CCow%3C'a,+str%3E%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&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;<a class="enum" href="https://doc.rust-lang.org/1.76.0/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'a, <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>&gt;&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-4" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#130-132">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>(f: <a class="enum" href="https://doc.rust-lang.org/1.76.0/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'a, <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>&gt;) -&gt; Self</h4></section></summary><div class="docblock"><p>Convert copy-on-write string to <code>Value</code></p>
<h5 id="examples-6"><a href="#examples-6">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>serde_json::Value;
<span class="kw">use </span>std::borrow::Cow;
<span class="kw">let </span>s: Cow&lt;str&gt; = Cow::Borrowed(<span class="string">"lorem"</span>);
<span class="kw">let </span>x: Value = s.into();</code></pre></div>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>serde_json::Value;
<span class="kw">use </span>std::borrow::Cow;
<span class="kw">let </span>s: Cow&lt;str&gt; = Cow::Owned(<span class="string">"lorem"</span>.to_string());
<span class="kw">let </span>x: Value = s.into();</code></pre></div>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CMap%3CString,+Value%3E%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#151-166">source</a><a href="#impl-From%3CMap%3CString,+Value%3E%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="../struct.Map.html" title="struct serde_json::Map">Map</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt;&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-15" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#163-165">source</a><a href="#method.from-15" 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="../struct.Map.html" title="struct serde_json::Map">Map</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt;) -&gt; Self</h4></section></summary><div class="docblock"><p>Convert map (with string keys) to <code>Value</code></p>
<h5 id="examples-11"><a href="#examples-11">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>serde_json::{Map, Value};
<span class="kw">let </span><span class="kw-2">mut </span>m = Map::new();
m.insert(<span class="string">"Lorem"</span>.to_string(), <span class="string">"ipsum"</span>.into());
<span class="kw">let </span>x: Value = m.into();</code></pre></div>
</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#135-149">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="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-14" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#146-148">source</a><a href="#method.from-14" 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="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</code></p>
<h5 id="examples-10"><a href="#examples-10">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%3COption%3CT%3E%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#266-276">source</a><a href="#impl-From%3COption%3CT%3E%3E-for-Value" 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;<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;T&gt;&gt; for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a><div class="where">where
T: <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;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt;,</div></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/value/from.rs.html#270-275">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>(opt: <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;T&gt;) -&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%3CString%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#78-92">source</a><a href="#impl-From%3CString%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="https://doc.rust-lang.org/1.76.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</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" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#89-91">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>(f: <a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Convert <code>String</code> to <code>Value</code></p>
<h5 id="examples-1"><a href="#examples-1">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>serde_json::Value;
<span class="kw">let </span>s: String = <span class="string">"lorem"</span>.to_string();
<span class="kw">let </span>x: Value = s.into();</code></pre></div>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CVec%3CT%3E%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#168-182">source</a><a href="#impl-From%3CVec%3CT%3E%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;T: <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;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt;&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;<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;T&gt;&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-20" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#179-181">source</a><a href="#method.from-20" 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="https://doc.rust-lang.org/1.76.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;T&gt;) -&gt; Self</h4></section></summary><div class="docblock"><p>Convert a <code>Vec</code> to <code>Value</code></p>
<h5 id="examples-16"><a href="#examples-16">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>serde_json::Value;
<span class="kw">let </span>v = <span class="macro">vec!</span>[<span class="string">"lorem"</span>, <span class="string">"ipsum"</span>, <span class="string">"dolor"</span>];
<span class="kw">let </span>x: Value = v.into();</code></pre></div>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Cbool%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#62-76">source</a><a href="#impl-From%3Cbool%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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</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-2" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#73-75">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>(f: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Convert boolean to <code>Value</code></p>
<h5 id="examples-3"><a href="#examples-3">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>serde_json::Value;
<span class="kw">let </span>b = <span class="bool-val">false</span>;
<span class="kw">let </span>x: Value = b.into();</code></pre></div>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Cf32%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#30-44">source</a><a href="#impl-From%3Cf32%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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.f32.html">f32</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-19" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#41-43">source</a><a href="#method.from-19" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.f32.html">f32</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Convert 32-bit floating point number to <code>Value</code></p>
<h5 id="examples-15"><a href="#examples-15">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>serde_json::Value;
<span class="kw">let </span>f: f32 = <span class="number">13.37</span>;
<span class="kw">let </span>x: Value = f.into();</code></pre></div>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Cf64%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#46-60">source</a><a href="#impl-From%3Cf64%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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.f64.html">f64</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-18" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#57-59">source</a><a href="#method.from-18" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.f64.html">f64</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Convert 64-bit floating point number to <code>Value</code></p>
<h5 id="examples-14"><a href="#examples-14">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>serde_json::Value;
<span class="kw">let </span>f: f64 = <span class="number">13.37</span>;
<span class="kw">let </span>x: Value = f.into();</code></pre></div>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Ci16%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#20-23">source</a><a href="#impl-From%3Ci16%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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i16.html">i16</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-3" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#20-23">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>(n: <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-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#20-23">source</a><a href="#impl-From%3Ci32%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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i32.html">i32</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-6" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#20-23">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>(n: <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-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#20-23">source</a><a href="#impl-From%3Ci64%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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i64.html">i64</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-21" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#20-23">source</a><a href="#method.from-21" 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>(n: <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-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#20-23">source</a><a href="#impl-From%3Ci8%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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i8.html">i8</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-13" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#20-23">source</a><a href="#method.from-13" 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>(n: <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-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#20-23">source</a><a href="#impl-From%3Cisize%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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.isize.html">isize</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-11" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#20-23">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>(n: <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-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#20-23">source</a><a href="#impl-From%3Cu16%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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u16.html">u16</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-5" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#20-23">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>(n: <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-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#20-23">source</a><a href="#impl-From%3Cu32%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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u32.html">u32</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-7" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#20-23">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>(n: <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-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#20-23">source</a><a href="#impl-From%3Cu64%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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</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-9" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#20-23">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>(n: <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-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#20-23">source</a><a href="#impl-From%3Cu8%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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</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-17" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#20-23">source</a><a href="#method.from-17" 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>(n: <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-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#20-23">source</a><a href="#impl-From%3Cusize%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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</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#20-23">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>(n: <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-FromIterator%3C(K,+V)%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#230-248">source</a><a href="#impl-FromIterator%3C(K,+V)%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;K: <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;<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;, V: <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;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt;&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/collect/trait.FromIterator.html" title="trait core::iter::traits::collect::FromIterator">FromIterator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.tuple.html">(K, V)</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_iter" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#241-247">source</a><a href="#method.from_iter" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/iter/traits/collect/trait.FromIterator.html#tymethod.from_iter" class="fn">from_iter</a>&lt;I: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item = <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.tuple.html">(K, V)</a>&gt;&gt;(iter: I) -&gt; Self</h4></section></summary><div class="docblock"><p>Convert an iteratable type to a <code>Value</code></p>
<h5 id="examples-4"><a href="#examples-4">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>serde_json::Value;
<span class="kw">let </span>v: Vec&lt;<span class="kw">_</span>&gt; = <span class="macro">vec!</span>[(<span class="string">"lorem"</span>, <span class="number">40</span>), (<span class="string">"ipsum"</span>, <span class="number">2</span>)];
<span class="kw">let </span>x: Value = v.into_iter().collect();</code></pre></div>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-FromIterator%3CT%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#200-228">source</a><a href="#impl-FromIterator%3CT%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;T: <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;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt;&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/collect/trait.FromIterator.html" title="trait core::iter::traits::collect::FromIterator">FromIterator</a>&lt;T&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_iter-1" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/from.rs.html#225-227">source</a><a href="#method.from_iter-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/iter/traits/collect/trait.FromIterator.html#tymethod.from_iter" class="fn">from_iter</a>&lt;I: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item = T&gt;&gt;(iter: I) -&gt; Self</h4></section></summary><div class="docblock"><p>Convert an iteratable type to a <code>Value</code></p>
<h5 id="examples-12"><a href="#examples-12">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>serde_json::Value;
<span class="kw">let </span>v = std::iter::repeat(<span class="number">42</span>).take(<span class="number">5</span>);
<span class="kw">let </span>x: Value = v.collect();</code></pre></div>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>serde_json::Value;
<span class="kw">let </span>v: Vec&lt;<span class="kw">_</span>&gt; = <span class="macro">vec!</span>[<span class="string">"lorem"</span>, <span class="string">"ipsum"</span>, <span class="string">"dolor"</span>];
<span class="kw">let </span>x: Value = v.into_iter().collect();</code></pre></div>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>std::iter::FromIterator;
<span class="kw">use </span>serde_json::Value;
<span class="kw">let </span>x: Value = Value::from_iter(<span class="macro">vec!</span>[<span class="string">"lorem"</span>, <span class="string">"ipsum"</span>, <span class="string">"dolor"</span>]);</code></pre></div>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-FromStr-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/de.rs.html#139-144">source</a><a href="#impl-FromStr-for-Value" 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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</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/value/de.rs.html#141-143">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;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</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-Index%3CI%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/index.rs.html#178-216">source</a><a href="#impl-Index%3CI%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;I&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/index/trait.Index.html" title="trait core::ops::index::Index">Index</a>&lt;I&gt; for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a><div class="where">where
I: <a class="trait" href="trait.Index.html" title="trait serde_json::value::Index">Index</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.index" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/index.rs.html#212-215">source</a><a href="#method.index" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/ops/index/trait.Index.html#tymethod.index" class="fn">index</a>(&amp;self, index: I) -&gt; &amp;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h4></section></summary><div class="docblock"><p>Index into a <code>serde_json::Value</code> using the syntax <code>value[0]</code> or
<code>value[&quot;k&quot;]</code>.</p>
<p>Returns <code>Value::Null</code> if the type of <code>self</code> does not match the type of
the index, for example if the index is a string and <code>self</code> is an array
or a number. Also returns <code>Value::Null</code> if the given key does not exist
in the map or the given index is not within the bounds of the array.</p>
<p>For retrieving deeply nested values, you should have a look at the
<code>Value::pointer</code> method.</p>
<h5 id="examples-7"><a href="#examples-7">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>data = <span class="macro">json!</span>({
<span class="string">"x"</span>: {
<span class="string">"y"</span>: [<span class="string">"z"</span>, <span class="string">"zz"</span>]
}
});
<span class="macro">assert_eq!</span>(data[<span class="string">"x"</span>][<span class="string">"y"</span>], <span class="macro">json!</span>([<span class="string">"z"</span>, <span class="string">"zz"</span>]));
<span class="macro">assert_eq!</span>(data[<span class="string">"x"</span>][<span class="string">"y"</span>][<span class="number">0</span>], <span class="macro">json!</span>(<span class="string">"z"</span>));
<span class="macro">assert_eq!</span>(data[<span class="string">"a"</span>], <span class="macro">json!</span>(null)); <span class="comment">// returns null for undefined values
</span><span class="macro">assert_eq!</span>(data[<span class="string">"a"</span>][<span class="string">"b"</span>], <span class="macro">json!</span>(null)); <span class="comment">// does not panic</span></code></pre></div>
</div></details><details class="toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl"><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.76.0/core/ops/index/trait.Index.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h4></section></summary><div class='docblock'>The returned type after indexing.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-IndexMut%3CI%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/index.rs.html#218-258">source</a><a href="#impl-IndexMut%3CI%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;I&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/index/trait.IndexMut.html" title="trait core::ops::index::IndexMut">IndexMut</a>&lt;I&gt; for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a><div class="where">where
I: <a class="trait" href="trait.Index.html" title="trait serde_json::value::Index">Index</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.index_mut" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/index.rs.html#255-257">source</a><a href="#method.index_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/ops/index/trait.IndexMut.html#tymethod.index_mut" class="fn">index_mut</a>(&amp;mut self, index: I) -&gt; &amp;mut <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h4></section></summary><div class="docblock"><p>Write into a <code>serde_json::Value</code> using the syntax <code>value[0] = ...</code> or
<code>value[&quot;k&quot;] = ...</code>.</p>
<p>If the index is a number, the value must be an array of length bigger
than the index. Indexing into a value that is not an array or an array
that is too small will panic.</p>
<p>If the index is a string, the value must be an object or null which is
treated like an empty object. If the key is not already present in the
object, it will be inserted with a value of null. Indexing into a value
that is neither an object nor null will panic.</p>
<h5 id="examples-5"><a href="#examples-5">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span><span class="kw-2">mut </span>data = <span class="macro">json!</span>({ <span class="string">"x"</span>: <span class="number">0 </span>});
<span class="comment">// replace an existing key
</span>data[<span class="string">"x"</span>] = <span class="macro">json!</span>(<span class="number">1</span>);
<span class="comment">// insert a new key
</span>data[<span class="string">"y"</span>] = <span class="macro">json!</span>([<span class="bool-val">false</span>, <span class="bool-val">false</span>, <span class="bool-val">false</span>]);
<span class="comment">// replace an array value
</span>data[<span class="string">"y"</span>][<span class="number">0</span>] = <span class="macro">json!</span>(<span class="bool-val">true</span>);
<span class="comment">// inserted a deeply nested key
</span>data[<span class="string">"a"</span>][<span class="string">"b"</span>][<span class="string">"c"</span>][<span class="string">"d"</span>] = <span class="macro">json!</span>(<span class="bool-val">true</span>);
<span class="macro">println!</span>(<span class="string">"{}"</span>, data);</code></pre></div>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-IntoDeserializer%3C'de,+Error%3E-for-%26Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/de.rs.html#485-491">source</a><a href="#impl-IntoDeserializer%3C'de,+Error%3E-for-%26Value" class="anchor">§</a><h3 class="code-header">impl&lt;'de&gt; <a class="trait" href="../../serde/de/trait.IntoDeserializer.html" title="trait serde::de::IntoDeserializer">IntoDeserializer</a>&lt;'de, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>&gt; for &amp;'de <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Deserializer" class="associatedtype trait-impl"><a href="#associatedtype.Deserializer" class="anchor">§</a><h4 class="code-header">type <a href="../../serde/de/trait.IntoDeserializer.html#associatedtype.Deserializer" class="associatedtype">Deserializer</a> = &amp;'de <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h4></section></summary><div class='docblock'>The type of the deserializer being converted into.</div></details><details class="toggle method-toggle" open><summary><section id="method.into_deserializer" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/de.rs.html#488-490">source</a><a href="#method.into_deserializer" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/de/trait.IntoDeserializer.html#tymethod.into_deserializer" class="fn">into_deserializer</a>(self) -&gt; Self::<a class="associatedtype" href="../../serde/de/trait.IntoDeserializer.html#associatedtype.Deserializer" title="type serde::de::IntoDeserializer::Deserializer">Deserializer</a></h4></section></summary><div class='docblock'>Convert this value into a deserializer.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-IntoDeserializer%3C'de,+Error%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/de.rs.html#477-483">source</a><a href="#impl-IntoDeserializer%3C'de,+Error%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;'de&gt; <a class="trait" href="../../serde/de/trait.IntoDeserializer.html" title="trait serde::de::IntoDeserializer">IntoDeserializer</a>&lt;'de, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</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" open><summary><section id="associatedtype.Deserializer-1" class="associatedtype trait-impl"><a href="#associatedtype.Deserializer-1" class="anchor">§</a><h4 class="code-header">type <a href="../../serde/de/trait.IntoDeserializer.html#associatedtype.Deserializer" class="associatedtype">Deserializer</a> = <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h4></section></summary><div class='docblock'>The type of the deserializer being converted into.</div></details><details class="toggle method-toggle" open><summary><section id="method.into_deserializer-1" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/de.rs.html#480-482">source</a><a href="#method.into_deserializer-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/de/trait.IntoDeserializer.html#tymethod.into_deserializer" class="fn">into_deserializer</a>(self) -&gt; Self::<a class="associatedtype" href="../../serde/de/trait.IntoDeserializer.html#associatedtype.Deserializer" title="type serde::de::IntoDeserializer::Deserializer">Deserializer</a></h4></section></summary><div class='docblock'>Convert this value into a deserializer.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3C%26str%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#37-41">source</a><a href="#impl-PartialEq%3C%26str%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;&amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</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.eq-49" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#38-40">source</a><a href="#method.eq-49" 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;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</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-49" 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-49" 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-PartialEq%3CString%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#55-59">source</a><a href="#impl-PartialEq%3CString%3E-for-Value" 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>&lt;<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</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.eq-24" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#56-58">source</a><a href="#method.eq-24" 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="https://doc.rust-lang.org/1.76.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</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-24" 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-24" 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-PartialEq%3CValue%3E-for-%26str" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#49-53">source</a><a href="#impl-PartialEq%3CValue%3E-for-%26str" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt; for &amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-12" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#50-52">source</a><a href="#method.eq-12" 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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</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-12" 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-12" 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-PartialEq%3CValue%3E-for-String" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#61-65">source</a><a href="#impl-PartialEq%3CValue%3E-for-String" 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>&lt;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt; for <a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-53" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#62-64">source</a><a href="#method.eq-53" 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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</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-53" 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-53" 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-PartialEq%3CValue%3E-for-bool" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3CValue%3E-for-bool" 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>&lt;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-5" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-5" 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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</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-5" 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-5" 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-PartialEq%3CValue%3E-for-f32" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3CValue%3E-for-f32" 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>&lt;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.f32.html">f32</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-21" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-21" 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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</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-21" 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-21" 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-PartialEq%3CValue%3E-for-f64" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3CValue%3E-for-f64" 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>&lt;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.f64.html">f64</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/value/partial_eq.rs.html#97-103">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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</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-PartialEq%3CValue%3E-for-i16" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3CValue%3E-for-i16" 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>&lt;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i16.html">i16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-16" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-16" 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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</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-16" 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-16" 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-PartialEq%3CValue%3E-for-i32" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3CValue%3E-for-i32" 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>&lt;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i32.html">i32</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-17" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-17" 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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</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-17" 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-17" 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-PartialEq%3CValue%3E-for-i64" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3CValue%3E-for-i64" 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>&lt;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i64.html">i64</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-23" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-23" 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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</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-23" 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-23" 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-PartialEq%3CValue%3E-for-i8" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3CValue%3E-for-i8" 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>&lt;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i8.html">i8</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-36" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-36" 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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</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-36" 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-36" 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-PartialEq%3CValue%3E-for-isize" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3CValue%3E-for-isize" 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>&lt;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.isize.html">isize</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-56" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-56" 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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</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-56" 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-56" 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-PartialEq%3CValue%3E-for-str" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#43-47">source</a><a href="#impl-PartialEq%3CValue%3E-for-str" 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>&lt;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-27" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#44-46">source</a><a href="#method.eq-27" 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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</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-27" 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-27" 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-PartialEq%3CValue%3E-for-u16" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3CValue%3E-for-u16" 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>&lt;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u16.html">u16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-3" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-3" 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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</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-3" 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-3" 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-PartialEq%3CValue%3E-for-u32" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3CValue%3E-for-u32" 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>&lt;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u32.html">u32</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-2" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-2" 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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</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-2" 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-2" 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-PartialEq%3CValue%3E-for-u64" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3CValue%3E-for-u64" 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>&lt;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-47" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-47" 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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</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-47" 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-47" 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-PartialEq%3CValue%3E-for-u8" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3CValue%3E-for-u8" 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>&lt;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-41" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-41" 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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</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-41" 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-41" 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-PartialEq%3CValue%3E-for-usize" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3CValue%3E-for-usize" 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>&lt;<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-13" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-13" 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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</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-13" 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-13" 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-PartialEq%3Cbool%3E-for-%26Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Cbool%3E-for-%26Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a>&gt; for &amp;'a <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.eq-25" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-25" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</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-25" 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-25" 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-PartialEq%3Cbool%3E-for-%26mut+Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Cbool%3E-for-%26mut+Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a>&gt; for &amp;'a mut <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.eq-35" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-35" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</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-35" 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-35" 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-PartialEq%3Cbool%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Cbool%3E-for-Value" 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>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</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.eq-18" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-18" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</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-18" 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-18" 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-PartialEq%3Cf32%3E-for-%26Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Cf32%3E-for-%26Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.f32.html">f32</a>&gt; for &amp;'a <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.eq-22" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-22" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.f32.html">f32</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-22" 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-22" 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-PartialEq%3Cf32%3E-for-%26mut+Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Cf32%3E-for-%26mut+Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.f32.html">f32</a>&gt; for &amp;'a mut <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.eq-55" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-55" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.f32.html">f32</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-55" 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-55" 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-PartialEq%3Cf32%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Cf32%3E-for-Value" 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>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.f32.html">f32</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.eq-34" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-34" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.f32.html">f32</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-34" 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-34" 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-PartialEq%3Cf64%3E-for-%26Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Cf64%3E-for-%26Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.f64.html">f64</a>&gt; for &amp;'a <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.eq-9" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-9" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.f64.html">f64</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-9" 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-9" 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-PartialEq%3Cf64%3E-for-%26mut+Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Cf64%3E-for-%26mut+Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.f64.html">f64</a>&gt; for &amp;'a mut <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.eq-42" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-42" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.f64.html">f64</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-42" 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-42" 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-PartialEq%3Cf64%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Cf64%3E-for-Value" 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>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.f64.html">f64</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.eq-28" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-28" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.f64.html">f64</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-28" 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-28" 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-PartialEq%3Ci16%3E-for-%26Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Ci16%3E-for-%26Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i16.html">i16</a>&gt; for &amp;'a <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.eq-50" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-50" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i16.html">i16</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-50" 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-50" 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-PartialEq%3Ci16%3E-for-%26mut+Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Ci16%3E-for-%26mut+Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i16.html">i16</a>&gt; for &amp;'a mut <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.eq-31" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-31" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i16.html">i16</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-31" 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-31" 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-PartialEq%3Ci16%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Ci16%3E-for-Value" 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>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i16.html">i16</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.eq-26" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-26" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i16.html">i16</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-26" 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-26" 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-PartialEq%3Ci32%3E-for-%26Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Ci32%3E-for-%26Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i32.html">i32</a>&gt; for &amp;'a <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.eq-33" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-33" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i32.html">i32</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-33" 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-33" 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-PartialEq%3Ci32%3E-for-%26mut+Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Ci32%3E-for-%26mut+Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i32.html">i32</a>&gt; for &amp;'a mut <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.eq-52" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-52" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i32.html">i32</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-52" 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-52" 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-PartialEq%3Ci32%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Ci32%3E-for-Value" 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>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i32.html">i32</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.eq-30" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-30" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i32.html">i32</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-30" 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-30" 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-PartialEq%3Ci64%3E-for-%26Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Ci64%3E-for-%26Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i64.html">i64</a>&gt; for &amp;'a <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.eq-39" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-39" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i64.html">i64</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-39" 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-39" 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-PartialEq%3Ci64%3E-for-%26mut+Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Ci64%3E-for-%26mut+Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i64.html">i64</a>&gt; for &amp;'a mut <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.eq-48" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-48" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i64.html">i64</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-48" 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-48" 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-PartialEq%3Ci64%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Ci64%3E-for-Value" 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>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i64.html">i64</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.eq-46" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-46" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i64.html">i64</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-46" 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-46" 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-PartialEq%3Ci8%3E-for-%26Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Ci8%3E-for-%26Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i8.html">i8</a>&gt; for &amp;'a <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.eq-37" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-37" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i8.html">i8</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-37" 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-37" 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-PartialEq%3Ci8%3E-for-%26mut+Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Ci8%3E-for-%26mut+Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i8.html">i8</a>&gt; for &amp;'a mut <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.eq-4" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-4" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i8.html">i8</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-4" 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-4" 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-PartialEq%3Ci8%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Ci8%3E-for-Value" 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>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i8.html">i8</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.eq-43" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-43" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i8.html">i8</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-43" 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-43" 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-PartialEq%3Cisize%3E-for-%26Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Cisize%3E-for-%26Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.isize.html">isize</a>&gt; for &amp;'a <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.eq-6" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-6" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.isize.html">isize</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-6" 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-6" 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-PartialEq%3Cisize%3E-for-%26mut+Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Cisize%3E-for-%26mut+Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.isize.html">isize</a>&gt; for &amp;'a mut <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.eq-10" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-10" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.isize.html">isize</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-10" 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-10" 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-PartialEq%3Cisize%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Cisize%3E-for-Value" 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>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.isize.html">isize</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.eq-1" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-1" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.isize.html">isize</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-1" 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-1" 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-PartialEq%3Cstr%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#31-35">source</a><a href="#impl-PartialEq%3Cstr%3E-for-Value" 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>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</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.eq-44" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#32-34">source</a><a href="#method.eq-44" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</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-44" 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-44" 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-PartialEq%3Cu16%3E-for-%26Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Cu16%3E-for-%26Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u16.html">u16</a>&gt; for &amp;'a <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.eq-57" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-57" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u16.html">u16</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-57" 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-57" 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-PartialEq%3Cu16%3E-for-%26mut+Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Cu16%3E-for-%26mut+Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u16.html">u16</a>&gt; for &amp;'a mut <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.eq-29" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-29" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u16.html">u16</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-29" 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-29" 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-PartialEq%3Cu16%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Cu16%3E-for-Value" 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>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u16.html">u16</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.eq-20" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-20" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u16.html">u16</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-20" 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-20" 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-PartialEq%3Cu32%3E-for-%26Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Cu32%3E-for-%26Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u32.html">u32</a>&gt; for &amp;'a <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.eq-58" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-58" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u32.html">u32</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-58" 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-58" 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-PartialEq%3Cu32%3E-for-%26mut+Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Cu32%3E-for-%26mut+Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u32.html">u32</a>&gt; for &amp;'a mut <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.eq-19" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-19" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u32.html">u32</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-19" 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-19" 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-PartialEq%3Cu32%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Cu32%3E-for-Value" 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>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u32.html">u32</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.eq-40" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-40" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u32.html">u32</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-40" 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-40" 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-PartialEq%3Cu64%3E-for-%26Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Cu64%3E-for-%26Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a>&gt; for &amp;'a <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.eq-45" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-45" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</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-45" 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-45" 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-PartialEq%3Cu64%3E-for-%26mut+Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Cu64%3E-for-%26mut+Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a>&gt; for &amp;'a mut <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.eq-7" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-7" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</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-7" 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-7" 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-PartialEq%3Cu64%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Cu64%3E-for-Value" 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>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</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.eq-8" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-8" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</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-8" 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-8" 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-PartialEq%3Cu8%3E-for-%26Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Cu8%3E-for-%26Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>&gt; for &amp;'a <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.eq-11" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-11" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</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-11" 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-11" 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-PartialEq%3Cu8%3E-for-%26mut+Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Cu8%3E-for-%26mut+Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>&gt; for &amp;'a mut <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.eq-15" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-15" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</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-15" 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-15" 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-PartialEq%3Cu8%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Cu8%3E-for-Value" 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>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</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.eq-51" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-51" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</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-51" 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-51" 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-PartialEq%3Cusize%3E-for-%26Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Cusize%3E-for-%26Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>&gt; for &amp;'a <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.eq-38" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-38" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</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-38" 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-38" 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-PartialEq%3Cusize%3E-for-%26mut+Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Cusize%3E-for-%26mut+Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>&gt; for &amp;'a mut <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.eq-54" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-54" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</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-54" 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-54" 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-PartialEq%3Cusize%3E-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#impl-PartialEq%3Cusize%3E-for-Value" 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>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</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.eq-14" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/partial_eq.rs.html#97-103">source</a><a href="#method.eq-14" 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="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</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-14" 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-14" 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-PartialEq-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#114">source</a><a href="#impl-PartialEq-for-Value" 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="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.eq-32" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#114">source</a><a href="#method.eq-32" 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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</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-32" 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-32" 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-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/ser.rs.html#11-34">source</a><a href="#impl-Serialize-for-Value" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../../serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> 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.serialize" class="method trait-impl"><a class="src rightside" href="../../src/serde_json/value/ser.rs.html#13-33">source</a><a href="#method.serialize" class="anchor">§</a><h4 class="code-header">fn <a href="../../serde/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/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, S::<a class="associatedtype" href="../../serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>&gt;<div class="where">where
S: <a class="trait" href="../../serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>,</div></h4></section></summary><div class='docblock'>Serialize this value into the given Serde serializer. <a href="../../serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></div></details></div></details><section id="impl-Eq-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#114">source</a><a href="#impl-Eq-for-Value" 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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section><section id="impl-StructuralEq-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#114">source</a><a href="#impl-StructuralEq-for-Value" 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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section><section id="impl-StructuralPartialEq-for-Value" class="impl"><a class="src rightside" href="../../src/serde_json/value/mod.rs.html#114">source</a><a href="#impl-StructuralPartialEq-for-Value" 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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</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-Value" class="impl"><a href="#impl-RefUnwindSafe-for-Value" 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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section><section id="impl-Send-for-Value" class="impl"><a href="#impl-Send-for-Value" 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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section><section id="impl-Sync-for-Value" class="impl"><a href="#impl-Sync-for-Value" 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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section><section id="impl-Unpin-for-Value" class="impl"><a href="#impl-Unpin-for-Value" 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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section><section id="impl-UnwindSafe-for-Value" class="impl"><a href="#impl-UnwindSafe-for-Value" 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="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</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-22" 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-22" 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-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.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-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.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/de/mod.rs.html#608">source</a><a href="#impl-DeserializeOwned-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a> for T<div class="where">where
T: for&lt;'de&gt; <a class="trait" href="../../serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt;,</div></h3></section></div></section></div></main></body></html>