<!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="A single city is identified using this."><metaname="keywords"content="rust, rustlang, rust-lang, CityName"><title>CityName in abstio::abst_paths - Rust</title><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../SourceSerif4-Regular.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../FiraSans-Regular.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../FiraSans-Medium.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../SourceCodePro-Regular.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../SourceSerif4-Bold.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../SourceCodePro-Semibold.ttf.woff2"><linkrel="stylesheet"type="text/css"href="../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../ayu.css"disabled><linkrel="stylesheet"type="text/css"href="../../dark.css"disabled><linkrel="stylesheet"type="text/css"href="../../light.css"id="themeStyle"><scriptid="default-settings"></script><scriptsrc="../../storage.js"></script><scriptsrc="../../crates.js"></script><scriptdefersrc="../../main.js"></script>
<noscript><linkrel="stylesheet"href="../../noscript.css"></noscript><linkrel="alternate icon"type="image/png"href="../../favicon-16x16.png"><linkrel="alternate icon"type="image/png"href="../../favicon-32x32.png"><linkrel="icon"type="image/svg+xml"href="../../favicon.svg"></head><bodyclass="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="mobile-topbar"><buttonclass="sidebar-menu-toggle">☰</button><aclass="sidebar-logo"href="../../abstio/index.html"><divclass="logo-container"><imgclass="rust-logo"src="../../rust-logo.svg"alt="logo"></div>
</a><h2class="location"><ahref="#">CityName</a></h2><divclass="sidebar-elems"><section><divclass="block"><h3class="sidebar-title"><ahref="#fields">Fields</a></h3><ul><li><ahref="#structfield.city">city</a></li><li><ahref="#structfield.country">country</a></li></ul></div><divclass="block"><h3class="sidebar-title"><ahref="#implementations">Methods</a></h3><ul><li><ahref="#method.describe">describe</a></li><li><ahref="#method.input_path">input_path</a></li><li><ahref="#method.list_all_cities_from_importer_config">list_all_cities_from_importer_config</a></li><li><ahref="#method.list_all_cities_from_manifest">list_all_cities_from_manifest</a></li><li><ahref="#method.list_all_cities_locally">list_all_cities_locally</a></li><li><ahref="#method.list_all_cities_merged">list_all_cities_merged</a></li><li><ahref="#method.list_all_maps_in_city_from_importer_config">list_all_maps_in_city_from_importer_config</a></li><li><ahref="#method.new">new</a></li><li><ahref="#method.parse">parse</a></li><li><ahref="#method.seattle">seattle</a></li><li><ahref="#method.to_path">to_path</a></li><li><ahref="#method.uses_metric">uses_metric</a></li></ul></div><divclass="block"><h3class="sidebar-title"><ahref="#trait-implementations">Trait Implementations</a></h3><ul><li><ahref="#impl-Clone">Clone</a></li><li><ahref="#impl-Debug">Debug</a></li><li><ahref="#impl-Deserialize%3C%27de%3E">Deserialize<'de></a></li><li><ahref="#impl-Eq">Eq</a></li><li><ahref="#impl-Ord">Ord</a></li><li><ahref="#impl-PartialEq%3CCityName%3E">PartialEq<CityName></a></li><li><ahref="#impl-PartialOrd%3CCityName%3E">PartialOrd<CityName></a></li><li><ahref="#impl-Serialize">Serialize</a></li><li><ahref="#impl-StructuralEq">StructuralEq</a></li><li><ahref="#impl-StructuralPartialEq">StructuralPartialEq</a></li></ul></div><divclass="block"><h3class="sidebar-title"><ahref="#synthetic-implementations">Auto Trait Implementations</a></h3><ul><li><ahref="#impl-RefUnwindSafe">RefUnwindSafe</a></li><li><ahref="#impl-Send">Send</a></li><li><ahref="#impl-Sync">Sync</a></li><li><ahref="#impl-Unpin">Unpin</a></li><li><ahref="#impl-UnwindSafe">UnwindSafe</a></li></ul></div><divclass="block"><h3class="sidebar-title"><ahref="#blanket-implementations">Blanket Implementations</a></h3><ul><li><ahref="#impl-Any">Any</a></li><li><ahref="#impl-Borrow%3CT%3E">Borrow<T></a></li><li><ahref="#impl-BorrowMut%3CT%3E">BorrowMut<T></a></li><li><ahref="#impl-DeserializeOwned">DeserializeOwned</a></li><li><ahref="#impl-Equivalent%3CK%3E">Equivalent<K></a></li><li><ahref="#impl-From%3CT%3E">From<T></a></li><li><ahref="#impl-Instrument">Instrument</a></li><li><ahref="#impl-Into%3CU%3E">Into<U></a></li><li><ahref="#impl-ToOwned">ToOwned</a></li><li><ahref="#impl-TryFrom%3CU%3E">TryFrom<U></a></li><li><ahref="#impl-TryInto%3CU%3E">TryInto<U></a></li></ul></div></section><h2class="location"><ahref="index.html">In abstio::abst_paths</a></h2><divid="sidebar-vars"data-name="CityName"data-ty="struct"data-relpath=""></div><scriptdefersrc="sidebar-items.js"></script></div></nav><main><divclass="width-limiter"><divclass="sub-container"><aclass="sub-logo-container"href="../../abstio/index.html"><imgclass="rust-logo"src="../../rust-logo.svg"alt="logo"></a><navclass="sub"><divclass="theme-picker hidden"><buttonid="theme-picker"aria-label="Pick another theme!"aria-haspopup="menu"title="themes"><imgwidth="22"height="22"alt="Pick another theme!"src="../../brush.svg"></button><divid="theme-choices"role="menu"></div></div><formclass="search-form"><divclass="search-container"><span></span><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"><buttontype="button"id="help-button"title="help">?</button><aid="settings-menu"href="../../settings.html"title="settings"><imgwidth="22"height="22"alt="Change settings"src="../../wheel.svg"></a></div></form></nav
}</code></pre></div><detailsclass="rustdoc-toggle top-doc"open><summaryclass="hideme"><span>Expand description</span></summary><divclass="docblock"><p>A single city is identified using this.</p>
</div></details><h2id="fields"class="fields small-section-header">Fields<ahref="#fields"class="anchor"></a></h2><spanid="structfield.country"class="structfield small-section-header"><ahref="#structfield.country"class="anchor field"></a><code>country: <aclass="struct"href="https://doc.rust-lang.org/1.62.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></code></span><divclass="docblock"><p>A two letter lowercase country code, from https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2.
</div><spanid="structfield.city"class="structfield small-section-header"><ahref="#structfield.city"class="anchor field"></a><code>city: <aclass="struct"href="https://doc.rust-lang.org/1.62.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></code></span><divclass="docblock"><p>The name of the city, in filename-friendly form – for example, “tel_aviv”.</p>
</div><h2id="implementations"class="small-section-header">Implementations<ahref="#implementations"class="anchor"></a></h2><divid="implementations-list"><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/abstio/abst_paths.rs.html#78-195">source</a></span><ahref="#impl"class="anchor"></a><h3class="code-header in-band">impl <aclass="struct"href="struct.CityName.html"title="struct abstio::abst_paths::CityName">CityName</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.new"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/abstio/abst_paths.rs.html#80-91">source</a></span><ahref="#method.new"class="anchor"></a><h4class="code-header">pub fn <ahref="#method.new"class="fnname">new</a>(country: &<aclass="primitive"href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>, city: &<aclass="primitive"href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>) -><aclass="struct"href="struct.CityName.html"title="struct abstio::abst_paths::CityName">CityName</a></h4></section></summary><divclass="docblock"><p>Create a CityName from a country code and city.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.seattle"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/abstio/abst_paths.rs.html#94-96">source</a></span><ahref="#method.seattle"class="anchor"></a><h4class="code-header">pub fn <ahref="#method.seattle"class="fnname">seattle</a>() -><aclass="struct"href="struct.CityName.html"title="struct abstio::abst_paths::CityName">CityName</a></h4></section></summary><divclass="docblock"><p>Convenient constructor for the main city of the game.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.list_all_cities_locally"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/abstio/abst_paths.rs.html#99-115">source</a></span><ahref="#method.list_all_cities_locally"class="anchor"></a><h4class="code-header">fn <ahref="#method.list_all_cities_locally"class="fnname">list_all_cities_locally</a>() -><aclass="struct"href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html"title="struct alloc::vec::Vec">Vec</a><<aclass="struct"href="struct.CityName.html"title="struct abstio::abst_paths::CityName">CityName</a>><spanclass="notable-traits"><spanclass="notable-traits-tooltip">ⓘ<spanclass="notable-traits-tooltiptext"><spanclass="docblock"><spanclass="notable">Notable traits for <aclass="struct"href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html"title="struct alloc::vec::Vec">Vec</a><<aclass="primitive"href="https://doc.rust-lang.org/1.62.0/std/primitive.u8.html">u8</a>, A></span><codeclass="content"><spanclass="where fmt-newline">impl<A><aclass="trait"href="https://doc.rust-lang.org/1.62.0/std/io/trait.Write.html"title="trait std::io::Write">Write</a> for <aclass="struct"href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html"title="struct alloc::vec::Vec">Vec</a><<aclass="primitive"href="https://doc.rust-lang.org/1.62.0/std/primitive.u8.html">u8</a>, A><spanclass="where fmt-newline">where<br> A: <aclass="trait"href="https://doc.rust-lang.org/1.62.0/core/alloc/trait.Allocator.html"title="trait core::alloc::Allocator">Allocator</a>, </span></span></code></span></span></span></span></h4></section></summary><divclass="docblock"><p>Returns all city names available locally.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.list_all_cities_from_manifest"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/abstio/abst_paths.rs.html#118-128">source</a></span><ahref="#method.list_all_cities_from_manifest"class="anchor"></a><h4class="code-header">fn <ahref="#method.list_all_cities_from_manifest"class="fnname">list_all_cities_from_manifest</a>(manifest: &<aclass="struct"href="../abst_data/struct.Manifest.html"title="struct abstio::abst_data::Manifest">Manifest</a>) -><aclass="struct"href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html"title="struct alloc::vec::Vec">Vec</a><<aclass="struct"href="struct.CityName.html"title="struct abstio::abst_paths::CityName">CityName</a>><spanclass="notable-traits"><spanclass="notable-traits-tooltip">ⓘ<spanclass="notable-traits-tooltiptext"><spanclass="docblock"><spanclass="notable">Notable traits for <aclass="struct"href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html"title="struct alloc::vec::Vec">Vec</a><<aclass="primitive"href="https://doc.rust-lang.org/1.62.0/std/primitive.u8.html">u8</a>, A></span><codeclass="content"><spanclass="where fmt-newline">impl<A><aclass="trait"href="https://doc.rust-lang.org/1.62.0/std/io/trait.Write.html"title="trait std::io::Write">Write</a> for <aclass="struct"href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html"title="struct alloc::vec::Vec">Vec</a><<aclass="primitive"href="https://doc.rust-lang.org/1.62.0/std/primitive.u8.html">u8</a>, A><spanclass="where fmt-newline">where<br> A: <aclass="trait"href="https://doc.rust-lang.org/1.62.0/core/alloc/trait.Allocator.html"title="trait core::alloc::Allocator">Allocator</a>, </span></span></code></span></span></span></span></h4></section></summary><divclass="docblock"><p>Returns all city names based on the manifest of available files.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.list_all_cities_merged"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/abstio/abst_paths.rs.html#131-137">source</a></span><ahref="#method.list_all_cities_merged"class="anchor"></a><h4class="code-header">pub fn <ahref="#method.list_all_cities_merged"class="fnname">list_all_cities_merged</a>(manifest: &<aclass="struct"href="../abst_data/struct.Manifest.html"title="struct abstio::abst_data::Manifest">Manifest</a>) -><aclass="struct"href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html"title="struct alloc::vec::Vec">Vec</a><<aclass="struct"href="struct.CityName.html"title="struct abstio::abst_paths::CityName">CityName</a>><spanclass="notable-traits"><spanclass="notable-traits-tooltip">ⓘ<spanclass="notable-traits-tooltiptext"><spanclass="docblock"><spanclass="notable">Notable traits for <aclass="struct"href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html"title="struct alloc::vec::Vec">Vec</a><<aclass="primitive"href="https://doc.rust-lang.org/1.62.0/std/primitive.u8.html">u8</a>, A></span><codeclass="content"><spanclass="where fmt-newline">impl<A><aclass="trait"href="https://doc.rust-lang.org/1.62.0/std/io/trait.Write.html"title="trait std::io::Write">Write</a> for <aclass="struct"href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html"title="struct alloc::vec::Vec">Vec</a><<aclass="primitive"href="https://doc.rust-lang.org/1.62.0/std/primitive.u8.html">u8</a>, A><spanclass="where fmt-newline">where<br> A: <aclass="trait"href="https://doc.rust-lang.org/1.62.0/core/alloc/trait.Allocator.html"title="trait core::alloc::Allocator">Allocator</a>, </span></span></code></span></span></span></span></h4></section></summary><divclass="docblock"><p>Returns all city names either available locally or based on the manifest of available files.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.list_all_cities_from_importer_config"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/abstio/abst_paths.rs.html#140-148">source</a></span><ahref="#method.list_all_cities_from_importer_config"class="anchor"></a><h4class="code-header">pub fn <ahref="#method.list_all_cities_from_importer_config"class="fnname">list_all_cities_from_importer_config</a>() -><aclass="struct"href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html"title="struct alloc::vec::Vec">Vec</a><<aclass="struct"href="struct.CityName.html"title="struct abstio::abst_paths::CityName">CityName</a>><spanclass="notable-traits"><spanclass="notable-traits-tooltip">ⓘ<spanclass="notable-traits-tooltiptext"><spanclass="docblock"><spanclass="notable">Notable traits for <aclass="struct"href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html"title="struct alloc::vec::Vec">Vec</a><<aclass="primitive"href="https://doc.rust-lang.org/1.62.0/std/primitive.u8.html">u8</a>, A></span><codeclass="content"><spanclass="where fmt-newline">impl<A><aclass="trait"href="https://doc.rust-lang.org/1.62.0/std/io/trait.Write.html"title="trait std::io::Write">Write</a> for <aclass="struct"href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html"title="struct alloc::vec::Vec">Vec</a><<aclass="primitive"href="https://doc.rust-lang.org/1.62.0/std/primitive.u8.html">u8</a>, A><spanclass="where fmt-newline">where<br> A: <aclass="trait"href="https://doc.rust-lang.org/1.62.0/core/alloc/trait.Allocator.html"title="trait core::alloc::Allocator">Allocator</a>, </span></span></code></span></span></span></span></h4></section></summary><divclass="docblock"><p>Returns all city names based on importer config.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.list_all_maps_in_city_from_importer_config"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/abstio/abst_paths.rs.html#151-157">source</a></span><ahref="#method.list_all_maps_in_city_from_importer_config"class="anchor"></a><h4class="code-header">pub fn <ahref="#method.list_all_maps_in_city_from_importer_config"class="fnname">list_all_maps_in_city_from_importer_config</a>(&self) -><aclass="struct"href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html"title="struct alloc::vec::Vec">Vec</a><<aclass="struct"href="struct.MapName.html"title="struct abstio::abst_paths::MapName">MapName</a>><spanclass="notable-traits"><spanclass="notable-traits-tooltip">ⓘ<spanclass="notable-traits-tooltiptext"><spanclass="docblock"><spanclass="notable">Notable traits for <aclass="struct"href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html"title="struct alloc::vec::Vec">Vec</a><<aclass="primitive"href="https://doc.rust-lang.org/1.62.0/std/primitive.u8.html">u8</a>, A></span><codeclass="content"><spanclass="where fmt-newline">impl<A><aclass="trait"href="https://doc.rust-lang.org/1.62.0/std/io/trait.Write.html"title="trait std::io::Write">Write</a> for <aclass="struct"href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html"title="struct alloc::vec::Vec">Vec</a><<aclass="primitive"href="https://doc.rust-lang.org/1.62.0/std/primitive.u8.html">u8</a>, A><spanclass="where fmt-newline">where<br> A: <aclass="trait"href="https://doc.rust-lang.org/1.62.0/core/alloc/trait.Allocator.html"title="trait core::alloc::Allocator">Allocator</a>, </span></span></code></span></span></span></span></h4></section></summary><divclass="docblock"><p>Returns all maps in a city based on importer config.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.parse"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/abstio/abst_paths.rs.html#160-166">source</a></span><ahref="#method.parse"class="anchor"></a><h4class="code-header">pub fn <ahref="#method.parse"class="fnname">parse</a>(x: &<aclass="primitive"href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>) -><aclass="type"href="https://docs.rs/anyhow/1.0.41/anyhow/type.Result.html"title="type anyhow::Result">Result</a><<aclass="struct"href="struct.CityName.html"title="struct abstio::abst_paths::CityName">CityName</a>></h4></section></summary><divclass="docblock"><p>Parses a CityName from something like “gb/london”; the inverse of <code>to_path</code>.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.to_path"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/abstio/abst_paths.rs.html#169-171">source</a></span><ahref="#method.to_path"class="anchor"></a><h4class="code-header">pub fn <ahref="#method.to_path"class="fnname">to_path</a>(&self) -><aclass="struct"href="https://doc.rust-lang.org/1.62.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></h4></section></summary><divclass="docblock"><p>Expresses the city as a path, like “gb/london”; the inverse of <code>parse</code>.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.describe"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/abstio/abst_paths.rs.html#175-177">source</a></span><ahref="#method.describe"class="anchor"></a><h4class="code-header">pub fn <ahref="#method.describe"class="fnname">describe</a>(&self) -><aclass="struct"href="https://doc.rust-lang.org/1.62.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></h4></section></summary><divclass="docblock"><p>Stringify the city name for debug messages. Don’t implement <code>std::fmt::Display</code>, to force
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.input_path"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/abstio/abst_paths.rs.html#180-187">source</a></span><ahref="#method.input_path"class="anchor"></a><h4class="code-header">pub fn <ahref="#method.input_path"class="fnname">input_path</a><I: <aclass="trait"href="https://doc.rust-lang.org/1.62.0/core/convert/trait.AsRef.html"title="trait core::convert::AsRef">AsRef</a><<aclass="primitive"href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>>>(&self, file: I) -><aclass="struct"href="https://doc.rust-lang.org/1.62.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></h4></section></summary><divclass="docblock"><p>Constructs the path to some city-scoped data/input.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.uses_metric"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/abstio/abst_paths.rs.html#190-194">source</a></span><ahref="#method.uses_metric"class="anchor"></a><h4class="code-header">pub fn <ahref="#method.uses_metric"class="fnname">uses_metric</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/1.62.0/std/primitive.bool.html">bool</a></h4></section></summary><divclass="docblock"><p>Should metric units be used by default for this map? (Imperial if false)</p>
</div></details></div></details></div><h2id="trait-implementations"class="small-section-header">Trait Implementations<ahref="#trait-implementations"class="anchor"></a></h2><divid="trait-implementations-list"><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Clone"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/abstio/abst_paths.rs.html#69">source</a></span><ahref="#impl-Clone"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a> for <aclass="struct"href="struct.CityName.html"title="struct abstio::abst_paths::CityName">CityName</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.clone"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/abstio/abst_paths.rs.html#69">source</a></span><ahref="#method.clone"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#tymethod.clone"class="fnname">clone</a>(&self) -><aclass="struct"href="struct.CityName.html"title="struct abstio::abst_paths::CityName">CityName</a></h4></section></summary><divclass='docblock'><p>Returns a copy of the value. <ahref="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.clone_from"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/1.62.0/src/core/clone.rs.html#133-135">source</a></span><ahref="#method.clone_from"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#method.clone_from"class="fnname">clone_from</a>(&mut self, source: <aclass="primitive"href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&</a>Self)</h4></section></summary><divclass='docblock'><p>Performs copy-assignment from <code>source</code>. <ahref="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Debug"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/abstio/abst_paths.rs.html#69">source</a></span><ahref="#impl-Debug"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> for <aclass="struct"href="struct.CityName.html"title="struct abstio::abst_paths::CityName">CityName</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.fmt"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/abstio/abst_paths.rs.html#69">source</a></span><ahref="#method.fmt"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt"class="fnname">fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/1.62.0/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a><'_>) -><aclass="type"href="https://doc.rust-lang.org/1.62.0/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></h4></section></summary><divclass='docblock'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Deserialize%3C%27de%3E"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/abstio/abst_paths.rs.html#69">source</a></span><ahref="#impl-Deserialize%3C%27de%3E"class="anchor"></a><h3class="code-header in-band">impl<'de><aclass="trait"href="https://docs.rs/serde/1.0.126/serde/de/trait.Deserialize.html"title="trait serde::de::Deserialize">Deserialize</a><'de> for <aclass="struct"href="struct.CityName.html"title="struct abstio::abst_paths::CityName">CityName</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.deserialize"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/abstio/abst_paths.rs.html#69">source</a></span><ahref="#method.deserialize"class="anchor"></a><h4class="code-header">fn <ahref="https://docs.rs/serde/1.0.126/serde/de/trait.Deserialize.html#tymethod.deserialize"class="fnname">deserialize</a><__D>(__deserializer: __D) -><aclass="enum"href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><Self, __D::<aclass="associatedtype"href="https://docs.rs/serde/1.0.126/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="https://docs.rs/serde/1.0.126/serde/de/trait.Deserializer.html"title="trait serde::de::Deserializer">Deserializer</a><'de>, </span></h4></section></summary><divclass='docblock'><p>Deserialize this value from the given Serde deserializer. <ahref="https://docs.rs/serde/1.0.126/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Ord"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/abstio/abst_paths.rs.html#69">source</a></span><ahref="#impl-Ord"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.62.0/core/cmp/trait.Ord.html"title="trait core::cmp::Ord">Ord</a> for <aclass="struct"href="struct.CityName.html"title="struct abstio::abst_paths::CityName">CityName</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.cmp"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/abstio/abst_paths.rs.html#69">source</a></span><ahref="#method.cmp"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.62.0/core/cmp/trait.Ord.html#tymethod.cmp"class="fnname">cmp</a>(&self, other: &<aclass="struct"href="struct.CityName.html"title="struct abstio::abst_paths::CityName">CityName</a>) -><aclass="enum"href="https://doc.rust-lang.org/1.62.0/core/cmp/enum.Ordering.html"title="enum core::cmp::Ordering">Ordering</a></h4></section></summary><divclass='docblock'><p>This method returns an <ahref="https://doc.rust-lang.org/1.62.0/core/cmp/enum.Ordering.html"title="Ordering"><code>Ordering</code></a> between <code>self</code> and <code>other</code>. <ahref="https://doc.rust-lang.org/1.62.0/core/cmp/trait.Ord.html#tymethod.cmp">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.max"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.21.0">1.21.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/1.62.0/src/core/cmp.rs.html#796-798">source</a></span><ahref="#method.max"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.62.0/core/cmp/trait.Ord.html#method.max"class="fnname">max</a>(self, other: Self) -> Self</h4></section></summary><divclass='docblock'><p>Compares and returns the maximum of two values. <ahref="https://doc.rust-lang.org/1.62.0/core/cmp/trait.Ord.html#method.max">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.min"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.21.0">1.21.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/1.62.0/src/core/cmp.rs.html#816-818">source</a></span><ahref="#method.min"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.62.0/core/cmp/trait.Ord.html#method.min"class="fnname">min</a>(self, other: Self) -> Self</h4></section></summary><divclass='docblock'><p>Compares and returns the minimum of two values. <ahref="https://doc.rust-lang.org/1.62.0/core/cmp/trait.Ord.html#method.min">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.clamp"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.50.0">1.50.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/1.62.0/src/core/cmp.rs.html#841-843">source</a></span><ahref="#method.clamp"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.62.0/core/cmp/trait.Ord.html#method.clamp"class="fnname">clamp</a>(self, min: Self, max: Self) -> Self</h4></section></summary><divclass='docblock'><p>Restrict a value to a certain interval. <ahref="https://doc.rust-lang.org/1.62.0/core/cmp/trait.Ord.html#method.clamp">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-PartialEq%3CCityName%3E"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/abstio/abst_paths.rs.html#69">source</a></span><ahref="#impl-PartialEq%3CCityName%3E"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.62.0/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><<aclass="struct"href="struct.CityName.html"title="struct abstio::abst_paths::CityName">CityName</a>> for <aclass="struct"href="struct.CityName.html"title="struct abstio::abst_paths::CityName">CityName</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.eq"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/abstio/abst_paths.rs.html#69">source</a></span><ahref="#method.eq"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.62.0/core/cmp/trait.PartialEq.html#tymethod.eq"class="fnname">eq</a>(&self, other: &<aclass="struct"href="struct.CityName.html"title="struct abstio::abst_paths::CityName">CityName</a>) -><aclass="primitive"href="https://doc.rust-lang.org/1.62.0/std/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'><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/1.62.0/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-PartialOrd%3CCityName%3E"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/abstio/abst_paths.rs.html#69">source</a></span><ahref="#impl-PartialOrd%3CCityName%3E"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.62.0/core/cmp/trait.PartialOrd.html"title="trait core::cmp::PartialOrd">PartialOrd</a><<aclass="struct"href="struct.CityName.html"title="struct abstio::abst_paths::CityName">CityName</a>> for <aclass="struct"href="struct.CityName.html"title="struct abstio::abst_paths::CityName">CityName</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.partial_cmp"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/abstio/abst_paths.rs.html#69">source</a></span><ahref="#method.partial_cmp"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.62.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp"class="fnname">partial_cmp</a>(&self, other: &<aclass="struct"href="struct.CityName.html"title="struct abstio::abst_paths::CityName">CityName</a>) -><aclass="enum"href="https://doc.rust-lang.org/1.62.0/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="enum"href="https://doc.rust-lang.org/1.62.0/core/cmp/enum.Ordering.html"title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><divclass='docblock'><p>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <ahref="https://doc.rust-lang.org/1.62.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.lt"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/1.62.0/src/core/cmp.rs.html#1100">source</a></span><ahref="#method.lt"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.62.0/core/cmp/trait.PartialOrd.html#method.lt"class="fnname">lt</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&</a>Rhs) -><aclass="primitive"href="https://doc.rust-lang.org/1.62.0/std/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'><p>This method tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <ahref="https://doc.rust-lang.org/1.62.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.le"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/1.62.0/src/core/cmp.rs.html#1120">source</a></span><ahref="#method.le"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.62.0/core/cmp/trait.PartialOrd.html#method.le"class="fnname">le</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&</a>Rhs) -><aclass="primitive"href="https://doc.rust-lang.org/1.62.0/std/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'><p>This method tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code><=</code>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.gt"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/1.62.0/src/core/cmp.rs.html#1143">source</a></span><ahref="#method.gt"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.62.0/core/cmp/trait.PartialOrd.html#method.gt"class="fnname">gt</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&</a>Rhs) -><aclass="primitive"href="https://doc.rust-lang.org/1.62.0/std/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'><p>This method tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code> operator. <ahref="https://doc.rust-lang.org/1.62.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.ge"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/1.62.0/src/core/cmp.rs.html#1163">source</a></span><ahref="#method.ge"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.62.0/core/cmp/trait.PartialOrd.html#method.ge"class="fnname">ge</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&</a>Rhs) -><aclass="primitive"href="https://doc.rust-lang.org/1.62.0/std/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'><p>This method tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>>=</code>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-Instrument"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/tracing/0.1.26/src/tracing/instrument.rs.html#155">source</a></span><ahref="#impl-Instrument"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://docs.rs/tracing/0.1.26/tracing/instrument/trait.Instrument.html"title="trait tracing::instrument::Instrument">Instrument</a> for T</h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.instrument"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/tracing/0.1.26/src/tracing/instrument.rs.html#38">source</a></span><ahref="#method.instrument"class="anchor"></a><h4class="code-header">fn <ahref="https://docs.rs/tracing/0.1.26/tracing/instrument/trait.Instrument.html#method.instrument"class="fnname">instrument</a>(self, span: <aclass="struct"href="https://docs.rs/tracing/0.1.26/tracing/span/struct.Span.html"title="struct tracing::span::Span">Span</a>) -><aclass="struct"href="https://docs.rs/tracing/0.1.26/tracing/instrument/struct.Instrumented.html"title="struct tracing::instrument::Instrumented">Instrumented</a><Self></h4></section></summary><divclass='docblock'><p>Instruments this type with the provided <code>Span</code>, returning an
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.in_current_span"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/tracing/0.1.26/src/tracing/instrument.rs.html#74">source</a></span><ahref="#method.in_current_span"class="anchor"></a><h4class="code-header">fn <ahref="https://docs.rs/tracing/0.1.26/tracing/instrument/trait.Instrument.html#method.in_current_span"class="fnname">in_current_span</a>(self) -><aclass="struct"href="https://docs.rs/tracing/0.1.26/tracing/instrument/struct.Instrumented.html"title="struct tracing::instrument::Instrumented">Instrumented</a><Self></h4></section></summary><divclass='docblock'><p>Instruments this type with the <ahref="../struct.Span.html#method.current">current</a><code>Span</code>, returning an
<code><ahref="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html"title="From">From</a><T> for U</code> chooses to do.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-ToOwned"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.62.0/src/alloc/borrow.rs.html#84-96">source</a></span><ahref="#impl-ToOwned"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.62.0/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/1.62.0/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>, </span></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Owned"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Owned"class="anchor"></a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.62.0/alloc/borrow/trait.ToOwned.html#associatedtype.Owned"class="associatedtype">Owned</a> = T</h4></section></summary><divclass='docblock'><p>The resulting type after obtaining ownership.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.to_owned"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.62.0/src/alloc/borrow.rs.html#89">source</a></span><ahref="#method.to_owned"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.62.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned"class="fnname">to_owned</a>(&self) -> T</h4></section></summary><divclass='docblock'><p>Creates owned data from borrowed data, usually by cloning. <ahref="https://doc.rust-lang.org/1.62.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.clone_into"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.62.0/src/alloc/borrow.rs.html#93">source</a></span><ahref="#method.clone_into"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.62.0/alloc/borrow/trait.ToOwned.html#method.clone_into"class="fnname">clone_into</a>(&self, target: <aclass="primitive"href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&mut </a>T)</h4></section></summary><spanclass="item-info"><divclass="stab unstable"><spanclass="emoji">🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</div></span><divclass='docblock'><p>Uses borrowed data to replace owned data, usually by cloning. <ahref="https://doc.rust-lang.org/1.62.0/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-TryFrom%3CU%3E"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.62.0/src/core/convert/mod.rs.html#598-607">source</a></span><ahref="#impl-TryFrom%3CU%3E"class="anchor"></a><h3class="code-header in-band">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/1.62.0/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/1.62.0/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><T>, </span></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Error-1"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Error-1"class="anchor"></a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.62.0/core/convert/trait.TryFrom.html#associatedtype.Error"class="associatedtype">Error</a> = <aclass="enum"href="https://doc.rust-lang.org/1.62.0/core/convert/enum.Infallible.html"title="enum core::convert::Infallible">Infallible</a></h4></section></summary><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.try_from"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="const unstable">const: <ahref="https://github.com/rust-lang/rust/issues/88674"title="Tracking issue for const_convert">unstable</a></span> · <aclass="srclink"href="https://doc.rust-lang.org/1.62.0/src/core/convert/mod.rs.html#604">source</a></span><ahref="#method.try_from"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.62.0/core/convert/trait.TryFrom.html#tymethod.try_from"class="fnname">try_from</a>(value: U) -><aclass="enum"href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><T, <T as <aclass="trait"href="https://doc.rust-lang.org/1.62.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.62.0/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><divclass='docblock'><p>Performs the conversion.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-TryInto%3CU%3E"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.62.0/src/core/convert/mod.rs.html#583-592">source</a></span><ahref="#impl-TryInto%3CU%3E"class="anchor"></a><h3class="code-header in-band">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/1.62.0/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/1.62.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>, </span></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Error"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Error"class="anchor"></a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.62.0/core/convert/trait.TryInto.html#associatedtype.Error"class="associatedtype">Error</a> = <U as <aclass="trait"href="https://doc.rust-lang.org/1.62.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.62.0/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.try_into"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="const unstable">const: <ahref="https://github.com/rust-lang/rust/issues/88674"title="Tracking issue for const_convert">unstable</a></span> · <aclass="srclink"href="https://doc.rust-lang.org/1.62.0/src/core/convert/mod.rs.html#589">source</a></span><ahref="#method.try_into"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.62.0/core/convert/trait.TryInto.html#tymethod.try_into"class="fnname">try_into</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><U, <U as <aclass="trait"href="https://doc.rust-lang.org/1.62.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.62.0/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><divclass='docblock'><p>Performs the conversion.</p>
</div></details></div></details><sectionid="impl-DeserializeOwned"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/serde/1.0.126/src/serde/de/mod.rs.html#603">source</a></span><ahref="#impl-DeserializeOwned"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://docs.rs/serde/1.0.126/serde/de/trait.DeserializeOwned.html"title="trait serde::de::DeserializeOwned">DeserializeOwned</a> for T <spanclass="where fmt-newline">where<br> T: for<'de><aclass="trait"href="https://docs.rs/serde/1.0.126/serde/de/trait.Deserialize.html"title="trait serde::de::Deserialize">Deserialize</a><'de>, </span></h3></section></div></section></div></main><divid="rustdoc-vars"data-root-path="../../"data-current-crate="abstio"data-themes="ayu,dark,light"data-resource-suffix=""data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)"></div>