<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `Map` struct in crate `serde_json`."><metaname="keywords"content="rust, rustlang, rust-lang, Map"><title>serde_json::Map - Rust</title><linkrel="stylesheet"type="text/css"href="../normalize.css"><linkrel="stylesheet"type="text/css"href="../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../dark.css"><linkrel="stylesheet"type="text/css"href="../light.css"id="themeStyle"><scriptsrc="../storage.js"></script><noscript><linkrel="stylesheet"href="../noscript.css"></noscript><linkrel="shortcut icon"href="../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><bodyclass="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../serde_json/index.html'><divclass='logo-container'><imgsrc='../rust-logo.png'alt='logo'></div></a><pclass='location'>Struct Map</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#methods">Methods</a><divclass="sidebar-links"><ahref="#method.clear">clear</a><ahref="#method.contains_key">contains_key</a><ahref="#method.entry">entry</a><ahref="#method.get">get</a><ahref="#method.get_mut">get_mut</a><ahref="#method.insert">insert</a><ahref="#method.is_empty">is_empty</a><ahref="#method.iter">iter</a><ahref="#method.iter_mut">iter_mut</a><ahref="#method.keys">keys</a><ahref="#method.len">len</a><ahref="#method.new">new</a><ahref="#method.remove">remove</a><ahref="#method.values">values</a><ahref="#method.values_mut">values_mut</a><ahref="#method.with_capacity">with_capacity</a></div><aclass="sidebar-title"href="#implementations">Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-Clone">Clone</a><ahref="#impl-Debug">Debug</a><ahref="#impl-Default">Default</a><ahref="#impl-Deserialize%3C%27de%3E">Deserialize<'de></a><ahref="#impl-Extend%3C(String%2C%20Value)%3E">Extend<(String, Value)></a><ahref="#impl-From%3CMap%3CString%2C%20Value%3E%3E">From<Map<String, Value>></a><ahref="#impl-FromIterator%3C(String%2C%20Value)%3E">FromIterator<(String, Value)></a><ahref="#impl-Index%3C%26%27a%20Q%3E">Index<&'a Q></a><ahref="#impl-IndexMut%3C%26%27a%20Q%3E">IndexMut<&'a Q></a><ahref="#impl-IntoIterator">IntoIterator</a><ahref="#impl-PartialEq%3CMap%3CString%2C%20Value%3E%3E">PartialEq<Map<String, Value>></a><ahref="#impl-Serialize">Serialize</a></div><aclass="sidebar-title"href="#synthetic-implementations">Auto Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-RefUnwindSafe">RefUnwindSafe</a><ahref="#impl-Send">Send</a><ahref="#impl-Sync">Sync</a><ahref="#impl-Unpin">Unpin</a><ahref="#impl-UnwindSafe">UnwindSafe</a></div><aclass="sidebar-title"href="#blanket-implementations">Blanket Implementations</a><divclass="sidebar-links"><ahref="#impl-Any">Any</a><ahref="#impl-Borrow%3CT%3E">Borrow<T></a><ahref="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><ahref="#impl-DeserializeOwned">DeserializeOwned</a><ahref="#impl-From%3CT%3E">From<T></a><ahref="#impl-Into%3CU%3E">Into<U></a><ahref="#impl-IntoIterator">IntoIterator</a><ahref="#impl-ToOwned">ToOwned</a><ahref="#impl-TryFrom%3CU%3E">TryFrom<U></a><ahref="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><pclass='location'><ahref='index.html'>serde_json</a></p><script>window.sidebarCurrent={name:'Map',ty:'struct',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choi
</div><h2id='methods'class='small-section-header'>Methods<ahref='#methods'class='anchor'></a></h2><h3id='impl'class='impl'><codeclass='in-band'>impl <aclass="struct"href="../serde_json/map/struct.Map.html"title="struct serde_json::map::Map">Map</a><<aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>, <aclass="enum"href="../serde_json/value/enum.Value.html"title="enum serde_json::value::Value">Value</a>></code><ahref='#impl'class='anchor'></a><aclass='srclink'href='../src/serde_json/map.rs.html#33-200'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.new'class="method"><codeid='new.v'>pub fn <ahref='#method.new'class='fnname'>new</a>() -> Self</code><aclass='srclink'href='../src/serde_json/map.rs.html#36-40'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Makes a new empty Map.</p>
</div><h4id='method.with_capacity'class="method"><codeid='with_capacity.v'>pub fn <ahref='#method.with_capacity'class='fnname'>with_capacity</a>(capacity: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> Self</code><aclass='srclink'href='../src/serde_json/map.rs.html#45-51'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Makes a new empty Map with the given initial capacity.</p>
</div><h4id='method.clear'class="method"><codeid='clear.v'>pub fn <ahref='#method.clear'class='fnname'>clear</a>(&mut self)</code><aclass='srclink'href='../src/serde_json/map.rs.html#64-66'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Clears the map, removing all values.</p>
</div><h4id='method.get'class="method"><codeid='get.v'>pub fn <ahref='#method.get'class='fnname'>get</a><Q: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>>(&self, key: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Q) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><&<aclass="enum"href="../serde_json/value/enum.Value.html"title="enum serde_json::value::Value">Value</a>><spanclass="where fmt-newline">where<br> <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html"title="trait core::borrow::Borrow">Borrow</a><Q>,<br> Q: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html"title="trait core::cmp::Ord">Ord</a> + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html"title="trait core::cmp::Eq">Eq</a> + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html"title="trait core::hash::Hash">Hash</a>, </span></code><aclass='srclink'href='../src/serde_json/map.rs.html#73-79'title='goto source code'>[src]</a></h4><divclass='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><h4id='method.contains_key'class="method"><codeid='contains_key.v'>pub fn <ahref='#method.contains_key'class='fnname'>contains_key</a><Q: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>>(&self, key: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Q) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><spanclass="where fmt-newline">where<br> <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html"title="trait core::borrow::Borrow">Borrow</a><Q>,<br> Q: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html"title="trait core::cmp::Ord">Ord</a> + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html"title="trait core::cmp::Eq">Eq</a> + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html"title="trait core::hash::Hash">Hash</a>, </span></code><aclass='srclink'href='../src/serde_json/map.rs.html#86-92'title='goto source code'>[src]</a></h4><divclass='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><h4id='method.get_mut'class="method"><codeid='get_mut.v'>pub fn <ahref='#method.get_mut'class='fnname'>get_mut</a><Q: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>>(&mut self, key: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Q) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><&mut <aclass="enum"href="../serde_json/value/enum.Value.html"title="enum serde_json::value::Value">Value</a>><spanclass="where fmt-newline">where<br> <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html"title="trait core::borrow::Borrow">Borrow</a><Q>,<br> Q: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html"title="trait core::cmp::Ord">Ord</a> + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html"title="trait core::cmp::Eq">Eq</a> + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html"title="trait core::hash::Hash">Hash</a>, </span></code><aclass='srclink'href='../src/serde_json/map.rs.html#99-105'title='goto source code'>[src]</a></h4><divclass='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><h4id='method.insert'class="method"><codeid='insert.v'>pub fn <ahref='#method.insert'class='fnname'>insert</a>(&mut self, k: <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>, v: <aclass="enum"href="../serde_json/value/enum.Value.html"title="enum serde_json::value::Value">Value</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="enum"href="../serde_json/value/enum.Value.html"title="enum serde_json::value::Value">Value</a>></code><aclass='srclink'href='../src/serde_json/map.rs.html#114-116'title='goto source code'>[src]</a></h4><divclass='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><h4id='method.remove'class="method"><codeid='remove.v'>pub fn <ahref='#method.remove'class='fnname'>remove</a><Q: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>>(&mut self, key: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Q) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="enum"href="../serde_json/value/enum.Value.html"title="enum serde_json::value::Value">Value</a>><spanclass="where fmt-newline">where<br> <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html"title="trait core::borrow::Borrow">Borrow</a><Q>,<br> Q: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html"title="trait core::cmp::Ord">Ord</a> + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html"title="trait core::cmp::Eq">Eq</a> + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html"title="trait core::hash::Hash">Hash</a>, </span></code><aclass='srclink'href='../src/serde_json/map.rs.html#124-130'title='goto source code'>[src]</a></h4><divclass='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>
</div><h4id='method.entry'class="method"><codeid='entry.v'>pub fn <ahref='#method.entry'class='fnname'>entry</a><S>(&mut self, key: S) -><aclass="enum"href="../serde_json/map/enum.Entry.html"title="enum serde_json::map::Entry">Entry</a><spanclass="where fmt-newline">where<br> S: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><<aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>>, </span></code><aclass='srclink'href='../src/serde_json/map.rs.html#134-147'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Gets the given key's corresponding entry in the map for in-place
manipulation.</p>
</div><h4id='method.len'class="method"><codeid='len.v'>pub fn <ahref='#method.len'class='fnname'>len</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><aclass='srclink'href='../src/serde_json/map.rs.html#151-153'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Returns the number of elements in the map.</p>
</div><h4id='method.is_empty'class="method"><codeid='is_empty.v'>pub fn <ahref='#method.is_empty'class='fnname'>is_empty</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><aclass='srclink'href='../src/serde_json/map.rs.html#157-159'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Returns true if the map contains no elements.</p>
</div><h4id='method.iter'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="struct"href="../serde_json/map/struct.Iter.html"title="struct serde_json::map::Iter">Iter</a><'a></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="struct"href="../serde_json/map/struct.Iter.html"title="struct serde_json::map::Iter">Iter</a><'a></h3><codeclass="content"><spanclass="where fmt-newline">impl<'a><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html"title="trait core::iter::traits::iterator::Iterator">Iterator</a> for <aclass="struct"href="../serde_json/map/struct.Iter.html"title="struct serde_json::map::Iter">Iter</a><'a></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>&'a <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>, &'a <aclass="enum"href="../serde_json/value/enum.Value.html"title="enum serde_json::value::Value">Value</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>;</span></code></div></div><codeid='iter.v'>pub fn <ahref='#method.iter'class='fnname'>iter</a>(&self) -><aclass="struct"href="../serde_json/map/struct.Iter.html"title="struct serde_json::map::Iter">Iter</a></code><aclass='srclink'href='../src/serde_json/map.rs.html#163-167'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Gets an iterator over the entries of the map.</p>
</div><h4id='method.iter_mut'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="struct"href="../serde_json/map/struct.IterMut.html"title="struct serde_json::map::IterMut">IterMut</a><'a></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="struct"href="../serde_json/map/struct.IterMut.html"title="struct serde_json::map::IterMut">IterMut</a><'a></h3><codeclass="content"><spanclass="where fmt-newline">impl<'a><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html"title="trait core::iter::traits::iterator::Iterator">Iterator</a> for <aclass="struct"href="../serde_json/map/struct.IterMut.html"title="struct serde_json::map::IterMut">IterMut</a><'a></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>&'a <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>, &'a mut <aclass="enum"href="../serde_json/value/enum.Value.html"title="enum serde_json::value::Value">Value</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>;</span></code></div></div><codeid='iter_mut.v'>pub fn <ahref='#method.iter_mut'class='fnname'>iter_mut</a>(&mut self) -><aclass="struct"href="../serde_json/map/struct.IterMut.html"title="struct serde_json::map::IterMut">IterMut</a></code><aclass='srclink'href='../src/serde_json/map.rs.html#171-175'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Gets a mutable iterator over the entries of the map.</p>
</div><h4id='method.keys'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="struct"href="../serde_json/map/struct.Keys.html"title="struct serde_json::map::Keys">Keys</a><'a></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="struct"href="../serde_json/map/struct.Keys.html"title="struct serde_json::map::Keys">Keys</a><'a></h3><codeclass="content"><spanclass="where fmt-newline">impl<'a><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html"title="trait core::iter::traits::iterator::Iterator">Iterator</a> for <aclass="struct"href="../serde_json/map/struct.Keys.html"title="struct serde_json::map::Keys">Keys</a><'a></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = &'a <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>;</span></code></div></div><codeid='keys.v'>pub fn <ahref='#method.keys'class='fnname'>keys</a>(&self) -><aclass="struct"href="../serde_json/map/struct.Keys.html"title="struct serde_json::map::Keys">Keys</a></code><aclass='srclink'href='../src/serde_json/map.rs.html#179-183'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Gets an iterator over the keys of the map.</p>
</div><h4id='method.values'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="struct"href="../serde_json/map/struct.Values.html"title="struct serde_json::map::Values">Values</a><'a></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="struct"href="../serde_json/map/struct.Values.html"title="struct serde_json::map::Values">Values</a><'a></h3><codeclass="content"><spanclass="where fmt-newline">impl<'a><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html"title="trait core::iter::traits::iterator::Iterator">Iterator</a> for <aclass="struct"href="../serde_json/map/struct.Values.html"title="struct serde_json::map::Values">Values</a><'a></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = &'a <aclass="enum"href="../serde_json/value/enum.Value.html"title="enum serde_json::value::Value">Value</a>;</span></code></div></div><codeid='values.v'>pub fn <ahref='#method.values'class='fnname'>values</a>(&self) -><aclass="struct"href="../serde_json/map/struct.Values.html"title="struct serde_json::map::Values">Values</a></code><aclass='srclink'href='../src/serde_json/map.rs.html#187-191'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Gets an iterator over the values of the map.</p>
</div><h4id='method.values_mut'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="struct"href="../serde_json/map/struct.ValuesMut.html"title="struct serde_json::map::ValuesMut">ValuesMut</a><'a></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="struct"href="../serde_json/map/struct.ValuesMut.html"title="struct serde_json::map::ValuesMut">ValuesMut</a><'a></h3><codeclass="content"><spanclass="where fmt-newline">impl<'a><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html"title="trait core::iter::traits::iterator::Iterator">Iterator</a> for <aclass="struct"href="../serde_json/map/struct.ValuesMut.html"title="struct serde_json::map::ValuesMut">ValuesMut</a><'a></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = &'a mut <aclass="enum"href="../serde_json/value/enum.Value.html"title="enum serde_json::value::Value">Value</a>;</span></code></div></div><codeid='values_mut.v'>pub fn <ahref='#method.values_mut'class='fnname'>values_mut</a>(&mut self) -><aclass="struct"href="../serde_json/map/struct.ValuesMut.html"title="struct serde_json::map::ValuesMut">ValuesMut</a></code><aclass='srclink'href='../src/serde_json/map.rs.html#195-199'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Gets an iterator over mutable values of the map.</p>
</div></div><h3id='impl-PartialEq%3CMap%3CString%2C%20Value%3E%3E'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><<aclass="struct"href="../serde_json/map/struct.Map.html"title="struct serde_json::map::Map">Map</a><<aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>, <aclass="enum"href="../serde_json/value/enum.Value.html"title="enum serde_json::value::Value">Value</a>>> for <aclass="struct"href="../serde_json/map/struct.Map.html"title="struct serde_json::map::Map">Map</a><<aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>, <aclass="enum"href="../serde_json/value/enum.Value.html"title="enum serde_json::value::Value">Value</a>></code><ahref='#impl-PartialEq%3CMap%3CString%2C%20Value%3E%3E'class='anchor'></a><aclass='srclink'href='../src/serde_json/map.rs.html#220-234'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.eq'class="method hidden"><codeid='eq.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq'class='fnname'>eq</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><aclass='srclink'href='../src/serde_json/map.rs.html#222-233'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></div><h3id='impl-IntoIterator'class='impl'><codeclass='in-band'>impl<'a><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a> for &'a <aclass="struct"href="../serde_json/map/struct.Map.html"title="struct serde_json::map::Map">Map</a><<aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>, <aclass="enum"href="../serde_json/value/enum.Value.html"title="enum serde_json::value::Value">Value</a>></code><ahref='#impl-IntoIterator'class='anchor'></a><aclass='srclink'href='../src/serde_json/map.rs.html#701-710'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Item'class="type"><codeid='Item.t'>type <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item'class="type">Item</a> = <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>&'a <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>, &'a <aclass="enum"href="../serde_json/value/enum.Value.html"title="enum serde_json::value::Value">Value</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></h4><divclass='docblock'><p>The type of the elements being iterated over.</p>
</div><h4id='associatedtype.IntoIter'class="type"><codeid='IntoIter.t'>type <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter'class="type">IntoIter</a> = <aclass="struct"href="../serde_json/map/struct.Iter.html"title="struct serde_json::map::Iter">Iter</a><'a></code></h4><divclass='docblock'><p>Which kind of iterator are we turning this into?</p>
</div><h4id='method.into_iter'class="method hidden"><codeid='into_iter.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#tymethod.into_iter'class='fnname'>into_iter</a>(self) -> Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter"title="type core::iter::traits::collect::IntoIterator::IntoIter">IntoIter</a></code><aclass='srclink'href='../src/serde_json/map.rs.html#705-709'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Creates an iterator from a value. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#tymethod.into_iter">Read more</a></p>
</div></div><h3id='impl-IntoIterator-1'class='impl'><codeclass='in-band'>impl<'a><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a> for &'a mut <aclass="struct"href="../serde_json/map/struct.Map.html"title="struct serde_json::map::Map">Map</a><<aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>, <aclass="enum"href="../serde_json/value/enum.Value.html"title="enum serde_json::value::Value">Value</a>></code><ahref='#impl-IntoIterator-1'class='anchor'></a><aclass='srclink'href='../src/serde_json/map.rs.html#726-735'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Item-1'class="type"><codeid='Item.t-1'>type <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item'class="type">Item</a> = <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>&'a <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>, &'a mut <aclass="enum"href="../serde_json/value/enum.Value.html"title="enum serde_json::value::Value">Value</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></h4><divclass='docblock'><p>The type of the elements being iterated over.</p>
</div><h4id='associatedtype.IntoIter-1'class="type"><codeid='IntoIter.t-1'>type <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter'class="type">IntoIter</a> = <aclass="struct"href="../serde_json/map/struct.IterMut.html"title="struct serde_json::map::IterMut">IterMut</a><'a></code></h4><divclass='docblock'><p>Which kind of iterator are we turning this into?</p>
</div><h4id='method.into_iter-1'class="method hidden"><codeid='into_iter.v-1'>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#tymethod.into_iter'class='fnname'>into_iter</a>(self) -> Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter"title="type core::iter::traits::collect::IntoIterator::IntoIter">IntoIter</a></code><aclass='srclink'href='../src/serde_json/map.rs.html#730-734'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Creates an iterator from a value. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#tymethod.into_iter">Read more</a></p>
</div></div><h3id='impl-IntoIterator-2'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a> for <aclass="struct"href="../serde_json/map/struct.Map.html"title="struct serde_json::map::Map">Map</a><<aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>, <aclass="enum"href="../serde_json/value/enum.Value.html"title="enum serde_json::value::Value">Value</a>></code><ahref='#impl-IntoIterator-2'class='anchor'></a><aclass='srclink'href='../src/serde_json/map.rs.html#751-760'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Item-2'class="type"><codeid='Item.t-2'>type <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item'class="type">Item</a> = <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>, <aclass="enum"href="../serde_json/value/enum.Value.html"title="enum serde_json::value::Value">Value</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></h4><divclass='docblock'><p>The type of the elements being iterated over.</p>
</div><h4id='associatedtype.IntoIter-2'class="type"><codeid='IntoIter.t-2'>type <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter'class="type">IntoIter</a> = <aclass="struct"href="../serde_json/map/struct.IntoIter.html"title="struct serde_json::map::IntoIter">IntoIter</a></code></h4><divclass='docblock'><p>Which kind of iterator are we turning this into?</p>
</div><h4id='method.into_iter-2'class="method hidden"><codeid='into_iter.v-2'>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#tymethod.into_iter'class='fnname'>into_iter</a>(self) -> Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter"title="type core::iter::traits::collect::IntoIterator::IntoIter">IntoIter</a></code><aclass='srclink'href='../src/serde_json/map.rs.html#755-759'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Creates an iterator from a value. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#tymethod.into_iter">Read more</a></p>
</div></div><h3id='impl-Index%3C%26%27a%20Q%3E'class='impl'><codeclass='in-band'>impl<'a, Q: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>><aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html"title="trait core::ops::index::Index">Index</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a </a>Q> for <aclass="struct"href="../serde_json/map/struct.Map.html"title="struct serde_json::map::Map">Map</a><<aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>, <aclass="enum"href="../serde_json/value/enum.Value.html"title="enum serde_json::value::Value">Value</a>><spanclass="where fmt-newline">where<br> <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html"title="trait core::borrow::Borrow">Borrow</a><Q>,<br> Q: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html"title="trait core::cmp::Ord">Ord</a> + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html"title="trait core::cmp::Eq">Eq</a> + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html"title="trait core::hash::Hash">Hash</a>, </span></code><ahref='#impl-Index%3C%26%27a%20Q%3E'class='anchor'></a><aclass='srclink'href='../src/serde_json/map.rs.html#252-262'title='goto source code'>[src]</a></h3><divclass='docblock'><p>Access an element of this map. Panics if the given key is not present in the
map.</p>
<divclass='information'><divclass='tooltip edition'>ⓘ<spanclass='tooltiptext'>This code runs with edition 2018</span></div></div><divclass="example-wrap"><preclass="rust rust-example-rendered edition ">
</div><divclass='impl-items'><h4id='associatedtype.Output'class="type"><codeid='Output.t'>type <ahref='https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html#associatedtype.Output'class="type">Output</a> = <aclass="enum"href="../serde_json/value/enum.Value.html"title="enum serde_json::value::Value">Value</a></code></h4><divclass='docblock'><p>The returned type after indexing.</p>
</div></div><h3id='impl-IndexMut%3C%26%27a%20Q%3E'class='impl'><codeclass='in-band'>impl<'a, Q: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>><aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/index/trait.IndexMut.html"title="trait core::ops::index::IndexMut">IndexMut</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a </a>Q> for <aclass="struct"href="../serde_json/map/struct.Map.html"title="struct serde_json::map::Map">Map</a><<aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>, <aclass="enum"href="../serde_json/value/enum.Value.html"title="enum serde_json::value::Value">Value</a>><spanclass="where fmt-newline">where<br> <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html"title="trait core::borrow::Borrow">Borrow</a><Q>,<br> Q: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html"title="trait core::cmp::Ord">Ord</a> + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html"title="trait core::cmp::Eq">Eq</a> + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html"title="trait core::hash::Hash">Hash</a>, </span></code><ahref='#impl-IndexMut%3C%26%27a%20Q%3E'class='anchor'></a><aclass='srclink'href='../src/serde_json/map.rs.html#275-283'title='goto source code'>[src]</a></h3><divclass='docblock'><p>Mutably access an element of this map. Panics if the given key is not
present in the map.</p>
<divclass='information'><divclass='tooltip edition'>ⓘ<spanclass='tooltiptext'>This code runs with edition 2018</span></div></div><divclass="example-wrap"><preclass="rust rust-example-rendered edition ">
</div></div><h3id='impl-IntoIterator-3'class='impl'><codeclass='in-band'>impl<I><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a> for I <spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html"title="trait core::iter::traits::iterator::Iterator">Iterator</a>, </span></code><ahref='#impl-IntoIterator-3'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/traits/collect.rs.html#242-249'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Item-3'class="type"><codeid='Item.t-3'>type <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item'class="type">Item</a> = <I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html"title="trait core::iter::traits::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a></code></h4><divclass='docblock'><p>The type of the elements being iterated over.</p>
</div><h4id='associatedtype.IntoIter-3'class="type"><codeid='IntoIter.t-3'>type <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter'class="type">IntoIter</a> = I</code></h4><divclass='docblock'><p>Which kind of iterator are we turning this into?</p>
</div><h4id='method.into_iter-3'class="method hidden"><codeid='into_iter.v-3'>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#tymethod.into_iter'class='fnname'>into_iter</a>(self) -> I</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/traits/collect.rs.html#246-248'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Creates an iterator from a value. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#tymethod.into_iter">Read more</a></p>
</div></div><h3id='impl-ToOwned'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html"title="trait alloc::borrow::ToOwned">ToOwned</a> for T <spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>, </span></code><ahref='#impl-ToOwned'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Owned'class="type"><codeid='Owned.t'>type <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned'class="type">Owned</a> = T</code></h4><divclass='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4id='method.to_owned'class="method hidden"><codeid='to_owned.v'>fn <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned'class='fnname'>to_owned</a>(&self) -> T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <ahref="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4id='method.clone_into'class="method hidden"><codeid='clone_into.v'>fn <ahref='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into'class='fnname'>clone_into</a>(&self, target: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T)</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91'title='goto source code'>[src]</a></h4><divclass='stability hidden'><divclass='stab unstable'><details><summary><spanclass='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
</details></div></div><divclass='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <ahref="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>
</div></div><h3id='impl-TryFrom%3CU%3E'class='impl'><codeclass='in-band'>impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><T>, </span></code><ahref='#impl-TryFrom%3CU%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#571-577'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Error'class="type"><codeid='Error.t'>type <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error'class="type">Error</a> = <aclass="enum"href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html"title="enum core::convert::Infallible">Infallible</a></code></h4><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4id='method.try_from'class="method hidden"><codeid='try_from.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from'class='fnname'>try_from</a>(value: U) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><T, <T as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#574-576'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-TryInto%3CU%3E'class='impl'><codeclass='in-band'>impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html"title="trait core::convert::TryInto">TryInto</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>, </span></code><ahref='#impl-TryInto%3CU%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#559-566'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Error-1'class="type"><codeid='Error.t-1'>type <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error'class="type">Error</a> = <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a></code></h4><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4id='method.try_into'class="method hidden"><codeid='try_into.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into'class='fnname'>try_into</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><U, <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#563-565'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-BorrowMut%3CT%3E'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html"title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T <spanclass="where fmt-newline">where<br> T: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></code><ahref='#impl-BorrowMut%3CT%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#218-220'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.borrow_mut'class="method hidden"><codeid='borrow_mut.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut'class='fnname'>borrow_mut</a>(&mut self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#219'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Mutably borrows from an owned value. <ahref="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></div><h3id='impl-Borrow%3CT%3E'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html"title="trait core::borrow::Borrow">Borrow</a><T> for T <spanclass="where fmt-newline">where<br> T: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></code><ahref='#impl-Borrow%3CT%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#213-215'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.borrow'class="method hidden"><codeid='borrow.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow'class='fnname'>borrow</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Immutably borrows from an owned value. <ahref="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></div><h3id='impl-Any'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html"title="trait core::any::Any">Any</a> for T <spanclass="where fmt-newline">where<br> T: 'static + ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></code><ahref='#impl-Any'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#100-102'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.type_id'class="method hidden"><codeid='type_id.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id'class='fnname'>type_id</a>(&self) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html"title="struct core::any::TypeId">TypeId</a></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#101'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <ahref="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></div><h3id='impl-DeserializeOwned'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="../serde/de/trait.DeserializeOwned.html"title="trait serde::de::DeserializeOwned">DeserializeOwned</a> for T <spanclass="where fmt-newline">where<br> T: <aclass="trait"href="../serde/de/trait.Deserialize.html"title="trait serde::de::Deserialize">Deserialize</a><'de>, </span></code><ahref='#impl-DeserializeOwned'class='anchor'></a><aclass='srclink'href='../src/serde/de/mod.rs.html#597'title='goto source code'>[src]</a></h3><divclass='impl-items'></div></div></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd>↑</kbd></dt><dd>Move up in search results</dd><dt><kbd>↓</kbd></dt><dd>Move down in search results</dd><dt><kbd>↹</kbd></dt><dd>Switch tab</dd><dt><kbd>⏎</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><divclass="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath="../";window.currentCrate="serde_json";</script><scriptsrc="../aliases.js"></script><scriptsrc="../main.js"></script><scriptdefersrc="../search-index.js"></script></body></html>