juniper/url/percent_encoding/index.html
Juniper Documentation Builder 95d942c9d4 Update documentation for Juniper
2016-09-11 18:41:24 +00:00

201 lines
No EOL
9.5 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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="API documentation for the Rust `percent_encoding` mod in crate `url`.">
<meta name="keywords" content="rust, rustlang, rust-lang, percent_encoding">
<title>url::percent_encoding - Rust</title>
<link rel="stylesheet" type="text/css" href="../../rustdoc.css">
<link rel="stylesheet" type="text/css" href="../../main.css">
</head>
<body class="rustdoc">
<!--[if lte IE 8]>
<div class="warning">
This old browser is unsupported and will most likely display funky
things.
</div>
<![endif]-->
<nav class="sidebar">
<p class='location'><a href='../index.html'>url</a></p><script>window.sidebarCurrent = {name: 'percent_encoding', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script>
</nav>
<nav class="sub">
<form class="search-form js-only">
<div class="search-container">
<input class="search-input" name="search"
autocomplete="off"
placeholder="Click or press S to search, ? for more options…"
type="search">
</div>
</form>
</nav>
<section id='main' class="content mod">
<h1 class='fqn'><span class='in-band'>Module <a href='../index.html'>url</a>::<wbr><a class='mod' href=''>percent_encoding</a></span><span class='out-of-band'><span id='render-detail'>
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
</span><a id='src-1406' class='srclink' href='../../src/url/percent_encoding.rs.html#9-344' title='goto source code'>[src]</a></span></h1>
<h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
<table>
<tr class=' module-item'>
<td><a class='struct' href='struct.DEFAULT_ENCODE_SET.html'
title='url::percent_encoding::DEFAULT_ENCODE_SET'>DEFAULT_ENCODE_SET</a></td>
<td class='docblock short'>
<p>This encode set is used for path components.</p>
</td>
</tr>
<tr class=' module-item'>
<td><a class='struct' href='struct.PATH_SEGMENT_ENCODE_SET.html'
title='url::percent_encoding::PATH_SEGMENT_ENCODE_SET'>PATH_SEGMENT_ENCODE_SET</a></td>
<td class='docblock short'>
<p>This encode set is used for on &#39;/&#39;-separated path segment</p>
</td>
</tr>
<tr class=' module-item'>
<td><a class='struct' href='struct.PercentDecode.html'
title='url::percent_encoding::PercentDecode'>PercentDecode</a></td>
<td class='docblock short'>
<p>The return type of <code>percent_decode()</code>.</p>
</td>
</tr>
<tr class=' module-item'>
<td><a class='struct' href='struct.PercentEncode.html'
title='url::percent_encoding::PercentEncode'>PercentEncode</a></td>
<td class='docblock short'>
<p>The return type of <code>percent_encode()</code> and <code>utf8_percent_encode()</code>.</p>
</td>
</tr>
<tr class=' module-item'>
<td><a class='struct' href='struct.QUERY_ENCODE_SET.html'
title='url::percent_encoding::QUERY_ENCODE_SET'>QUERY_ENCODE_SET</a></td>
<td class='docblock short'>
<p>This encode set is used in the URL parser for query strings.</p>
</td>
</tr>
<tr class=' module-item'>
<td><a class='struct' href='struct.SIMPLE_ENCODE_SET.html'
title='url::percent_encoding::SIMPLE_ENCODE_SET'>SIMPLE_ENCODE_SET</a></td>
<td class='docblock short'>
<p>This encode set is used for the path of cannot-be-a-base URLs.</p>
</td>
</tr>
<tr class=' module-item'>
<td><a class='struct' href='struct.USERINFO_ENCODE_SET.html'
title='url::percent_encoding::USERINFO_ENCODE_SET'>USERINFO_ENCODE_SET</a></td>
<td class='docblock short'>
<p>This encode set is used for username and password.</p>
</td>
</tr></table><h2 id='traits' class='section-header'><a href="#traits">Traits</a></h2>
<table>
<tr class=' module-item'>
<td><a class='trait' href='trait.EncodeSet.html'
title='url::percent_encoding::EncodeSet'>EncodeSet</a></td>
<td class='docblock short'>
<p>Represents a set of characters / bytes that should be percent-encoded.</p>
</td>
</tr></table><h2 id='functions' class='section-header'><a href="#functions">Functions</a></h2>
<table>
<tr class=' module-item'>
<td><a class='fn' href='fn.percent_decode.html'
title='url::percent_encoding::percent_decode'>percent_decode</a></td>
<td class='docblock short'>
<p>Percent-decode the given bytes.</p>
</td>
</tr>
<tr class=' module-item'>
<td><a class='fn' href='fn.percent_encode.html'
title='url::percent_encoding::percent_encode'>percent_encode</a></td>
<td class='docblock short'>
<p>Percent-encode the given bytes with the given encode set.</p>
</td>
</tr>
<tr class=' module-item'>
<td><a class='fn' href='fn.percent_encode_byte.html'
title='url::percent_encoding::percent_encode_byte'>percent_encode_byte</a></td>
<td class='docblock short'>
<p>Return the percent-encoding of the given bytes.</p>
</td>
</tr>
<tr class=' module-item'>
<td><a class='fn' href='fn.utf8_percent_encode.html'
title='url::percent_encoding::utf8_percent_encode'>utf8_percent_encode</a></td>
<td class='docblock short'>
<p>Percent-encode the UTF-8 encoding of the given string.</p>
</td>
</tr></table></section>
<section id='search' class="content hidden"></section>
<section class="footer"></section>
<aside id="help" class="hidden">
<div>
<h1 class="hidden">Help</h1>
<div class="shortcuts">
<h2>Keyboard Shortcuts</h2>
<dl>
<dt>?</dt>
<dd>Show this help dialog</dd>
<dt>S</dt>
<dd>Focus the search field</dd>
<dt>&larrb;</dt>
<dd>Move up in search results</dd>
<dt>&rarrb;</dt>
<dd>Move down in search results</dd>
<dt>&#9166;</dt>
<dd>Go to active search result</dd>
<dt>+</dt>
<dd>Collapse/expand all sections</dd>
</dl>
</div>
<div class="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>
</div>
</div>
</aside>
<script>
window.rootPath = "../../";
window.currentCrate = "url";
window.playgroundUrl = "";
</script>
<script src="../../jquery.js"></script>
<script src="../../main.js"></script>
<script defer src="../../search-index.js"></script>
</body>
</html>