420 lines
192 KiB
HTML
420 lines
192 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Represents a JSON key/value type."><title>Map in serde_json - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-ca0dd0c4.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.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">Map</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../serde_json/index.html">serde_<wbr>json</a><span class="version">1.0.149</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Map</a></h2><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.append" title="append">append</a></li><li><a href="#method.clear" title="clear">clear</a></li><li><a href="#method.contains_key" title="contains_key">contains_key</a></li><li><a href="#method.entry" title="entry">entry</a></li><li><a href="#method.get" title="get">get</a></li><li><a href="#method.get_key_value" title="get_key_value">get_key_value</a></li><li><a href="#method.get_mut" title="get_mut">get_mut</a></li><li><a href="#method.insert" title="insert">insert</a></li><li><a href="#method.into_values" title="into_values">into_values</a></li><li><a href="#method.is_empty" title="is_empty">is_empty</a></li><li><a href="#method.iter" title="iter">iter</a></li><li><a href="#method.iter_mut" title="iter_mut">iter_mut</a></li><li><a href="#method.keys" title="keys">keys</a></li><li><a href="#method.len" title="len">len</a></li><li><a href="#method.new" title="new">new</a></li><li><a href="#method.remove" title="remove">remove</a></li><li><a href="#method.remove_entry" title="remove_entry">remove_entry</a></li><li><a href="#method.retain" title="retain">retain</a></li><li><a href="#method.sort_keys" title="sort_keys">sort_keys</a></li><li><a href="#method.values" title="values">values</a></li><li><a href="#method.values_mut" title="values_mut">values_mut</a></li><li><a href="#method.with_capacity" title="with_capacity">with_capacity</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Clone-for-Map%3CString,+Value%3E" title="Clone">Clone</a></li><li><a href="#impl-Debug-for-Map%3CString,+Value%3E" title="Debug">Debug</a></li><li><a href="#impl-Default-for-Map%3CString,+Value%3E" title="Default">Default</a></li><li><a href="#impl-Deserialize%3C'de%3E-for-Map%3CString,+Value%3E" title="Deserialize<'de>">Deserialize<'de></a></li><li><a href="#impl-Deserializer%3C'de%3E-for-%26Map%3CString,+Value%3E" title="Deserializer<'de>">Deserializer<'de></a></li><li><a href="#impl-Deserializer%3C'de%3E-for-Map%3CString,+Value%3E" title="Deserializer<'de>">Deserializer<'de></a></li><li><a href="#impl-Eq-for-Map%3CString,+Value%3E" title="Eq">Eq</a></li><li><a href="#impl-Extend%3C(String,+Value)%3E-for-Map%3CString,+Value%3E" title="Extend<(String, Value)>">Extend<(String, Value)></a></li><li><a href="#impl-From%3CMap%3CString,+Value%3E%3E-for-Value" title="From<Map<String, Value>>">From<Map<String, Value>></a></li><li><a href="#impl-FromIterator%3C(String,+Value)%3E-for-Map%3CString,+Value%3E" title="FromIterator<(String, Value)>">FromIterator<(String, Value)></a></li><li><a href="#impl-FromStr-for-Map%3CString,+Value%3E" title="FromStr">FromStr</a></li><li><a href="#impl-Hash-for-Map%3CString,+Value%3E" title="Hash">Hash</a></li><li><a href="#impl-Index%3C%26Q%3E-for-Map%3CString,+Value%3E" title="Index<&Q>">Index<&Q></a></li><li><a href="#impl-IndexMut%3C%26Q%3E-for-Map%3CString,+Value%3E" title="IndexMut<&Q>">IndexMut<&Q></a></li><li><a href="#impl-IntoDeserializer%3C'de,+Error%3E-for-%26Map%3CString,+Value%3E" title="IntoDeserializer<'de, Error>">IntoDeserializer<'de, Error></a></li><li><a href="#impl-IntoDeserializer%3C'de,+Error%3E-for-Map%3CString,+Value%3E" title="IntoDeserializer<'de, Error>">IntoDeserializer<'de, Error></a></li><li><a href="#impl-IntoIterator-for-%26Map%3CString,+Value%3E" title="IntoIterator">IntoIterator</a></li><li><a href="#impl-IntoIterator-for-%26mut+Map%3CString,+Value%3E" title="IntoIterator">IntoIterator</a></li><li><a href="#impl-IntoIterator-for-Map%3CString,+Value%3E" title="IntoIterator">IntoIterator</a></li><li><a href="#impl-PartialEq-for-Map%3CString,+Value%3E" title="PartialEq">PartialEq</a></li><li><a href="#impl-Serialize-for-Map%3CString,+Value%3E" title="Serialize">Serialize</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-Map%3CK,+V%3E" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-Map%3CK,+V%3E" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-Map%3CK,+V%3E" title="Send">Send</a></li><li><a href="#impl-Sync-for-Map%3CK,+V%3E" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-Map%3CK,+V%3E" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Map%3CK,+V%3E" title="UnwindSafe">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" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow<T>">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut<T>">BorrowMut<T></a></li><li><a href="#impl-CloneToUninit-for-T" title="CloneToUninit">CloneToUninit</a></li><li><a href="#impl-DeserializeOwned-for-T" title="DeserializeOwned">DeserializeOwned</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From<T>">From<T></a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into<U>">Into<U></a></li><li><a href="#impl-ToOwned-for-T" title="ToOwned">ToOwned</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom<U>">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto<U>">TryInto<U></a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate serde_<wbr>json</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="index.html">serde_json</a></div><h1>Struct <span class="struct">Map</span> <button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/serde_json/map.rs.html#29-31">Source</a> </span></div><pre class="rust item-decl"><code>pub struct Map<K, V> { <span class="comment">/* private fields */</span> }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Represents a JSON key/value type.</p>
|
||
</div></details><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Map%3CString,+Value%3E" class="impl"><a class="src rightside" href="../src/serde_json/map.rs.html#38-383">Source</a><a href="#impl-Map%3CString,+Value%3E" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.new" class="method"><a class="src rightside" href="../src/serde_json/map.rs.html#41-45">Source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>() -> Self</h4></section></summary><div class="docblock"><p>Makes a new empty Map.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.with_capacity" class="method"><a class="src rightside" href="../src/serde_json/map.rs.html#49-60">Source</a><h4 class="code-header">pub fn <a href="#method.with_capacity" class="fn">with_capacity</a>(capacity: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>) -> Self</h4></section></summary><div class="docblock"><p>Makes a new empty Map with the given initial capacity.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.clear" class="method"><a class="src rightside" href="../src/serde_json/map.rs.html#64-66">Source</a><h4 class="code-header">pub fn <a href="#method.clear" class="fn">clear</a>(&mut self)</h4></section></summary><div class="docblock"><p>Clears the map, removing all values.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.get" class="method"><a class="src rightside" href="../src/serde_json/map.rs.html#73-79">Source</a><h4 class="code-header">pub fn <a href="#method.get" class="fn">get</a><Q>(&self, key: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&Q</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="enum" href="enum.Value.html" title="enum serde_json::Value">Value</a>><div class="where">where
|
||
<a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><Q>,
|
||
Q: ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a>,</div></h4></section></summary><div class="docblock"><p>Returns a reference to the value corresponding to the key.</p>
|
||
<p>The key may be any borrowed form of the map’s key type, but the ordering
|
||
on the borrowed form <em>must</em> match the ordering on the key type.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.contains_key" class="method"><a class="src rightside" href="../src/serde_json/map.rs.html#86-92">Source</a><h4 class="code-header">pub fn <a href="#method.contains_key" class="fn">contains_key</a><Q>(&self, key: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&Q</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a><div class="where">where
|
||
<a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><Q>,
|
||
Q: ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a>,</div></h4></section></summary><div class="docblock"><p>Returns true if the map contains a value for the specified key.</p>
|
||
<p>The key may be any borrowed form of the map’s key type, but the ordering
|
||
on the borrowed form <em>must</em> match the ordering on the key type.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.get_mut" class="method"><a class="src rightside" href="../src/serde_json/map.rs.html#99-105">Source</a><h4 class="code-header">pub fn <a href="#method.get_mut" class="fn">get_mut</a><Q>(&mut self, key: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&Q</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&mut <a class="enum" href="enum.Value.html" title="enum serde_json::Value">Value</a>><div class="where">where
|
||
<a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><Q>,
|
||
Q: ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a>,</div></h4></section></summary><div class="docblock"><p>Returns a mutable reference to the value corresponding to the key.</p>
|
||
<p>The key may be any borrowed form of the map’s key type, but the ordering
|
||
on the borrowed form <em>must</em> match the ordering on the key type.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.get_key_value" class="method"><a class="src rightside" href="../src/serde_json/map.rs.html#112-118">Source</a><h4 class="code-header">pub fn <a href="#method.get_key_value" class="fn">get_key_value</a><Q>(&self, key: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&Q</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a><(&<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>)><div class="where">where
|
||
<a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><Q>,
|
||
Q: ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a>,</div></h4></section></summary><div class="docblock"><p>Returns the key-value pair matching the given key.</p>
|
||
<p>The key may be any borrowed form of the map’s key type, but the ordering
|
||
on the borrowed form <em>must</em> match the ordering on the key type.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.insert" class="method"><a class="src rightside" href="../src/serde_json/map.rs.html#127-129">Source</a><h4 class="code-header">pub fn <a href="#method.insert" class="fn">insert</a>(&mut self, k: <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, v: <a class="enum" href="enum.Value.html" title="enum serde_json::Value">Value</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="enum.Value.html" title="enum serde_json::Value">Value</a>></h4></section></summary><div class="docblock"><p>Inserts a key-value pair into the map.</p>
|
||
<p>If the map did not have this key present, <code>None</code> is returned.</p>
|
||
<p>If the map did have this key present, the value is updated, and the old
|
||
value is returned.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.remove" class="method"><a class="src rightside" href="../src/serde_json/map.rs.html#156-165">Source</a><h4 class="code-header">pub fn <a href="#method.remove" class="fn">remove</a><Q>(&mut self, key: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&Q</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="enum.Value.html" title="enum serde_json::Value">Value</a>><div class="where">where
|
||
<a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><Q>,
|
||
Q: ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a>,</div></h4></section></summary><div class="docblock"><p>Removes a key from the map, returning the value at the key if the key
|
||
was previously in the map.</p>
|
||
<p>The key may be any borrowed form of the map’s key type, but the ordering
|
||
on the borrowed form <em>must</em> match the ordering on the key type.</p>
|
||
<p>If serde_json’s “preserve_order” is enabled, <code>.remove(key)</code> is
|
||
equivalent to [<code>.swap_remove(key)</code>][Self::swap_remove], replacing this
|
||
entry’s position with the last element. If you need to preserve the
|
||
relative order of the keys in the map, use
|
||
[<code>.shift_remove(key)</code>][Self::shift_remove] instead.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.remove_entry" class="method"><a class="src rightside" href="../src/serde_json/map.rs.html#179-188">Source</a><h4 class="code-header">pub fn <a href="#method.remove_entry" class="fn">remove_entry</a><Q>(&mut self, key: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&Q</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a><(<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>)><div class="where">where
|
||
<a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><Q>,
|
||
Q: ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a>,</div></h4></section></summary><div class="docblock"><p>Removes a key from the map, returning the stored key and value if the
|
||
key was previously in the map.</p>
|
||
<p>The key may be any borrowed form of the map’s key type, but the ordering
|
||
on the borrowed form <em>must</em> match the ordering on the key type.</p>
|
||
<p>If serde_json’s “preserve_order” is enabled, <code>.remove_entry(key)</code> is
|
||
equivalent to [<code>.swap_remove_entry(key)</code>][Self::swap_remove_entry],
|
||
replacing this entry’s position with the last element. If you need to
|
||
preserve the relative order of the keys in the map, use
|
||
[<code>.shift_remove_entry(key)</code>][Self::shift_remove_entry] instead.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.append" class="method"><a class="src rightside" href="../src/serde_json/map.rs.html#264-270">Source</a><h4 class="code-header">pub fn <a href="#method.append" class="fn">append</a>(&mut self, other: &mut Self)</h4></section></summary><div class="docblock"><p>Moves all elements from other into self, leaving other empty.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.entry" class="method"><a class="src rightside" href="../src/serde_json/map.rs.html#274-287">Source</a><h4 class="code-header">pub fn <a href="#method.entry" class="fn">entry</a><S>(&mut self, key: S) -> <a class="enum" href="map/enum.Entry.html" title="enum serde_json::map::Entry">Entry</a><'_><div class="where">where
|
||
S: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>,</div></h4></section></summary><div class="docblock"><p>Gets the given key’s corresponding entry in the map for in-place
|
||
manipulation.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.len" class="method"><a class="src rightside" href="../src/serde_json/map.rs.html#291-293">Source</a><h4 class="code-header">pub fn <a href="#method.len" class="fn">len</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a></h4></section></summary><div class="docblock"><p>Returns the number of elements in the map.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_empty" class="method"><a class="src rightside" href="../src/serde_json/map.rs.html#297-299">Source</a><h4 class="code-header">pub fn <a href="#method.is_empty" class="fn">is_empty</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns true if the map contains no elements.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.iter" class="method"><a class="src rightside" href="../src/serde_json/map.rs.html#303-307">Source</a><h4 class="code-header">pub fn <a href="#method.iter" class="fn">iter</a>(&self) -> <a class="struct" href="map/struct.Iter.html" title="struct serde_json::map::Iter">Iter</a><'_> <a href="#" class="tooltip" data-notable-ty="Iter<'_>">ⓘ</a></h4></section></summary><div class="docblock"><p>Gets an iterator over the entries of the map.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.iter_mut" class="method"><a class="src rightside" href="../src/serde_json/map.rs.html#311-315">Source</a><h4 class="code-header">pub fn <a href="#method.iter_mut" class="fn">iter_mut</a>(&mut self) -> <a class="struct" href="map/struct.IterMut.html" title="struct serde_json::map::IterMut">IterMut</a><'_> <a href="#" class="tooltip" data-notable-ty="IterMut<'_>">ⓘ</a></h4></section></summary><div class="docblock"><p>Gets a mutable iterator over the entries of the map.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.keys" class="method"><a class="src rightside" href="../src/serde_json/map.rs.html#319-323">Source</a><h4 class="code-header">pub fn <a href="#method.keys" class="fn">keys</a>(&self) -> <a class="struct" href="map/struct.Keys.html" title="struct serde_json::map::Keys">Keys</a><'_> <a href="#" class="tooltip" data-notable-ty="Keys<'_>">ⓘ</a></h4></section></summary><div class="docblock"><p>Gets an iterator over the keys of the map.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.values" class="method"><a class="src rightside" href="../src/serde_json/map.rs.html#327-331">Source</a><h4 class="code-header">pub fn <a href="#method.values" class="fn">values</a>(&self) -> <a class="struct" href="map/struct.Values.html" title="struct serde_json::map::Values">Values</a><'_> <a href="#" class="tooltip" data-notable-ty="Values<'_>">ⓘ</a></h4></section></summary><div class="docblock"><p>Gets an iterator over the values of the map.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.values_mut" class="method"><a class="src rightside" href="../src/serde_json/map.rs.html#335-339">Source</a><h4 class="code-header">pub fn <a href="#method.values_mut" class="fn">values_mut</a>(&mut self) -> <a class="struct" href="map/struct.ValuesMut.html" title="struct serde_json::map::ValuesMut">ValuesMut</a><'_> <a href="#" class="tooltip" data-notable-ty="ValuesMut<'_>">ⓘ</a></h4></section></summary><div class="docblock"><p>Gets an iterator over mutable values of the map.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.into_values" class="method"><a class="src rightside" href="../src/serde_json/map.rs.html#343-347">Source</a><h4 class="code-header">pub fn <a href="#method.into_values" class="fn">into_values</a>(self) -> <a class="struct" href="map/struct.IntoValues.html" title="struct serde_json::map::IntoValues">IntoValues</a> <a href="#" class="tooltip" data-notable-ty="IntoValues">ⓘ</a></h4></section></summary><div class="docblock"><p>Gets an iterator over the values of the map.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.retain" class="method"><a class="src rightside" href="../src/serde_json/map.rs.html#354-359">Source</a><h4 class="code-header">pub fn <a href="#method.retain" class="fn">retain</a><F>(&mut self, f: F)<div class="where">where
|
||
F: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&<a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, &mut <a class="enum" href="enum.Value.html" title="enum serde_json::Value">Value</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div class="docblock"><p>Retains only the elements specified by the predicate.</p>
|
||
<p>In other words, remove all pairs <code>(k, v)</code> such that <code>f(&k, &mut v)</code>
|
||
returns <code>false</code>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.sort_keys" class="method"><a class="src rightside" href="../src/serde_json/map.rs.html#379-382">Source</a><h4 class="code-header">pub fn <a href="#method.sort_keys" class="fn">sort_keys</a>(&mut self)</h4></section></summary><div class="docblock"><p>Sorts this map’s entries in-place using <code>str</code>’s usual ordering.</p>
|
||
<p>If serde_json’s “preserve_order” feature is not enabled, this method
|
||
does no work because all JSON maps are always kept in a sorted state.</p>
|
||
<p>If serde_json’s “preserve_order” feature is enabled, this method
|
||
destroys the original source order or insertion order of this map in
|
||
favor of an alphanumerical order that matches how a BTreeMap with the
|
||
same contents would be ordered. This takes <strong>O(n log n + c)</strong> time where
|
||
<em>n</em> is the length of the map and <em>c</em> is the capacity.</p>
|
||
<p>Other maps nested within the values of this map are not sorted. If you
|
||
need the entire data structure to be sorted at all levels, you must also
|
||
call
|
||
<code>map.<a href="struct.Map.html#method.values_mut" title="method serde_json::Map::values_mut">values_mut</a>().for_each(<a href="enum.Value.html#method.sort_all_objects" title="method serde_json::Value::sort_all_objects">Value::sort_all_objects</a>)</code>.</p>
|
||
</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-Map%3CString,+Value%3E" class="impl"><a class="src rightside" href="../src/serde_json/map.rs.html#395-407">Source</a><a href="#impl-Clone-for-Map%3CString,+Value%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>></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/map.rs.html#397-401">Source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> Self</h4></section></summary><div class='docblock'>Returns a duplicate of the value. <a href="https://doc.rust-lang.org/1.93.1/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"><a class="src rightside" href="../src/serde_json/map.rs.html#404-406">Source</a><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&mut self, source: &Self)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.93.1/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-Map%3CString,+Value%3E" class="impl"><a class="src rightside" href="../src/serde_json/map.rs.html#483-488">Source</a><a href="#impl-Debug-for-Map%3CString,+Value%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>></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/map.rs.html#485-487">Source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&self, formatter: &mut <a class="struct" href="https://doc.rust-lang.org/1.93.1/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.93.1/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.93.1/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-Map%3CString,+Value%3E" class="impl"><a class="src rightside" href="../src/serde_json/map.rs.html#386-393">Source</a><a href="#impl-Default-for-Map%3CString,+Value%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>></h3></section></summary><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/map.rs.html#388-392">Source</a><a href="#method.default" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/default/trait.Default.html#tymethod.default" class="fn">default</a>() -> Self</h4></section></summary><div class='docblock'>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.93.1/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-Map%3CString,+Value%3E" class="impl"><a class="src rightside" href="../src/serde_json/map.rs.html#506-547">Source</a><a href="#impl-Deserialize%3C'de%3E-for-Map%3CString,+Value%3E" class="anchor">§</a><h3 class="code-header">impl<'de> <a class="trait" href="../serde_core/de/trait.Deserialize.html" title="trait serde_core::de::Deserialize">Deserialize</a><'de> for <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>></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/map.rs.html#508-546">Source</a><a href="#method.deserialize" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserialize.html#tymethod.deserialize" class="fn">deserialize</a><D>(deserializer: D) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, D::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
D: <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>,</div></h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href="../serde_core/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deserializer%3C'de%3E-for-%26Map%3CString,+Value%3E" class="impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#749-815">Source</a><a href="#impl-Deserializer%3C'de%3E-for-%26Map%3CString,+Value%3E" class="anchor">§</a><h3 class="code-header">impl<'de> <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de> for &'de <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#750">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a></h4></section></summary><div class='docblock'>The error type that can be returned if some error occurs during
|
||
deserialization.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_any-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#752-768">Source</a><a href="#method.deserialize_any-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_any" class="fn">deserialize_any</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, Self::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</div></h4></section></summary><div class='docblock'>Require the <code>Deserializer</code> to figure out how to drive the visitor based
|
||
on what data type is in the input. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_any">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_enum-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#770-801">Source</a><a href="#method.deserialize_enum-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_enum" class="fn">deserialize_enum</a><V>(
|
||
self,
|
||
_name: &'static <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>,
|
||
_variants: &'static [&'static <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>],
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, Self::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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_ignored_any-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#803-808">Source</a><a href="#method.deserialize_ignored_any-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_ignored_any" class="fn">deserialize_ignored_any</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type needs to deserialize a value whose type
|
||
doesn’t matter because it is ignored. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_ignored_any">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_bool-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#810-814">Source</a><a href="#method.deserialize_bool-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_bool" class="fn">deserialize_bool</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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_i8-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#810-814">Source</a><a href="#method.deserialize_i8-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_i8" class="fn">deserialize_i8</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#810-814">Source</a><a href="#method.deserialize_i16-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_i16" class="fn">deserialize_i16</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#810-814">Source</a><a href="#method.deserialize_i32-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_i32" class="fn">deserialize_i32</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#810-814">Source</a><a href="#method.deserialize_i64-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_i64" class="fn">deserialize_i64</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#810-814">Source</a><a href="#method.deserialize_i128-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#method.deserialize_i128" class="fn">deserialize_i128</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting an <code>i128</code> value. <a href="../serde_core/de/trait.Deserializer.html#method.deserialize_i128">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_u8-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#810-814">Source</a><a href="#method.deserialize_u8-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_u8" class="fn">deserialize_u8</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#810-814">Source</a><a href="#method.deserialize_u16-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_u16" class="fn">deserialize_u16</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#810-814">Source</a><a href="#method.deserialize_u32-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_u32" class="fn">deserialize_u32</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#810-814">Source</a><a href="#method.deserialize_u64-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_u64" class="fn">deserialize_u64</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#810-814">Source</a><a href="#method.deserialize_u128-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#method.deserialize_u128" class="fn">deserialize_u128</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting an <code>u128</code> value. <a href="../serde_core/de/trait.Deserializer.html#method.deserialize_u128">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_f32-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#810-814">Source</a><a href="#method.deserialize_f32-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_f32" class="fn">deserialize_f32</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#810-814">Source</a><a href="#method.deserialize_f64-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_f64" class="fn">deserialize_f64</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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_char-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#810-814">Source</a><a href="#method.deserialize_char-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_char" class="fn">deserialize_char</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#810-814">Source</a><a href="#method.deserialize_str-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_str" class="fn">deserialize_str</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a string value and does
|
||
not benefit from taking ownership of buffered data owned by the
|
||
<code>Deserializer</code>. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_str">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_string-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#810-814">Source</a><a href="#method.deserialize_string-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_string" class="fn">deserialize_string</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a string value and would
|
||
benefit from taking ownership of buffered data owned by the
|
||
<code>Deserializer</code>. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_string">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_bytes-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#810-814">Source</a><a href="#method.deserialize_bytes-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_bytes" class="fn">deserialize_bytes</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a byte array and does not
|
||
benefit from taking ownership of buffered data owned by the
|
||
<code>Deserializer</code>. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_bytes">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_byte_buf-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#810-814">Source</a><a href="#method.deserialize_byte_buf-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_byte_buf" class="fn">deserialize_byte_buf</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a byte array and would
|
||
benefit from taking ownership of buffered data owned by the
|
||
<code>Deserializer</code>. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_byte_buf">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_option-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#810-814">Source</a><a href="#method.deserialize_option-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_option" class="fn">deserialize_option</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting an optional value. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_option">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_unit-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#810-814">Source</a><a href="#method.deserialize_unit-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_unit" class="fn">deserialize_unit</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#810-814">Source</a><a href="#method.deserialize_unit_struct-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_unit_struct" class="fn">deserialize_unit_struct</a><V>(
|
||
self,
|
||
name: &'static <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a unit struct with a
|
||
particular name.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_newtype_struct-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#810-814">Source</a><a href="#method.deserialize_newtype_struct-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_newtype_struct" class="fn">deserialize_newtype_struct</a><V>(
|
||
self,
|
||
name: &'static <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a newtype struct with a
|
||
particular name.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_seq-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#810-814">Source</a><a href="#method.deserialize_seq-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_seq" class="fn">deserialize_seq</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#810-814">Source</a><a href="#method.deserialize_tuple-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_tuple" class="fn">deserialize_tuple</a><V>(
|
||
self,
|
||
len: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#810-814">Source</a><a href="#method.deserialize_tuple_struct-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_tuple_struct" class="fn">deserialize_tuple_struct</a><V>(
|
||
self,
|
||
name: &'static <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>,
|
||
len: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#810-814">Source</a><a href="#method.deserialize_map-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_map" class="fn">deserialize_map</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#810-814">Source</a><a href="#method.deserialize_struct-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_struct" class="fn">deserialize_struct</a><V>(
|
||
self,
|
||
name: &'static <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>,
|
||
fields: &'static [&'static <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>],
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#810-814">Source</a><a href="#method.deserialize_identifier-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_identifier" class="fn">deserialize_identifier</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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.is_human_readable-1" class="method trait-impl"><a class="src rightside" href="../src/serde_core/de/mod.rs.html#1253">Source</a><a href="#method.is_human_readable-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#method.is_human_readable" class="fn">is_human_readable</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Determine whether <code>Deserialize</code> implementations should expect to
|
||
deserialize their human-readable form. <a href="../serde_core/de/trait.Deserializer.html#method.is_human_readable">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deserializer%3C'de%3E-for-Map%3CString,+Value%3E" class="impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#213-280">Source</a><a href="#impl-Deserializer%3C'de%3E-for-Map%3CString,+Value%3E" class="anchor">§</a><h3 class="code-header">impl<'de> <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de> for <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#214">Source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a></h4></section></summary><div class='docblock'>The error type that can be returned if some error occurs during
|
||
deserialization.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_any" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#216-232">Source</a><a href="#method.deserialize_any" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_any" class="fn">deserialize_any</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, Self::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</div></h4></section></summary><div class='docblock'>Require the <code>Deserializer</code> to figure out how to drive the visitor based
|
||
on what data type is in the input. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_any">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_enum" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#234-265">Source</a><a href="#method.deserialize_enum" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_enum" class="fn">deserialize_enum</a><V>(
|
||
self,
|
||
_name: &'static <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>,
|
||
_variants: &'static [&'static <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>],
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, Self::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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_ignored_any" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#267-273">Source</a><a href="#method.deserialize_ignored_any" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_ignored_any" class="fn">deserialize_ignored_any</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, Self::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type needs to deserialize a value whose type
|
||
doesn’t matter because it is ignored. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_ignored_any">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_bool" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#275-279">Source</a><a href="#method.deserialize_bool" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_bool" class="fn">deserialize_bool</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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_i8" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#275-279">Source</a><a href="#method.deserialize_i8" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_i8" class="fn">deserialize_i8</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#275-279">Source</a><a href="#method.deserialize_i16" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_i16" class="fn">deserialize_i16</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#275-279">Source</a><a href="#method.deserialize_i32" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_i32" class="fn">deserialize_i32</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#275-279">Source</a><a href="#method.deserialize_i64" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_i64" class="fn">deserialize_i64</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#275-279">Source</a><a href="#method.deserialize_i128" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#method.deserialize_i128" class="fn">deserialize_i128</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting an <code>i128</code> value. <a href="../serde_core/de/trait.Deserializer.html#method.deserialize_i128">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_u8" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#275-279">Source</a><a href="#method.deserialize_u8" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_u8" class="fn">deserialize_u8</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#275-279">Source</a><a href="#method.deserialize_u16" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_u16" class="fn">deserialize_u16</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#275-279">Source</a><a href="#method.deserialize_u32" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_u32" class="fn">deserialize_u32</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#275-279">Source</a><a href="#method.deserialize_u64" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_u64" class="fn">deserialize_u64</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#275-279">Source</a><a href="#method.deserialize_u128" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#method.deserialize_u128" class="fn">deserialize_u128</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting an <code>u128</code> value. <a href="../serde_core/de/trait.Deserializer.html#method.deserialize_u128">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_f32" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#275-279">Source</a><a href="#method.deserialize_f32" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_f32" class="fn">deserialize_f32</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#275-279">Source</a><a href="#method.deserialize_f64" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_f64" class="fn">deserialize_f64</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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_char" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#275-279">Source</a><a href="#method.deserialize_char" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_char" class="fn">deserialize_char</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#275-279">Source</a><a href="#method.deserialize_str" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_str" class="fn">deserialize_str</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a string value and does
|
||
not benefit from taking ownership of buffered data owned by the
|
||
<code>Deserializer</code>. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_str">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_string" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#275-279">Source</a><a href="#method.deserialize_string" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_string" class="fn">deserialize_string</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a string value and would
|
||
benefit from taking ownership of buffered data owned by the
|
||
<code>Deserializer</code>. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_string">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_bytes" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#275-279">Source</a><a href="#method.deserialize_bytes" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_bytes" class="fn">deserialize_bytes</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a byte array and does not
|
||
benefit from taking ownership of buffered data owned by the
|
||
<code>Deserializer</code>. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_bytes">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_byte_buf" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#275-279">Source</a><a href="#method.deserialize_byte_buf" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_byte_buf" class="fn">deserialize_byte_buf</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a byte array and would
|
||
benefit from taking ownership of buffered data owned by the
|
||
<code>Deserializer</code>. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_byte_buf">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_option" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#275-279">Source</a><a href="#method.deserialize_option" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_option" class="fn">deserialize_option</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting an optional value. <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_option">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_unit" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#275-279">Source</a><a href="#method.deserialize_unit" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_unit" class="fn">deserialize_unit</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#275-279">Source</a><a href="#method.deserialize_unit_struct" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_unit_struct" class="fn">deserialize_unit_struct</a><V>(
|
||
self,
|
||
name: &'static <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a unit struct with a
|
||
particular name.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_newtype_struct" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#275-279">Source</a><a href="#method.deserialize_newtype_struct" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_newtype_struct" class="fn">deserialize_newtype_struct</a><V>(
|
||
self,
|
||
name: &'static <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</div></h4></section></summary><div class='docblock'>Hint that the <code>Deserialize</code> type is expecting a newtype struct with a
|
||
particular name.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize_seq" class="method trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#275-279">Source</a><a href="#method.deserialize_seq" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_seq" class="fn">deserialize_seq</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#275-279">Source</a><a href="#method.deserialize_tuple" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_tuple" class="fn">deserialize_tuple</a><V>(
|
||
self,
|
||
len: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#275-279">Source</a><a href="#method.deserialize_tuple_struct" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_tuple_struct" class="fn">deserialize_tuple_struct</a><V>(
|
||
self,
|
||
name: &'static <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>,
|
||
len: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#275-279">Source</a><a href="#method.deserialize_map" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_map" class="fn">deserialize_map</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#275-279">Source</a><a href="#method.deserialize_struct" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_struct" class="fn">deserialize_struct</a><V>(
|
||
self,
|
||
name: &'static <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>,
|
||
fields: &'static [&'static <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>],
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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#275-279">Source</a><a href="#method.deserialize_identifier" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#tymethod.deserialize_identifier" class="fn">deserialize_identifier</a><V>(
|
||
self,
|
||
visitor: V,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../serde_core/de/trait.Visitor.html#associatedtype.Value" title="type serde_core::de::Visitor::Value">Value</a>, <Self as <a class="trait" href="../serde_core/de/trait.Deserializer.html" title="trait serde_core::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where
|
||
V: <a class="trait" href="../serde_core/de/trait.Visitor.html" title="trait serde_core::de::Visitor">Visitor</a><'de>,</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.is_human_readable" class="method trait-impl"><a class="src rightside" href="../src/serde_core/de/mod.rs.html#1253">Source</a><a href="#method.is_human_readable" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.Deserializer.html#method.is_human_readable" class="fn">is_human_readable</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Determine whether <code>Deserialize</code> implementations should expect to
|
||
deserialize their human-readable form. <a href="../serde_core/de/trait.Deserializer.html#method.is_human_readable">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Extend%3C(String,+Value)%3E-for-Map%3CString,+Value%3E" class="impl"><a class="src rightside" href="../src/serde_json/map.rs.html#560-567">Source</a><a href="#impl-Extend%3C(String,+Value)%3E-for-Map%3CString,+Value%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.Extend.html" title="trait core::iter::traits::collect::Extend">Extend</a><(<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>)> for <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.extend" class="method trait-impl"><a class="src rightside" href="../src/serde_json/map.rs.html#561-566">Source</a><a href="#method.extend" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.Extend.html#tymethod.extend" class="fn">extend</a><T>(&mut self, iter: T)<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a><Item = (<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>)>,</div></h4></section></summary><div class='docblock'>Extends a collection with the contents of an iterator. <a href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.Extend.html#tymethod.extend">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.extend_one" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/iter/traits/collect.rs.html#417">Source</a><a href="#method.extend_one" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.Extend.html#method.extend_one" class="fn">extend_one</a>(&mut self, item: A)</h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>extend_one</code>)</span></div></span><div class='docblock'>Extends a collection with exactly one element.</div></details><details class="toggle method-toggle" open><summary><section id="method.extend_reserve" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/iter/traits/collect.rs.html#425">Source</a><a href="#method.extend_reserve" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.Extend.html#method.extend_reserve" class="fn">extend_reserve</a>(&mut self, additional: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>)</h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>extend_one</code>)</span></div></span><div class='docblock'>Reserves capacity in a collection for the given number of additional elements. <a href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.Extend.html#method.extend_reserve">Read more</a></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#153-168">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.93.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>>> 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#165-167">Source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/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><<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>>) -> Self</h4></section></summary><div class="docblock"><p>Convert map (with string keys) to <code>Value::Object</code>.</p>
|
||
<h5 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</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_owned(), <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-FromIterator%3C(String,+Value)%3E-for-Map%3CString,+Value%3E" class="impl"><a class="src rightside" href="../src/serde_json/map.rs.html#549-558">Source</a><a href="#impl-FromIterator%3C(String,+Value)%3E-for-Map%3CString,+Value%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.FromIterator.html" title="trait core::iter::traits::collect::FromIterator">FromIterator</a><(<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>)> for <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>></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/map.rs.html#550-557">Source</a><a href="#method.from_iter" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.FromIterator.html#tymethod.from_iter" class="fn">from_iter</a><T>(iter: T) -> Self<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a><Item = (<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>)>,</div></h4></section></summary><div class='docblock'>Creates a value from an iterator. <a href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.FromIterator.html#tymethod.from_iter">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-FromStr-for-Map%3CString,+Value%3E" class="impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#162-167">Source</a><a href="#impl-FromStr-for-Map%3CString,+Value%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/str/traits/trait.FromStr.html" title="trait core::str::traits::FromStr">FromStr</a> for <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Err" class="associatedtype trait-impl"><a class="src rightside" href="../src/serde_json/value/de.rs.html#163">Source</a><a href="#associatedtype.Err" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.93.1/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#164-166">Source</a><a href="#method.from_str" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/str/traits/trait.FromStr.html#tymethod.from_str" class="fn">from_str</a>(s: &<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>></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.93.1/core/str/traits/trait.FromStr.html#tymethod.from_str">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Hash-for-Map%3CString,+Value%3E" class="impl"><a class="src rightside" href="../src/serde_json/map.rs.html#418-432">Source</a><a href="#impl-Hash-for-Map%3CString,+Value%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.hash" class="method trait-impl"><a class="src rightside" href="../src/serde_json/map.rs.html#419-431">Source</a><a href="#method.hash" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html#tymethod.hash" class="fn">hash</a><H: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>>(&self, state: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&mut H</a>)</h4></section></summary><div class='docblock'>Feeds this value into the given <a href="https://doc.rust-lang.org/1.93.1/core/hash/trait.Hasher.html" title="trait core::hash::Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html#tymethod.hash">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.hash_slice" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.3.0">1.3.0</span> · <a class="src" href="https://doc.rust-lang.org/1.93.1/src/core/hash/mod.rs.html#235-237">Source</a></span><a href="#method.hash_slice" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html#method.hash_slice" class="fn">hash_slice</a><H>(data: &[Self], state: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&mut H</a>)<div class="where">where
|
||
H: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Feeds a slice of this type into the given <a href="https://doc.rust-lang.org/1.93.1/core/hash/trait.Hasher.html" title="trait core::hash::Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html#method.hash_slice">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Index%3C%26Q%3E-for-Map%3CString,+Value%3E" class="impl"><a class="src rightside" href="../src/serde_json/map.rs.html#450-460">Source</a><a href="#impl-Index%3C%26Q%3E-for-Map%3CString,+Value%3E" class="anchor">§</a><h3 class="code-header">impl<Q> <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/ops/index/trait.Index.html" title="trait core::ops::index::Index">Index</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&Q</a>> for <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>><div class="where">where
|
||
<a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><Q>,
|
||
Q: ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a>,</div></h3><div class="docblock"><p>Access an element of this map. Panics if the given key is not present in the
|
||
map.</p>
|
||
</div></section></summary><div class="docblock">
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">match </span>val {
|
||
Value::String(s) => <span class="prelude-val">Some</span>(s.as_str()),
|
||
Value::Array(arr) => arr[<span class="number">0</span>].as_str(),
|
||
Value::Object(map) => map[<span class="string">"type"</span>].as_str(),
|
||
<span class="kw">_ </span>=> <span class="prelude-val">None</span>,
|
||
}</code></pre></div></div><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl"><a class="src rightside" href="../src/serde_json/map.rs.html#455">Source</a><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.93.1/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><details class="toggle method-toggle" open><summary><section id="method.index" class="method trait-impl"><a class="src rightside" href="../src/serde_json/map.rs.html#457-459">Source</a><a href="#method.index" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/ops/index/trait.Index.html#tymethod.index" class="fn">index</a>(&self, index: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&Q</a>) -> &<a class="enum" href="enum.Value.html" title="enum serde_json::Value">Value</a></h4></section></summary><div class='docblock'>Performs the indexing (<code>container[index]</code>) operation. <a href="https://doc.rust-lang.org/1.93.1/core/ops/index/trait.Index.html#tymethod.index">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-IndexMut%3C%26Q%3E-for-Map%3CString,+Value%3E" class="impl"><a class="src rightside" href="../src/serde_json/map.rs.html#473-481">Source</a><a href="#impl-IndexMut%3C%26Q%3E-for-Map%3CString,+Value%3E" class="anchor">§</a><h3 class="code-header">impl<Q> <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/ops/index/trait.IndexMut.html" title="trait core::ops::index::IndexMut">IndexMut</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&Q</a>> for <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>><div class="where">where
|
||
<a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><Q>,
|
||
Q: ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a>,</div></h3><div class="docblock"><p>Mutably access an element of this map. Panics if the given key is not
|
||
present in the map.</p>
|
||
</div></section></summary><div class="docblock">
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code>map[<span class="string">"key"</span>] = <span class="macro">json!</span>(<span class="string">"value"</span>);</code></pre></div></div><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/map.rs.html#478-480">Source</a><a href="#method.index_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/ops/index/trait.IndexMut.html#tymethod.index_mut" class="fn">index_mut</a>(&mut self, index: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&Q</a>) -> &mut <a class="enum" href="enum.Value.html" title="enum serde_json::Value">Value</a></h4></section></summary><div class='docblock'>Performs the mutable indexing (<code>container[index]</code>) operation. <a href="https://doc.rust-lang.org/1.93.1/core/ops/index/trait.IndexMut.html#tymethod.index_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-IntoDeserializer%3C'de,+Error%3E-for-%26Map%3CString,+Value%3E" class="impl"><a class="src rightside" href="../src/serde_json/map.rs.html#609-615">Source</a><a href="#impl-IntoDeserializer%3C'de,+Error%3E-for-%26Map%3CString,+Value%3E" class="anchor">§</a><h3 class="code-header">impl<'de> <a class="trait" href="../serde_core/de/trait.IntoDeserializer.html" title="trait serde_core::de::IntoDeserializer">IntoDeserializer</a><'de, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>> for &'de <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Deserializer-1" class="associatedtype trait-impl"><a class="src rightside" href="../src/serde_json/map.rs.html#610">Source</a><a href="#associatedtype.Deserializer-1" class="anchor">§</a><h4 class="code-header">type <a href="../serde_core/de/trait.IntoDeserializer.html#associatedtype.Deserializer" class="associatedtype">Deserializer</a> = &'de <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>></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/map.rs.html#612-614">Source</a><a href="#method.into_deserializer-1" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.IntoDeserializer.html#tymethod.into_deserializer" class="fn">into_deserializer</a>(self) -> Self::<a class="associatedtype" href="../serde_core/de/trait.IntoDeserializer.html#associatedtype.Deserializer" title="type serde_core::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-Map%3CString,+Value%3E" class="impl"><a class="src rightside" href="../src/serde_json/map.rs.html#601-607">Source</a><a href="#impl-IntoDeserializer%3C'de,+Error%3E-for-Map%3CString,+Value%3E" class="anchor">§</a><h3 class="code-header">impl<'de> <a class="trait" href="../serde_core/de/trait.IntoDeserializer.html" title="trait serde_core::de::IntoDeserializer">IntoDeserializer</a><'de, <a class="struct" href="struct.Error.html" title="struct serde_json::Error">Error</a>> for <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Deserializer" class="associatedtype trait-impl"><a class="src rightside" href="../src/serde_json/map.rs.html#602">Source</a><a href="#associatedtype.Deserializer" class="anchor">§</a><h4 class="code-header">type <a href="../serde_core/de/trait.IntoDeserializer.html#associatedtype.Deserializer" class="associatedtype">Deserializer</a> = <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>></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/map.rs.html#604-606">Source</a><a href="#method.into_deserializer" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/de/trait.IntoDeserializer.html#tymethod.into_deserializer" class="fn">into_deserializer</a>(self) -> Self::<a class="associatedtype" href="../serde_core/de/trait.IntoDeserializer.html#associatedtype.Deserializer" title="type serde_core::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-IntoIterator-for-%26Map%3CString,+Value%3E" class="impl"><a class="src rightside" href="../src/serde_json/map.rs.html#1047-1056">Source</a><a href="#impl-IntoIterator-for-%26Map%3CString,+Value%3E" class="anchor">§</a><h3 class="code-header">impl<'a> <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a> for &'a <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Item" class="associatedtype trait-impl"><a class="src rightside" href="../src/serde_json/map.rs.html#1048">Source</a><a href="#associatedtype.Item" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item" class="associatedtype">Item</a> = (&'a <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, &'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 elements being iterated over.</div></details><details class="toggle" open><summary><section id="associatedtype.IntoIter" class="associatedtype trait-impl"><a class="src rightside" href="../src/serde_json/map.rs.html#1049">Source</a><a href="#associatedtype.IntoIter" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter" class="associatedtype">IntoIter</a> = <a class="struct" href="map/struct.Iter.html" title="struct serde_json::map::Iter">Iter</a><'a></h4></section></summary><div class='docblock'>Which kind of iterator are we turning this into?</div></details><details class="toggle method-toggle" open><summary><section id="method.into_iter" class="method trait-impl"><a class="src rightside" href="../src/serde_json/map.rs.html#1051-1055">Source</a><a href="#method.into_iter" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html#tymethod.into_iter" class="fn">into_iter</a>(self) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter" title="type core::iter::traits::collect::IntoIterator::IntoIter">IntoIter</a></h4></section></summary><div class='docblock'>Creates an iterator from a value. <a href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html#tymethod.into_iter">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-IntoIterator-for-%26mut+Map%3CString,+Value%3E" class="impl"><a class="src rightside" href="../src/serde_json/map.rs.html#1073-1082">Source</a><a href="#impl-IntoIterator-for-%26mut+Map%3CString,+Value%3E" class="anchor">§</a><h3 class="code-header">impl<'a> <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a> for &'a mut <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Item-1" class="associatedtype trait-impl"><a class="src rightside" href="../src/serde_json/map.rs.html#1074">Source</a><a href="#associatedtype.Item-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item" class="associatedtype">Item</a> = (&'a <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, &'a mut <a class="enum" href="enum.Value.html" title="enum serde_json::Value">Value</a>)</h4></section></summary><div class='docblock'>The type of the elements being iterated over.</div></details><details class="toggle" open><summary><section id="associatedtype.IntoIter-1" class="associatedtype trait-impl"><a class="src rightside" href="../src/serde_json/map.rs.html#1075">Source</a><a href="#associatedtype.IntoIter-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter" class="associatedtype">IntoIter</a> = <a class="struct" href="map/struct.IterMut.html" title="struct serde_json::map::IterMut">IterMut</a><'a></h4></section></summary><div class='docblock'>Which kind of iterator are we turning this into?</div></details><details class="toggle method-toggle" open><summary><section id="method.into_iter-1" class="method trait-impl"><a class="src rightside" href="../src/serde_json/map.rs.html#1077-1081">Source</a><a href="#method.into_iter-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html#tymethod.into_iter" class="fn">into_iter</a>(self) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter" title="type core::iter::traits::collect::IntoIterator::IntoIter">IntoIter</a></h4></section></summary><div class='docblock'>Creates an iterator from a value. <a href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html#tymethod.into_iter">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-IntoIterator-for-Map%3CString,+Value%3E" class="impl"><a class="src rightside" href="../src/serde_json/map.rs.html#1099-1108">Source</a><a href="#impl-IntoIterator-for-Map%3CString,+Value%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a> for <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Item-2" class="associatedtype trait-impl"><a class="src rightside" href="../src/serde_json/map.rs.html#1100">Source</a><a href="#associatedtype.Item-2" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item" class="associatedtype">Item</a> = (<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>)</h4></section></summary><div class='docblock'>The type of the elements being iterated over.</div></details><details class="toggle" open><summary><section id="associatedtype.IntoIter-2" class="associatedtype trait-impl"><a class="src rightside" href="../src/serde_json/map.rs.html#1101">Source</a><a href="#associatedtype.IntoIter-2" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter" class="associatedtype">IntoIter</a> = <a class="struct" href="map/struct.IntoIter.html" title="struct serde_json::map::IntoIter">IntoIter</a></h4></section></summary><div class='docblock'>Which kind of iterator are we turning this into?</div></details><details class="toggle method-toggle" open><summary><section id="method.into_iter-2" class="method trait-impl"><a class="src rightside" href="../src/serde_json/map.rs.html#1103-1107">Source</a><a href="#method.into_iter-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html#tymethod.into_iter" class="fn">into_iter</a>(self) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter" title="type core::iter::traits::collect::IntoIterator::IntoIter">IntoIter</a></h4></section></summary><div class='docblock'>Creates an iterator from a value. <a href="https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html#tymethod.into_iter">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq-for-Map%3CString,+Value%3E" class="impl"><a class="src rightside" href="../src/serde_json/map.rs.html#409-414">Source</a><a href="#impl-PartialEq-for-Map%3CString,+Value%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>></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/map.rs.html#411-413">Source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, other: &Self) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.93.1/src/core/cmp.rs.html#264">Source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Serialize-for-Map%3CString,+Value%3E" class="impl"><a class="src rightside" href="../src/serde_json/map.rs.html#491-504">Source</a><a href="#impl-Serialize-for-Map%3CString,+Value%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../serde_core/ser/trait.Serialize.html" title="trait serde_core::ser::Serialize">Serialize</a> for <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>></h3><span class="item-info"><div class="stab portability">Available on <strong>crate features <code>std</code> or <code>alloc</code></strong> only.</div></span></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/map.rs.html#493-503">Source</a><a href="#method.serialize" class="anchor">§</a><h4 class="code-header">fn <a href="../serde_core/ser/trait.Serialize.html#tymethod.serialize" class="fn">serialize</a><S>(&self, serializer: S) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><S::<a class="associatedtype" href="../serde_core/ser/trait.Serializer.html#associatedtype.Ok" title="type serde_core::ser::Serializer::Ok">Ok</a>, S::<a class="associatedtype" href="../serde_core/ser/trait.Serializer.html#associatedtype.Error" title="type serde_core::ser::Serializer::Error">Error</a>><div class="where">where
|
||
S: <a class="trait" href="../serde_core/ser/trait.Serializer.html" title="trait serde_core::ser::Serializer">Serializer</a>,</div></h4></section></summary><div class='docblock'>Serialize this value into the given Serde serializer. <a href="../serde_core/ser/trait.Serialize.html#tymethod.serialize">Read more</a></div></details></div></details><section id="impl-Eq-for-Map%3CString,+Value%3E" class="impl"><a class="src rightside" href="../src/serde_json/map.rs.html#416">Source</a><a href="#impl-Eq-for-Map%3CString,+Value%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/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>></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-Map%3CK,+V%3E" class="impl"><a href="#impl-Freeze-for-Map%3CK,+V%3E" class="anchor">§</a><h3 class="code-header">impl<K, V> <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><K, V></h3></section><section id="impl-RefUnwindSafe-for-Map%3CK,+V%3E" class="impl"><a href="#impl-RefUnwindSafe-for-Map%3CK,+V%3E" class="anchor">§</a><h3 class="code-header">impl<K, V> <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><K, V><div class="where">where
|
||
K: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>,
|
||
V: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>,</div></h3></section><section id="impl-Send-for-Map%3CK,+V%3E" class="impl"><a href="#impl-Send-for-Map%3CK,+V%3E" class="anchor">§</a><h3 class="code-header">impl<K, V> <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><K, V><div class="where">where
|
||
K: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,
|
||
V: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section><section id="impl-Sync-for-Map%3CK,+V%3E" class="impl"><a href="#impl-Sync-for-Map%3CK,+V%3E" class="anchor">§</a><h3 class="code-header">impl<K, V> <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><K, V><div class="where">where
|
||
K: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,
|
||
V: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</div></h3></section><section id="impl-Unpin-for-Map%3CK,+V%3E" class="impl"><a href="#impl-Unpin-for-Map%3CK,+V%3E" class="anchor">§</a><h3 class="code-header">impl<K, V> <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><K, V></h3></section><section id="impl-UnwindSafe-for-Map%3CK,+V%3E" class="impl"><a href="#impl-UnwindSafe-for-Map%3CK,+V%3E" class="anchor">§</a><h3 class="code-header">impl<K, V> <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Map.html" title="struct serde_json::Map">Map</a><K, V><div class="where">where
|
||
K: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>,
|
||
V: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>,</div></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.93.1/src/core/any.rs.html#138">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.93.1/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.93.1/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.93.1/src/core/any.rs.html#139">Source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.93.1/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.93.1/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.93.1/src/core/borrow.rs.html#212">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T<div class="where">where
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/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.93.1/src/core/borrow.rs.html#214">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.93.1/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.93.1/src/core/borrow.rs.html#221">Source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T<div class="where">where
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/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.93.1/src/core/borrow.rs.html#222">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CloneToUninit-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/clone.rs.html#547">Source</a><a href="#impl-CloneToUninit-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/clone/trait.CloneToUninit.html" title="trait core::clone::CloneToUninit">CloneToUninit</a> for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone_to_uninit" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/clone.rs.html#549">Source</a><a href="#method.clone_to_uninit" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="https://doc.rust-lang.org/1.93.1/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit" class="fn">clone_to_uninit</a>(&self, dest: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.pointer.html">*mut </a><a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>)</h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>clone_to_uninit</code>)</span></div></span><div class='docblock'>Performs copy-assignment from <code>self</code> to <code>dest</code>. <a href="https://doc.rust-lang.org/1.93.1/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#785">Source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#788">Source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#767-769">Source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#777">Source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -> U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
|
||
<p>That is, this conversion is whatever the implementation of
|
||
<code><a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToOwned-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/alloc/borrow.rs.html#85-87">Source</a><a href="#impl-ToOwned-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.93.1/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.93.1/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Owned" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/alloc/borrow.rs.html#89">Source</a><a href="#associatedtype.Owned" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.93.1/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.93.1/src/alloc/borrow.rs.html#90">Source</a><a href="#method.to_owned" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fn">to_owned</a>(&self) -> T</h4></section></summary><div class='docblock'>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/1.93.1/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.93.1/src/alloc/borrow.rs.html#94">Source</a><a href="#method.clone_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fn">clone_into</a>(&self, target: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&mut T</a>)</h4></section></summary><div class='docblock'>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/1.93.1/alloc/borrow/trait.ToOwned.html#method.clone_into">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.93.1/src/core/convert/mod.rs.html#827-829">Source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-3" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#831">Source</a><a href="#associatedtype.Error-3" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.93.1/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.93.1/src/core/convert/mod.rs.html#834">Source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#811-813">Source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-2" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#815">Source</a><a href="#associatedtype.Error-2" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.93.1/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.93.1/src/core/convert/mod.rs.html#818">Source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><section id="impl-DeserializeOwned-for-T" class="impl"><a class="src rightside" href="../src/serde_core/de/mod.rs.html#633">Source</a><a href="#impl-DeserializeOwned-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../serde_core/de/trait.DeserializeOwned.html" title="trait serde_core::de::DeserializeOwned">DeserializeOwned</a> for T<div class="where">where
|
||
T: for<'de> <a class="trait" href="../serde_core/de/trait.Deserialize.html" title="trait serde_core::de::Deserialize">Deserialize</a><'de>,</div></h3></section></div><script type="text/json" id="notable-traits-data">{"IntoValues":"<h3>Notable traits for <code><a class=\"struct\" href=\"map/struct.IntoValues.html\" title=\"struct serde_json::map::IntoValues\">IntoValues</a></code></h3><pre><code><div class=\"where\">impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/iterator/trait.Iterator.html\" title=\"trait core::iter::traits::iterator::Iterator\">Iterator</a> for <a class=\"struct\" href=\"map/struct.IntoValues.html\" title=\"struct serde_json::map::IntoValues\">IntoValues</a></div><div class=\"where\"> type <a href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item\" class=\"associatedtype\">Item</a> = <a class=\"enum\" href=\"enum.Value.html\" title=\"enum serde_json::Value\">Value</a>;</div>","Iter<'_>":"<h3>Notable traits for <code><a class=\"struct\" href=\"map/struct.Iter.html\" title=\"struct serde_json::map::Iter\">Iter</a><'a></code></h3><pre><code><div class=\"where\">impl<'a> <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/iterator/trait.Iterator.html\" title=\"trait core::iter::traits::iterator::Iterator\">Iterator</a> for <a class=\"struct\" href=\"map/struct.Iter.html\" title=\"struct serde_json::map::Iter\">Iter</a><'a></div><div class=\"where\"> type <a href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item\" class=\"associatedtype\">Item</a> = (&'a <a class=\"struct\" href=\"https://doc.rust-lang.org/1.93.1/alloc/string/struct.String.html\" title=\"struct alloc::string::String\">String</a>, &'a <a class=\"enum\" href=\"enum.Value.html\" title=\"enum serde_json::Value\">Value</a>);</div>","IterMut<'_>":"<h3>Notable traits for <code><a class=\"struct\" href=\"map/struct.IterMut.html\" title=\"struct serde_json::map::IterMut\">IterMut</a><'a></code></h3><pre><code><div class=\"where\">impl<'a> <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/iterator/trait.Iterator.html\" title=\"trait core::iter::traits::iterator::Iterator\">Iterator</a> for <a class=\"struct\" href=\"map/struct.IterMut.html\" title=\"struct serde_json::map::IterMut\">IterMut</a><'a></div><div class=\"where\"> type <a href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item\" class=\"associatedtype\">Item</a> = (&'a <a class=\"struct\" href=\"https://doc.rust-lang.org/1.93.1/alloc/string/struct.String.html\" title=\"struct alloc::string::String\">String</a>, &'a mut <a class=\"enum\" href=\"enum.Value.html\" title=\"enum serde_json::Value\">Value</a>);</div>","Keys<'_>":"<h3>Notable traits for <code><a class=\"struct\" href=\"map/struct.Keys.html\" title=\"struct serde_json::map::Keys\">Keys</a><'a></code></h3><pre><code><div class=\"where\">impl<'a> <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/iterator/trait.Iterator.html\" title=\"trait core::iter::traits::iterator::Iterator\">Iterator</a> for <a class=\"struct\" href=\"map/struct.Keys.html\" title=\"struct serde_json::map::Keys\">Keys</a><'a></div><div class=\"where\"> type <a href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item\" class=\"associatedtype\">Item</a> = &'a <a class=\"struct\" href=\"https://doc.rust-lang.org/1.93.1/alloc/string/struct.String.html\" title=\"struct alloc::string::String\">String</a>;</div>","Values<'_>":"<h3>Notable traits for <code><a class=\"struct\" href=\"map/struct.Values.html\" title=\"struct serde_json::map::Values\">Values</a><'a></code></h3><pre><code><div class=\"where\">impl<'a> <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/iterator/trait.Iterator.html\" title=\"trait core::iter::traits::iterator::Iterator\">Iterator</a> for <a class=\"struct\" href=\"map/struct.Values.html\" title=\"struct serde_json::map::Values\">Values</a><'a></div><div class=\"where\"> type <a href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item\" class=\"associatedtype\">Item</a> = &'a <a class=\"enum\" href=\"enum.Value.html\" title=\"enum serde_json::Value\">Value</a>;</div>","ValuesMut<'_>":"<h3>Notable traits for <code><a class=\"struct\" href=\"map/struct.ValuesMut.html\" title=\"struct serde_json::map::ValuesMut\">ValuesMut</a><'a></code></h3><pre><code><div class=\"where\">impl<'a> <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/iterator/trait.Iterator.html\" title=\"trait core::iter::traits::iterator::Iterator\">Iterator</a> for <a class=\"struct\" href=\"map/struct.ValuesMut.html\" title=\"struct serde_json::map::ValuesMut\">ValuesMut</a><'a></div><div class=\"where\"> type <a href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item\" class=\"associatedtype\">Item</a> = &'a mut <a class=\"enum\" href=\"enum.Value.html\" title=\"enum serde_json::Value\">Value</a>;</div>"}</script></section></div></main></body></html> |