diff options
Diffstat (limited to 'target/doc/mailparse/fn.dateparse.html')
-rw-r--r-- | target/doc/mailparse/fn.dateparse.html | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/target/doc/mailparse/fn.dateparse.html b/target/doc/mailparse/fn.dateparse.html index 4234d23..3c185cc 100644 --- a/target/doc/mailparse/fn.dateparse.html +++ b/target/doc/mailparse/fn.dateparse.html @@ -10,10 +10,11 @@ <title>mailparse::dateparse - Rust</title> <link rel="stylesheet" type="text/css" href="../normalize.css"> - <link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"> + <link rel="stylesheet" type="text/css" href="../rustdoc.css" + id="mainThemeStyle"> <link rel="stylesheet" type="text/css" href="../dark.css"> - <link rel="stylesheet" type="text/css" href="../main.css" id="themeStyle"> + <link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"> <script src="../storage.js"></script> @@ -33,7 +34,7 @@ <nav class="sidebar"> <div class="sidebar-menu">☰</div> - <p class='location'><a href='index.html'>mailparse</a></p><script>window.sidebarCurrent = {name: 'dateparse', ty: 'fn', relpath: ''};</script><script defer src="sidebar-items.js"></script> + <div class="sidebar-elems"><p class='location'><a href='index.html'>mailparse</a></p><script>window.sidebarCurrent = {name: 'dateparse', ty: 'fn', relpath: ''};</script><script defer src="sidebar-items.js"></script></div> </nav> <div class="theme-picker"> @@ -54,13 +55,11 @@ </form> </nav> - <section id='main' class="content"> -<h1 class='fqn'><span class='in-band'>Function <a href='index.html'>mailparse</a>::<wbr><a class="fn" href=''>dateparse</a></span><span class='out-of-band'><span id='render-detail'> + <section id='main' class="content"><h1 class='fqn'><span class='in-band'>Function <a href='index.html'>mailparse</a>::<wbr><a class="fn" href=''>dateparse</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'>−</span>] </a> - </span><a class='srclink' href='../src/mailparse/dateparse.rs.html#76-188' title='goto source code'>[src]</a></span></h1> -<pre class='rust fn'>pub fn dateparse(date: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>, &'static <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>></pre><div class='docblock'><p>Convert a date field from an email header into a UNIX epoch timestamp. + </span><a class='srclink' href='../src/mailparse/dateparse.rs.html#76-188' title='goto source code'>[src]</a></span></h1><pre class='rust fn'>pub fn dateparse(date: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>, &'static <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>></pre><div class='docblock'><p>Convert a date field from an email header into a UNIX epoch timestamp. This function handles the most common formatting of date fields found in email headers. It may fail to parse some of the more creative formattings.</p> <h1 id="examples" class="section-header"><a href="#examples">Examples</a></h1> |