6 lines
5.5 KiB
HTML
6 lines
5.5 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Parser and serializer for the `application/x-www-form-urlencoded` syntax, as used by HTML forms."><title>form_urlencoded - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="form_urlencoded" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../static.files/storage-e2aeef58.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">Crate form_urlencoded</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../form_urlencoded/index.html">form_<wbr>urlencoded</a><span class="version">1.2.2</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section id="rustdoc-toc"><h3><a href="#structs">Crate Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#traits" title="Traits">Traits</a></li><li><a href="#functions" title="Functions">Functions</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><h1>Crate <span>form_<wbr>urlencoded</span> <button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/form_urlencoded/lib.rs.html#9-430">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Parser and serializer for the <a href="http://url.spec.whatwg.org/#application/x-www-form-urlencoded"><code>application/x-www-form-urlencoded</code> syntax</a>,
|
||
as used by HTML forms.</p>
|
||
<p>Converts between a string (such as an URL’s query string)
|
||
and a sequence of (name, value) pairs.</p>
|
||
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.ByteSerialize.html" title="struct form_urlencoded::ByteSerialize">Byte<wbr>Serialize</a></dt><dd>Return value of <code>byte_serialize()</code>.</dd><dt><a class="struct" href="struct.Parse.html" title="struct form_urlencoded::Parse">Parse</a></dt><dd>The return type of <code>parse()</code>.</dd><dt><a class="struct" href="struct.ParseIntoOwned.html" title="struct form_urlencoded::ParseIntoOwned">Parse<wbr>Into<wbr>Owned</a></dt><dd>Like <code>Parse</code>, but yields pairs of <code>String</code> instead of pairs of <code>Cow<str></code>.</dd><dt><a class="struct" href="struct.Serializer.html" title="struct form_urlencoded::Serializer">Serializer</a></dt><dd>The <a href="https://url.spec.whatwg.org/#concept-urlencoded-serializer"><code>application/x-www-form-urlencoded</code> serializer</a>.</dd></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.Target.html" title="trait form_urlencoded::Target">Target</a></dt></dl><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><dl class="item-table"><dt><a class="fn" href="fn.byte_serialize.html" title="fn form_urlencoded::byte_serialize">byte_<wbr>serialize</a></dt><dd>The <a href="https://url.spec.whatwg.org/#concept-urlencoded-byte-serializer"><code>application/x-www-form-urlencoded</code> byte serializer</a>.</dd><dt><a class="fn" href="fn.parse.html" title="fn form_urlencoded::parse">parse</a></dt><dd>Convert a byte string in the <code>application/x-www-form-urlencoded</code> syntax
|
||
into a iterator of (name, value) pairs.</dd></dl><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><dl class="item-table"><dt><a class="type" href="type.EncodingOverride.html" title="type form_urlencoded::EncodingOverride">Encoding<wbr>Override</a></dt></dl></section></div></main></body></html> |