<!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 `Number` struct in crate `serde_json`."><metaname="keywords"content="rust, rustlang, rust-lang, Number"><title>serde_json::Number - 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 Number</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#methods">Methods</a><divclass="sidebar-links"><ahref="#method.as_f64">as_f64</a><ahref="#method.as_i64">as_i64</a><ahref="#method.as_u64">as_u64</a><ahref="#method.from_f64">from_f64</a><ahref="#method.is_f64">is_f64</a><ahref="#method.is_i64">is_i64</a><ahref="#method.is_u64">is_u64</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-Deserialize%3C%27de%3E">Deserialize<'de></a><ahref="#impl-Deserializer%3C%27de%3E">Deserializer<'de></a><ahref="#impl-Display">Display</a><ahref="#impl-From%3Ci16%3E">From<i16></a><ahref="#impl-From%3Ci32%3E">From<i32></a><ahref="#impl-From%3Ci64%3E">From<i64></a><ahref="#impl-From%3Ci8%3E">From<i8></a><ahref="#impl-From%3Cisize%3E">From<isize></a><ahref="#impl-From%3Cu16%3E">From<u16></a><ahref="#impl-From%3Cu32%3E">From<u32></a><ahref="#impl-From%3Cu64%3E">From<u64></a><ahref="#impl-From%3Cu8%3E">From<u8></a><ahref="#impl-From%3Cusize%3E">From<usize></a><ahref="#impl-FromStr">FromStr</a><ahref="#impl-PartialEq%3CNumber%3E">PartialEq<Number></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-ToOwned">ToOwned</a><ahref="#impl-ToString">ToString</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:'Number',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-choices"></div></div><scriptsrc="../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></
</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/struct.Number.html"title="struct serde_json::Number">Number</a></code><ahref='#impl'class='anchor'></a><aclass='srclink'href='../src/serde_json/number.rs.html#42-256'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.is_i64'class="method"><codeid='is_i64.v'>pub fn <ahref='#method.is_i64'class='fnname'>is_i64</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><aclass='srclink'href='../src/serde_json/number.rs.html#64-73'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Returns true if the <code>Number</code> is an integer between <code>i64::MIN</code> and
<code>i64::MAX</code>.</p>
<p>For any Number on which <code>is_i64</code> returns true, <code>as_i64</code> is guaranteed to
return the integer value.</p>
<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><h4id='method.is_u64'class="method"><codeid='is_u64.v'>pub fn <ahref='#method.is_u64'class='fnname'>is_u64</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><aclass='srclink'href='../src/serde_json/number.rs.html#94-102'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Returns true if the <code>Number</code> is an integer between zero and <code>u64::MAX</code>.</p>
<p>For any Number on which <code>is_u64</code> returns true, <code>as_u64</code> is guaranteed to
return the integer value.</p>
<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><h4id='method.is_f64'class="method"><codeid='is_f64.v'>pub fn <ahref='#method.is_f64'class='fnname'>is_f64</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><aclass='srclink'href='../src/serde_json/number.rs.html#124-139'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Returns true if the <code>Number</code> can be represented by f64.</p>
<p>For any Number on which <code>is_f64</code> returns true, <code>as_f64</code> is guaranteed to
return the floating point value.</p>
<p>Currently this function returns true if and only if both <code>is_i64</code> and
<code>is_u64</code> return false but this is not a guarantee in the future.</p>
<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><h4id='method.as_i64'class="method"><codeid='as_i64.v'>pub fn <ahref='#method.as_i64'class='fnname'>as_i64</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>></code><aclass='srclink'href='../src/serde_json/number.rs.html#155-170'title='goto source code'>[src]</a></h4><divclass='docblock'><p>If the <code>Number</code> is an integer, represent it as i64 if possible. Returns
None otherwise.</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><h4id='method.as_u64'class="method"><codeid='as_u64.v'>pub fn <ahref='#method.as_u64'class='fnname'>as_u64</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>></code><aclass='srclink'href='../src/serde_json/number.rs.html#185-193'title='goto source code'>[src]</a></h4><divclass='docblock'><p>If the <code>Number</code> is an integer, represent it as u64 if possible. Returns
None otherwise.</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><h4id='method.as_f64'class="method"><codeid='as_f64.v'>pub fn <ahref='#method.as_f64'class='fnname'>as_f64</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>></code><aclass='srclink'href='../src/serde_json/number.rs.html#207-216'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Represents the number as f64 if possible. Returns None otherwise.</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><h4id='method.from_f64'class="method"><codeid='from_f64.v'>pub fn <ahref='#method.from_f64'class='fnname'>from_f64</a>(f: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="struct"href="../serde_json/struct.Number.html"title="struct serde_json::Number">Number</a>></code><aclass='srclink'href='../src/serde_json/number.rs.html#231-247'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Converts a finite <code>f64</code> to a <code>Number</code>. Infinite or NaN values are not JSON
numbers.</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><h2id='implementations'class='small-section-header'>Trait Implementations<ahref='#implementations'class='anchor'></a></h2><divid='implementations-list'><h3id='impl-Clone'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a> for <aclass="struct"href="../serde_json/struct.Number.html"title="struct serde_json::Number">Number</a></code><ahref='#impl-Clone'class='anchor'></a><aclass='srclink'href='../src/serde_json/number.rs.html#24'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.clone'class="method hidden"><codeid='clone.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone'class='fnname'>clone</a>(&self) -><aclass="struct"href="../serde_json/struct.Number.html"title="struct serde_json::Number">Number</a></code><aclass='srclink'href='../src/serde_json/number.rs.html#24'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns a copy of the value. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4id='method.clone_from'class="method hidden"><codeid='clone_from.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from'class='fnname'>clone_from</a>(&mut self, source: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self)</code><spanclass='since'title='Stable since Rust version 1.0.0'>1.0.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3id='impl-PartialEq%3CNumber%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/struct.Number.html"title="struct serde_json::Number">Number</a>> for <aclass="struct"href="../serde_json/struct.Number.html"title="struct serde_json::Number">Number</a></code><ahref='#impl-PartialEq%3CNumber%3E'class='anchor'></a><aclass='srclink'href='../src/serde_json/number.rs.html#24'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="struct"href="../serde_json/struct.Number.html"title="struct serde_json::Number">Number</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><aclass='srclink'href='../src/serde_json/number.rs.html#24'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-Debug'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> for <aclass="struct"href="../serde_json/struct.Number.html"title="struct serde_json::Number">Number</a></code><ahref='#impl-Debug'class='anchor'></a><aclass='srclink'href='../src/serde_json/number.rs.html#274-296'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.fmt'class="method hidden"><codeid='fmt.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt'class='fnname'>fmt</a>(&self, formatter: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a>) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></code><aclass='srclink'href='../src/serde_json/number.rs.html#276-290'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div><h3id='impl-Display'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html"title="trait core::fmt::Display">Display</a> for <aclass="struct"href="../serde_json/struct.Number.html"title="struct serde_json::Number">Number</a></code><ahref='#impl-Display'class='anchor'></a><aclass='srclink'href='../src/serde_json/number.rs.html#258-272'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.fmt-1'class="method hidden"><codeid='fmt.v-1'>fn <ahref='https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt'class='fnname'>fmt</a>(&self, formatter: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a>) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></code><aclass='srclink'href='../src/serde_json/number.rs.html#260-266'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></p>
</div></div><h3id='impl-FromStr'class='impl'><codeclass='in-band'>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/str/trait.FromStr.html"title="trait core::str::FromStr">FromStr</a> for <aclass="struct"href="../serde_json/struct.Number.html"title="struct serde_json::Number">Number</a></code><ahref='#impl-FromStr'class='anchor'></a><aclass='srclink'href='../src/serde_json/de.rs.html#1014-1022'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Err'class="type"><codeid='Err.t'>type <ahref='https://doc.rust-lang.org/nightly/core/str/trait.FromStr.html#associatedtype.Err'class="type">Err</a> = <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a></code></h4><divclass='docblock'><p>The associated error which can be returned from parsing.</p>
</div><h4id='method.from_str'class="method hidden"><codeid='from_str.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/str/trait.FromStr.html#tymethod.from_str'class='fnname'>from_str</a>(s: &<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><Self, Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/str/trait.FromStr.html#associatedtype.Err"title="type core::str::FromStr::Err">Err</a>></code><aclass='srclink'href='../src/serde_json/de.rs.html#1017-1021'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Parses a string <code>s</code> to return a value of this type. <ahref="https://doc.rust-lang.org/nightly/core/str/trait.FromStr.html#tymethod.from_str">Read more</a></p>
</div></div><h3id='impl-Deserializer%3C%27de%3E'class='impl'><codeclass='in-band'>impl<'de><aclass="trait"href="../serde/de/trait.Deserializer.html"title="trait serde::de::Deserializer">Deserializer</a><'de> for <aclass="struct"href="../serde_json/struct.Number.html"title="struct serde_json::Number">Number</a></code><ahref='#impl-Deserializer%3C%27de%3E'class='anchor'></a><aclass='srclink'href='../src/serde_json/number.rs.html#516-542'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Error'class="type"><codeid='Error.t'>type <ahref='../serde/de/trait.Deserializer.html#associatedtype.Error'class="type">Error</a> = <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a></code></h4><divclass='docblock'><p>The error type that can be returned if some error occurs during deserialization. <ahref="../serde/de/trait.Deserializer.html#associatedtype.Error">Read more</a></p>
</div><h4id='method.deserialize_any'class="method hidden"><codeid='deserialize_any.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_any'class='fnname'>deserialize_any</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#455-464'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Require the <code>Deserializer</code> to figure out how to drive the visitor based on what data type is in the input. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_any">Read more</a></p>
</div><h4id='method.deserialize_i8'class="method hidden"><codeid='deserialize_i8.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_i8'class='fnname'>deserialize_i8</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#499-504'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting an <code>i8</code> value.</p>
</div><h4id='method.deserialize_i16'class="method hidden"><codeid='deserialize_i16.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_i16'class='fnname'>deserialize_i16</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#499-504'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting an <code>i16</code> value.</p>
</div><h4id='method.deserialize_i32'class="method hidden"><codeid='deserialize_i32.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_i32'class='fnname'>deserialize_i32</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#499-504'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting an <code>i32</code> value.</p>
</div><h4id='method.deserialize_i64'class="method hidden"><codeid='deserialize_i64.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_i64'class='fnname'>deserialize_i64</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#499-504'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting an <code>i64</code> value.</p>
</div><h4id='method.deserialize_u8'class="method hidden"><codeid='deserialize_u8.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_u8'class='fnname'>deserialize_u8</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#499-504'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a <code>u8</code> value.</p>
</div><h4id='method.deserialize_u16'class="method hidden"><codeid='deserialize_u16.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_u16'class='fnname'>deserialize_u16</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#499-504'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a <code>u16</code> value.</p>
</div><h4id='method.deserialize_u32'class="method hidden"><codeid='deserialize_u32.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_u32'class='fnname'>deserialize_u32</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#499-504'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a <code>u32</code> value.</p>
</div><h4id='method.deserialize_u64'class="method hidden"><codeid='deserialize_u64.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_u64'class='fnname'>deserialize_u64</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#499-504'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a <code>u64</code> value.</p>
</div><h4id='method.deserialize_f32'class="method hidden"><codeid='deserialize_f32.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_f32'class='fnname'>deserialize_f32</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#499-504'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a <code>f32</code> value.</p>
</div><h4id='method.deserialize_f64'class="method hidden"><codeid='deserialize_f64.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_f64'class='fnname'>deserialize_f64</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#499-504'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a <code>f64</code> value.</p>
</div><h4id='method.deserialize_i128'class="method hidden"><codeid='deserialize_i128.v'>fn <ahref='../serde/de/trait.Deserializer.html#method.deserialize_i128'class='fnname'>deserialize_i128</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#499-504'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting an <code>i128</code> value. <ahref="../serde/de/trait.Deserializer.html#method.deserialize_i128">Read more</a></p>
</div><h4id='method.deserialize_u128'class="method hidden"><codeid='deserialize_u128.v'>fn <ahref='../serde/de/trait.Deserializer.html#method.deserialize_u128'class='fnname'>deserialize_u128</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#499-504'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting an <code>u128</code> value. <ahref="../serde/de/trait.Deserializer.html#method.deserialize_u128">Read more</a></p>
</div><h4id='method.deserialize_bool'class="method hidden"><codeid='deserialize_bool.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_bool'class='fnname'>deserialize_bool</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a <code>bool</code> value.</p>
</div><h4id='method.deserialize_char'class="method hidden"><codeid='deserialize_char.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_char'class='fnname'>deserialize_char</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a <code>char</code> value.</p>
</div><h4id='method.deserialize_str'class="method hidden"><codeid='deserialize_str.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_str'class='fnname'>deserialize_str</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>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>. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_str">Read more</a></p>
</div><h4id='method.deserialize_string'class="method hidden"><codeid='deserialize_string.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_string'class='fnname'>deserialize_string</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>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>. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_string">Read more</a></p>
</div><h4id='method.deserialize_bytes'class="method hidden"><codeid='deserialize_bytes.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_bytes'class='fnname'>deserialize_bytes</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>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>. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_bytes">Read more</a></p>
</div><h4id='method.deserialize_byte_buf'class="method hidden"><codeid='deserialize_byte_buf.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_byte_buf'class='fnname'>deserialize_byte_buf</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>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>. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_byte_buf">Read more</a></p>
</div><h4id='method.deserialize_option'class="method hidden"><codeid='deserialize_option.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_option'class='fnname'>deserialize_option</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting an optional value. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_option">Read more</a></p>
</div><h4id='method.deserialize_unit'class="method hidden"><codeid='deserialize_unit.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_unit'class='fnname'>deserialize_unit</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a unit value.</p>
</div><h4id='method.deserialize_unit_struct'class="method hidden"><codeid='deserialize_unit_struct.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_unit_struct'class='fnname'>deserialize_unit_struct</a><V>(<br> self, <br> name: &'static <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> visitor: V<br>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a unit struct with a particular name. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_unit_struct">Read more</a></p>
</div><h4id='method.deserialize_newtype_struct'class="method hidden"><codeid='deserialize_newtype_struct.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_newtype_struct'class='fnname'>deserialize_newtype_struct</a><V>(<br> self, <br> name: &'static <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> visitor: V<br>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a newtype struct with a particular name. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_newtype_struct">Read more</a></p>
</div><h4id='method.deserialize_seq'class="method hidden"><codeid='deserialize_seq.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_seq'class='fnname'>deserialize_seq</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a sequence of values.</p>
</div><h4id='method.deserialize_tuple'class="method hidden"><codeid='deserialize_tuple.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_tuple'class='fnname'>deserialize_tuple</a><V>(<br> self, <br> len: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, <br> visitor: V<br>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>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. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_tuple">Read more</a></p>
</div><h4id='method.deserialize_tuple_struct'class="method hidden"><codeid='deserialize_tuple_struct.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_tuple_struct'class='fnname'>deserialize_tuple_struct</a><V>(<br> self, <br> name: &'static <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> len: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, <br> visitor: V<br>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a tuple struct with a particular name and number of fields. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_tuple_struct">Read more</a></p>
</div><h4id='method.deserialize_map'class="method hidden"><codeid='deserialize_map.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_map'class='fnname'>deserialize_map</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a map of key-value pairs.</p>
</div><h4id='method.deserialize_struct'class="method hidden"><codeid='deserialize_struct.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_struct'class='fnname'>deserialize_struct</a><V>(<br> self, <br> name: &'static <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> fields: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&'static [</a>&'static <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>, <br> visitor: V<br>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a struct with a particular name and fields. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_struct">Read more</a></p>
</div><h4id='method.deserialize_enum'class="method hidden"><codeid='deserialize_enum.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_enum'class='fnname'>deserialize_enum</a><V>(<br> self, <br> name: &'static <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> variants: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&'static [</a>&'static <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>, <br> visitor: V<br>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting an enum value with a particular name and possible variants. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_enum">Read more</a></p>
</div><h4id='method.deserialize_identifier'class="method hidden"><codeid='deserialize_identifier.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_identifier'class='fnname'>deserialize_identifier</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting the name of a struct field or the discriminant of an enum variant. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_identifier">Read more</a></p>
</div><h4id='method.deserialize_ignored_any'class="method hidden"><codeid='deserialize_ignored_any.v'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_ignored_any'class='fnname'>deserialize_ignored_any</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type needs to deserialize a value whose type doesn't matter because it is ignored. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_ignored_any">Read more</a></p>
</div><h4id='method.is_human_readable'class="method hidden"><codeid='is_human_readable.v'>fn <ahref='../serde/de/trait.Deserializer.html#method.is_human_readable'class='fnname'>is_human_readable</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><aclass='srclink'href='../src/serde/de/mod.rs.html#1207-1209'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Determine whether <code>Deserialize</code> implementations should expect to deserialize their human-readable form. <ahref="../serde/de/trait.Deserializer.html#method.is_human_readable">Read more</a></p>
</div></div><h3id='impl-Deserializer%3C%27de%3E-1'class='impl'><codeclass='in-band'>impl<'de, 'a><aclass="trait"href="../serde/de/trait.Deserializer.html"title="trait serde::de::Deserializer">Deserializer</a><'de> for &'a <aclass="struct"href="../serde_json/struct.Number.html"title="struct serde_json::Number">Number</a></code><ahref='#impl-Deserializer%3C%27de%3E-1'class='anchor'></a><aclass='srclink'href='../src/serde_json/number.rs.html#544-570'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Error-1'class="type"><codeid='Error.t-1'>type <ahref='../serde/de/trait.Deserializer.html#associatedtype.Error'class="type">Error</a> = <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a></code></h4><divclass='docblock'><p>The error type that can be returned if some error occurs during deserialization. <ahref="../serde/de/trait.Deserializer.html#associatedtype.Error">Read more</a></p>
</div><h4id='method.deserialize_any-1'class="method hidden"><codeid='deserialize_any.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_any'class='fnname'>deserialize_any</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#455-464'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Require the <code>Deserializer</code> to figure out how to drive the visitor based on what data type is in the input. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_any">Read more</a></p>
</div><h4id='method.deserialize_i8-1'class="method hidden"><codeid='deserialize_i8.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_i8'class='fnname'>deserialize_i8</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#499-504'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting an <code>i8</code> value.</p>
</div><h4id='method.deserialize_i16-1'class="method hidden"><codeid='deserialize_i16.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_i16'class='fnname'>deserialize_i16</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#499-504'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting an <code>i16</code> value.</p>
</div><h4id='method.deserialize_i32-1'class="method hidden"><codeid='deserialize_i32.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_i32'class='fnname'>deserialize_i32</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#499-504'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting an <code>i32</code> value.</p>
</div><h4id='method.deserialize_i64-1'class="method hidden"><codeid='deserialize_i64.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_i64'class='fnname'>deserialize_i64</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#499-504'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting an <code>i64</code> value.</p>
</div><h4id='method.deserialize_u8-1'class="method hidden"><codeid='deserialize_u8.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_u8'class='fnname'>deserialize_u8</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#499-504'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a <code>u8</code> value.</p>
</div><h4id='method.deserialize_u16-1'class="method hidden"><codeid='deserialize_u16.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_u16'class='fnname'>deserialize_u16</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#499-504'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a <code>u16</code> value.</p>
</div><h4id='method.deserialize_u32-1'class="method hidden"><codeid='deserialize_u32.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_u32'class='fnname'>deserialize_u32</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#499-504'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a <code>u32</code> value.</p>
</div><h4id='method.deserialize_u64-1'class="method hidden"><codeid='deserialize_u64.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_u64'class='fnname'>deserialize_u64</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#499-504'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a <code>u64</code> value.</p>
</div><h4id='method.deserialize_f32-1'class="method hidden"><codeid='deserialize_f32.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_f32'class='fnname'>deserialize_f32</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#499-504'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a <code>f32</code> value.</p>
</div><h4id='method.deserialize_f64-1'class="method hidden"><codeid='deserialize_f64.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_f64'class='fnname'>deserialize_f64</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#499-504'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a <code>f64</code> value.</p>
</div><h4id='method.deserialize_i128-1'class="method hidden"><codeid='deserialize_i128.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#method.deserialize_i128'class='fnname'>deserialize_i128</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#499-504'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting an <code>i128</code> value. <ahref="../serde/de/trait.Deserializer.html#method.deserialize_i128">Read more</a></p>
</div><h4id='method.deserialize_u128-1'class="method hidden"><codeid='deserialize_u128.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#method.deserialize_u128'class='fnname'>deserialize_u128</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, <aclass="struct"href="../serde_json/error/struct.Error.html"title="struct serde_json::error::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#499-504'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting an <code>u128</code> value. <ahref="../serde/de/trait.Deserializer.html#method.deserialize_u128">Read more</a></p>
</div><h4id='method.deserialize_bool-1'class="method hidden"><codeid='deserialize_bool.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_bool'class='fnname'>deserialize_bool</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a <code>bool</code> value.</p>
</div><h4id='method.deserialize_char-1'class="method hidden"><codeid='deserialize_char.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_char'class='fnname'>deserialize_char</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a <code>char</code> value.</p>
</div><h4id='method.deserialize_str-1'class="method hidden"><codeid='deserialize_str.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_str'class='fnname'>deserialize_str</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>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>. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_str">Read more</a></p>
</div><h4id='method.deserialize_string-1'class="method hidden"><codeid='deserialize_string.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_string'class='fnname'>deserialize_string</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>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>. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_string">Read more</a></p>
</div><h4id='method.deserialize_bytes-1'class="method hidden"><codeid='deserialize_bytes.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_bytes'class='fnname'>deserialize_bytes</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>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>. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_bytes">Read more</a></p>
</div><h4id='method.deserialize_byte_buf-1'class="method hidden"><codeid='deserialize_byte_buf.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_byte_buf'class='fnname'>deserialize_byte_buf</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>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>. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_byte_buf">Read more</a></p>
</div><h4id='method.deserialize_option-1'class="method hidden"><codeid='deserialize_option.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_option'class='fnname'>deserialize_option</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting an optional value. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_option">Read more</a></p>
</div><h4id='method.deserialize_unit-1'class="method hidden"><codeid='deserialize_unit.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_unit'class='fnname'>deserialize_unit</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a unit value.</p>
</div><h4id='method.deserialize_unit_struct-1'class="method hidden"><codeid='deserialize_unit_struct.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_unit_struct'class='fnname'>deserialize_unit_struct</a><V>(<br> self, <br> name: &'static <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> visitor: V<br>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a unit struct with a particular name. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_unit_struct">Read more</a></p>
</div><h4id='method.deserialize_newtype_struct-1'class="method hidden"><codeid='deserialize_newtype_struct.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_newtype_struct'class='fnname'>deserialize_newtype_struct</a><V>(<br> self, <br> name: &'static <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> visitor: V<br>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a newtype struct with a particular name. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_newtype_struct">Read more</a></p>
</div><h4id='method.deserialize_seq-1'class="method hidden"><codeid='deserialize_seq.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_seq'class='fnname'>deserialize_seq</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a sequence of values.</p>
</div><h4id='method.deserialize_tuple-1'class="method hidden"><codeid='deserialize_tuple.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_tuple'class='fnname'>deserialize_tuple</a><V>(<br> self, <br> len: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, <br> visitor: V<br>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>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. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_tuple">Read more</a></p>
</div><h4id='method.deserialize_tuple_struct-1'class="method hidden"><codeid='deserialize_tuple_struct.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_tuple_struct'class='fnname'>deserialize_tuple_struct</a><V>(<br> self, <br> name: &'static <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> len: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, <br> visitor: V<br>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a tuple struct with a particular name and number of fields. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_tuple_struct">Read more</a></p>
</div><h4id='method.deserialize_map-1'class="method hidden"><codeid='deserialize_map.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_map'class='fnname'>deserialize_map</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a map of key-value pairs.</p>
</div><h4id='method.deserialize_struct-1'class="method hidden"><codeid='deserialize_struct.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_struct'class='fnname'>deserialize_struct</a><V>(<br> self, <br> name: &'static <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> fields: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&'static [</a>&'static <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>, <br> visitor: V<br>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting a struct with a particular name and fields. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_struct">Read more</a></p>
</div><h4id='method.deserialize_enum-1'class="method hidden"><codeid='deserialize_enum.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_enum'class='fnname'>deserialize_enum</a><V>(<br> self, <br> name: &'static <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> variants: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&'static [</a>&'static <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>, <br> visitor: V<br>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting an enum value with a particular name and possible variants. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_enum">Read more</a></p>
</div><h4id='method.deserialize_identifier-1'class="method hidden"><codeid='deserialize_identifier.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_identifier'class='fnname'>deserialize_identifier</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type is expecting the name of a struct field or the discriminant of an enum variant. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_identifier">Read more</a></p>
</div><h4id='method.deserialize_ignored_any-1'class="method hidden"><codeid='deserialize_ignored_any.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#tymethod.deserialize_ignored_any'class='fnname'>deserialize_ignored_any</a><V>(self, visitor: V) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><V::<aclass="type"href="../serde/de/trait.Visitor.html#associatedtype.Value"title="type serde::de::Visitor::Value">Value</a>, Self::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> V: <aclass="trait"href="../serde/de/trait.Visitor.html"title="trait serde::de::Visitor">Visitor</a><'de>, </span></code></h4><divclass='docblock hidden'><p>Hint that the <code>Deserialize</code> type needs to deserialize a value whose type doesn't matter because it is ignored. <ahref="../serde/de/trait.Deserializer.html#tymethod.deserialize_ignored_any">Read more</a></p>
</div><h4id='method.is_human_readable-1'class="method hidden"><codeid='is_human_readable.v-1'>fn <ahref='../serde/de/trait.Deserializer.html#method.is_human_readable'class='fnname'>is_human_readable</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><aclass='srclink'href='../src/serde/de/mod.rs.html#1207-1209'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Determine whether <code>Deserialize</code> implementations should expect to deserialize their human-readable form. <ahref="../serde/de/trait.Deserializer.html#method.is_human_readable">Read more</a></p>
</div></div><h3id='impl-Serialize'class='impl'><codeclass='in-band'>impl <aclass="trait"href="../serde/ser/trait.Serialize.html"title="trait serde::ser::Serialize">Serialize</a> for <aclass="struct"href="../serde_json/struct.Number.html"title="struct serde_json::Number">Number</a></code><ahref='#impl-Serialize'class='anchor'></a><aclass='srclink'href='../src/serde_json/number.rs.html#298-324'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.serialize'class="method hidden"><codeid='serialize.v'>fn <ahref='../serde/ser/trait.Serialize.html#tymethod.serialize'class='fnname'>serialize</a><S>(&self, serializer: S) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><S::<aclass="type"href="../serde/ser/trait.Serializer.html#associatedtype.Ok"title="type serde::ser::Serializer::Ok">Ok</a>, S::<aclass="type"href="../serde/ser/trait.Serializer.html#associatedtype.Error"title="type serde::ser::Serializer::Error">Error</a>><spanclass="where fmt-newline">where<br> S: <aclass="trait"href="../serde/ser/trait.Serializer.html"title="trait serde::ser::Serializer">Serializer</a>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#301-310'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Serialize this value into the given Serde serializer. <ahref="../serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></p>
</div></div><h3id='impl-Deserialize%3C%27de%3E'class='impl'><codeclass='in-band'>impl<'de><aclass="trait"href="../serde/de/trait.Deserialize.html"title="trait serde::de::Deserialize">Deserialize</a><'de> for <aclass="struct"href="../serde_json/struct.Number.html"title="struct serde_json::Number">Number</a></code><ahref='#impl-Deserialize%3C%27de%3E'class='anchor'></a><aclass='srclink'href='../src/serde_json/number.rs.html#326-376'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.deserialize'class="method hidden"><codeid='deserialize.v'>fn <ahref='../serde/de/trait.Deserialize.html#tymethod.deserialize'class='fnname'>deserialize</a><D>(deserializer: D) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="struct"href="../serde_json/struct.Number.html"title="struct serde_json::Number">Number</a>, D::<aclass="type"href="../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> D: <aclass="trait"href="../serde/de/trait.Deserializer.html"title="trait serde::de::Deserializer">Deserializer</a><'de>, </span></code><aclass='srclink'href='../src/serde_json/number.rs.html#328-375'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Deserialize this value from the given Serde deserializer. <ahref="../serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
</div></div><h3id='impl-ToString'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html"title="trait alloc::string::ToString">ToString</a> for T <spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html"title="trait core::fmt::Display">Display</a> + ?<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-ToString'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/string.rs.html#2134-2144'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.to_string'class="method hidden"><codeid='to_string.v'>default fn <ahref='https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html#tymethod.to_string'class='fnname'>to_string</a>(&self) -><aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/alloc/string.rs.html#2136-2143'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Converts the given value to a <code>String</code>. <ahref="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html#tymethod.to_string">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-2'class="type"><codeid='Error.t-2'>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-3'class="type"><codeid='Error.t-3'>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>