1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-30 16:34:26 +02:00

Deploying to gh-pages from @ actix/actix-web@26efa64278 🚀

This commit is contained in:
github-merge-queue[bot]
2024-05-27 01:16:31 +00:00
commit a33fe13cd1
1715 changed files with 215638 additions and 0 deletions

View File

@ -0,0 +1,2 @@
<!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="Conversion between units of time."><title>actix_web::cookie::time::convert - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_web" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (bdbbb6c6a 2024-05-26)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_web/index.html">actix_web</a><span class="version">4.6.0</span></h2></div><h2 class="location"><a href="#">Module convert</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li></ul></section><h2><a href="../index.html">In actix_web::cookie::time</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../index.html">actix_web</a>::<wbr><a href="../../index.html">cookie</a>::<wbr><a href="../index.html">time</a>::<wbr><a class="mod" href="#">convert</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>cookies</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Conversion between units of time.</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.Day.html" title="struct actix_web::cookie::time::convert::Day">Day</a></div><div class="desc docblock-short">A unit of time representing exactly one day.</div></li><li><div class="item-name"><a class="struct" href="struct.Hour.html" title="struct actix_web::cookie::time::convert::Hour">Hour</a></div><div class="desc docblock-short">A unit of time representing exactly one hour.</div></li><li><div class="item-name"><a class="struct" href="struct.Microsecond.html" title="struct actix_web::cookie::time::convert::Microsecond">Microsecond</a></div><div class="desc docblock-short">A unit of time representing exactly one microsecond.</div></li><li><div class="item-name"><a class="struct" href="struct.Millisecond.html" title="struct actix_web::cookie::time::convert::Millisecond">Millisecond</a></div><div class="desc docblock-short">A unit of time representing exactly one millisecond.</div></li><li><div class="item-name"><a class="struct" href="struct.Minute.html" title="struct actix_web::cookie::time::convert::Minute">Minute</a></div><div class="desc docblock-short">A unit of time representing exactly one minute.</div></li><li><div class="item-name"><a class="struct" href="struct.Nanosecond.html" title="struct actix_web::cookie::time::convert::Nanosecond">Nanosecond</a></div><div class="desc docblock-short">A unit of time representing exactly one nanosecond.</div></li><li><div class="item-name"><a class="struct" href="struct.Second.html" title="struct actix_web::cookie::time::convert::Second">Second</a></div><div class="desc docblock-short">A unit of time representing exactly one second.</div></li><li><div class="item-name"><a class="struct" href="struct.Week.html" title="struct actix_web::cookie::time::convert::Week">Week</a></div><div class="desc docblock-short">A unit of time representing exactly one week.</div></li></ul></section></div></main></body></html>

View File

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"struct":["Day","Hour","Microsecond","Millisecond","Minute","Nanosecond","Second","Week"]};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,6 @@
<!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="Various error types returned by methods in the time crate."><title>actix_web::cookie::time::error - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_web" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (bdbbb6c6a 2024-05-26)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_web/index.html">actix_web</a><span class="version">4.6.0</span></h2></div><h2 class="location"><a href="#">Module error</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></section><h2><a href="../index.html">In actix_web::cookie::time</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../index.html">actix_web</a>::<wbr><a href="../../index.html">cookie</a>::<wbr><a href="../index.html">time</a>::<wbr><a class="mod" href="#">error</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>cookies</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Various error types returned by methods in the time crate.</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.ComponentRange.html" title="struct actix_web::cookie::time::error::ComponentRange">ComponentRange</a></div><div class="desc docblock-short">An error type indicating that a component provided to a method was out of range, causing a
failure.</div></li><li><div class="item-name"><a class="struct" href="struct.ConversionRange.html" title="struct actix_web::cookie::time::error::ConversionRange">ConversionRange</a></div><div class="desc docblock-short">An error type indicating that a conversion failed because the target type could not store the
initial value.</div></li><li><div class="item-name"><a class="struct" href="struct.DifferentVariant.html" title="struct actix_web::cookie::time::error::DifferentVariant">DifferentVariant</a></div><div class="desc docblock-short">An error type indicating that a <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom"><code>TryFrom</code></a> call failed because the
original value was of a different variant.</div></li><li><div class="item-name"><a class="struct" href="struct.InvalidVariant.html" title="struct actix_web::cookie::time::error::InvalidVariant">InvalidVariant</a></div><div class="desc docblock-short">An error type indicating that a <a href="https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html" title="trait core::str::traits::FromStr"><code>FromStr</code></a> call failed because the value
was not a valid variant.</div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.Error.html" title="enum actix_web::cookie::time::error::Error">Error</a></div><div class="desc docblock-short">A unified error type for anything returned by a method in the time crate.</div></li><li><div class="item-name"><a class="enum" href="enum.Format.html" title="enum actix_web::cookie::time::error::Format">Format</a></div><div class="desc docblock-short">An error occurred when formatting.</div></li><li><div class="item-name"><a class="enum" href="enum.InvalidFormatDescription.html" title="enum actix_web::cookie::time::error::InvalidFormatDescription">InvalidFormatDescription</a></div><div class="desc docblock-short">The format description provided was not valid.</div></li><li><div class="item-name"><a class="enum" href="enum.Parse.html" title="enum actix_web::cookie::time::error::Parse">Parse</a></div><div class="desc docblock-short">An error that occurred at some stage of parsing.</div></li><li><div class="item-name"><a class="enum" href="enum.ParseFromDescription.html" title="enum actix_web::cookie::time::error::ParseFromDescription">ParseFromDescription</a></div><div class="desc docblock-short">An error that occurred while parsing the input into a <a href="../parsing/struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed"><code>Parsed</code></a> struct.</div></li><li><div class="item-name"><a class="enum" href="enum.TryFromParsed.html" title="enum actix_web::cookie::time::error::TryFromParsed">TryFromParsed</a></div><div class="desc docblock-short">An error that occurred when converting a <a href="../parsing/struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed"><code>Parsed</code></a> to another type.</div></li></ul></section></div></main></body></html>

View File

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"enum":["Error","Format","InvalidFormatDescription","Parse","ParseFromDescription","TryFromParsed"],"struct":["ComponentRange","ConversionRange","DifferentVariant","InvalidVariant"]};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,3 @@
<!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="Extension traits."><title>actix_web::cookie::time::ext - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_web" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (bdbbb6c6a 2024-05-26)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_web/index.html">actix_web</a><span class="version">4.6.0</span></h2></div><h2 class="location"><a href="#">Module ext</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#traits">Traits</a></li></ul></section><h2><a href="../index.html">In actix_web::cookie::time</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../index.html">actix_web</a>::<wbr><a href="../../index.html">cookie</a>::<wbr><a href="../index.html">time</a>::<wbr><a class="mod" href="#">ext</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>cookies</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Extension traits.</p>
</div></details><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.InstantExt.html" title="trait actix_web::cookie::time::ext::InstantExt">InstantExt</a></div><div class="desc docblock-short">An extension trait for <a href="https://doc.rust-lang.org/nightly/std/time/struct.Instant.html" title="struct std::time::Instant"><code>std::time::Instant</code></a> that adds methods for
<a href="../struct.Duration.html" title="struct actix_web::cookie::time::Duration"><code>time::Duration</code></a>s.</div></li><li><div class="item-name"><a class="trait" href="trait.NumericalDuration.html" title="trait actix_web::cookie::time::ext::NumericalDuration">NumericalDuration</a></div><div class="desc docblock-short">Create <a href="../struct.Duration.html" title="struct actix_web::cookie::time::Duration"><code>Duration</code></a>s from numeric literals.</div></li><li><div class="item-name"><a class="trait" href="trait.NumericalStdDuration.html" title="trait actix_web::cookie::time::ext::NumericalStdDuration">NumericalStdDuration</a></div><div class="desc docblock-short">Create <a href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration"><code>std::time::Duration</code></a>s from numeric literals.</div></li></ul></section></div></main></body></html>

View File

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"trait":["InstantExt","NumericalDuration","NumericalStdDuration"]};

View File

@ -0,0 +1,34 @@
<!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="An extension trait for `std::time::Instant` that adds methods for `time::Duration`s."><title>InstantExt in actix_web::cookie::time::ext - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_web" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (bdbbb6c6a 2024-05-26)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_web/index.html">actix_web</a><span class="version">4.6.0</span></h2></div><h2 class="location"><a href="#">InstantExt</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.checked_add_signed">checked_add_signed</a></li><li><a href="#tymethod.checked_sub_signed">checked_sub_signed</a></li><li><a href="#tymethod.signed_duration_since">signed_duration_since</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.add_signed">add_signed</a></li><li><a href="#method.sub_signed">sub_signed</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-InstantExt-for-Instant">Instant</a></li></ul><h3><a href="#object-safety">Object Safety</a></h3><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In actix_web::cookie::time::ext</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="../../../index.html">actix_web</a>::<wbr><a href="../../index.html">cookie</a>::<wbr><a href="../index.html">time</a>::<wbr><a href="index.html">ext</a>::<wbr><a class="trait" href="#">InstantExt</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub trait InstantExt: Sealed {
// Required methods
fn <a href="#tymethod.checked_add_signed" class="fn">checked_add_signed</a>(&amp;self, duration: <a class="struct" href="../struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;;
<span class="item-spacer"></span> fn <a href="#tymethod.checked_sub_signed" class="fn">checked_sub_signed</a>(&amp;self, duration: <a class="struct" href="../struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;;
<span class="item-spacer"></span> fn <a href="#tymethod.signed_duration_since" class="fn">signed_duration_since</a>(&amp;self, earlier: Self) -&gt; <a class="struct" href="../struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>;
// Provided methods
fn <a href="#method.add_signed" class="fn">add_signed</a>(self, duration: <a class="struct" href="../struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; Self { ... }
<span class="item-spacer"></span> fn <a href="#method.sub_signed" class="fn">sub_signed</a>(self, duration: <a class="struct" href="../struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; Self { ... }
}</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>cookies</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>An extension trait for <a href="https://doc.rust-lang.org/nightly/std/time/struct.Instant.html" title="struct std::time::Instant"><code>std::time::Instant</code></a> that adds methods for
<a href="../struct.Duration.html" title="struct actix_web::cookie::time::Duration"><code>time::Duration</code></a>s.</p>
</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.checked_add_signed" class="method"><h4 class="code-header">fn <a href="#tymethod.checked_add_signed" class="fn">checked_add_signed</a>(&amp;self, duration: <a class="struct" href="../struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</h4></section></summary><div class="docblock"><p>Returns <code>Some(t)</code> where <code>t</code> is the time <code>self.checked_add_signed(duration)</code> if <code>t</code> can be
represented as <code>Instant</code> (which means its inside the bounds of the underlying data
structure), <code>None</code> otherwise.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.checked_sub_signed" class="method"><h4 class="code-header">fn <a href="#tymethod.checked_sub_signed" class="fn">checked_sub_signed</a>(&amp;self, duration: <a class="struct" href="../struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</h4></section></summary><div class="docblock"><p>Returns <code>Some(t)</code> where <code>t</code> is the time <code>self.checked_sub_signed(duration)</code> if <code>t</code> can be
represented as <code>Instant</code> (which means its inside the bounds of the underlying data
structure), <code>None</code> otherwise.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.signed_duration_since" class="method"><h4 class="code-header">fn <a href="#tymethod.signed_duration_since" class="fn">signed_duration_since</a>(&amp;self, earlier: Self) -&gt; <a class="struct" href="../struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Returns the amount of time elapsed from another instant to this one. This will be negative
if <code>earlier</code> is later than <code>self</code>.</p>
<h5 id="example"><a class="doc-anchor" href="#example">§</a>Example</h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>now = Instant::now();
sleep(Duration::new(<span class="number">1</span>, <span class="number">0</span>));
<span class="kw">let </span>new_now = Instant::now();
<span class="macro">println!</span>(<span class="string">"{:?}"</span>, new_now.signed_duration_since(now)); <span class="comment">// positive
</span><span class="macro">println!</span>(<span class="string">"{:?}"</span>, now.signed_duration_since(new_now)); <span class="comment">// negative</span></code></pre></div>
</div></details></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="method.add_signed" class="method"><h4 class="code-header">fn <a href="#method.add_signed" class="fn">add_signed</a>(self, duration: <a class="struct" href="../struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; Self</h4></section></summary><div class="docblock"><h5 id="panics"><a class="doc-anchor" href="#panics">§</a>Panics</h5>
<p>This function may panic if the resulting point in time cannot be represented by the
underlying data structure. See <a href="trait.InstantExt.html#tymethod.checked_add_signed" title="method actix_web::cookie::time::ext::InstantExt::checked_add_signed"><code>InstantExt::checked_add_signed</code></a> for a non-panicking
version.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.sub_signed" class="method"><h4 class="code-header">fn <a href="#method.sub_signed" class="fn">sub_signed</a>(self, duration: <a class="struct" href="../struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; Self</h4></section></summary><div class="docblock"><h5 id="panics-1"><a class="doc-anchor" href="#panics-1">§</a>Panics</h5>
<p>This function may panic if the resulting point in time cannot be represented by the
underlying data structure. See <a href="trait.InstantExt.html#tymethod.checked_sub_signed" title="method actix_web::cookie::time::ext::InstantExt::checked_sub_signed"><code>InstantExt::checked_sub_signed</code></a> for a non-panicking
version.</p>
</div></details></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-InstantExt-for-Instant" class="impl"><a href="#impl-InstantExt-for-Instant" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.InstantExt.html" title="trait actix_web::cookie::time::ext::InstantExt">InstantExt</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/std/time/struct.Instant.html" title="struct std::time::Instant">Instant</a></h3></section></summary><div class="impl-items"><section id="method.checked_add_signed" class="method trait-impl"><a href="#method.checked_add_signed" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.checked_add_signed" class="fn">checked_add_signed</a>(&amp;self, duration: <a class="struct" href="../struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/std/time/struct.Instant.html" title="struct std::time::Instant">Instant</a>&gt;</h4></section><section id="method.checked_sub_signed" class="method trait-impl"><a href="#method.checked_sub_signed" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.checked_sub_signed" class="fn">checked_sub_signed</a>(&amp;self, duration: <a class="struct" href="../struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/std/time/struct.Instant.html" title="struct std::time::Instant">Instant</a>&gt;</h4></section><section id="method.signed_duration_since" class="method trait-impl"><a href="#method.signed_duration_since" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.signed_duration_since" class="fn">signed_duration_since</a>(&amp;self, earlier: <a class="struct" href="https://doc.rust-lang.org/nightly/std/time/struct.Instant.html" title="struct std::time::Instant">Instant</a>) -&gt; <a class="struct" href="../struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../../../trait.impl/time/ext/instant/trait.InstantExt.js" data-ignore-extern-crates="std" async></script></section></div></main></body></html>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,68 @@
<!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="Create `std::time::Duration`s from numeric literals."><title>NumericalStdDuration in actix_web::cookie::time::ext - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_web" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (bdbbb6c6a 2024-05-26)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_web/index.html">actix_web</a><span class="version">4.6.0</span></h2></div><h2 class="location"><a href="#">NumericalStdDuration</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.std_days">std_days</a></li><li><a href="#tymethod.std_hours">std_hours</a></li><li><a href="#tymethod.std_microseconds">std_microseconds</a></li><li><a href="#tymethod.std_milliseconds">std_milliseconds</a></li><li><a href="#tymethod.std_minutes">std_minutes</a></li><li><a href="#tymethod.std_nanoseconds">std_nanoseconds</a></li><li><a href="#tymethod.std_seconds">std_seconds</a></li><li><a href="#tymethod.std_weeks">std_weeks</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-NumericalStdDuration-for-f64">f64</a></li><li><a href="#impl-NumericalStdDuration-for-u64">u64</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In actix_web::cookie::time::ext</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="../../../index.html">actix_web</a>::<wbr><a href="../../index.html">cookie</a>::<wbr><a href="../index.html">time</a>::<wbr><a href="index.html">ext</a>::<wbr><a class="trait" href="#">NumericalStdDuration</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub trait NumericalStdDuration: Sealed {
// Required methods
fn <a href="#tymethod.std_nanoseconds" class="fn">std_nanoseconds</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.std_microseconds" class="fn">std_microseconds</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.std_milliseconds" class="fn">std_milliseconds</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.std_seconds" class="fn">std_seconds</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.std_minutes" class="fn">std_minutes</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.std_hours" class="fn">std_hours</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.std_days" class="fn">std_days</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.std_weeks" class="fn">std_weeks</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>;
}</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>cookies</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Create <a href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration"><code>std::time::Duration</code></a>s from numeric literals.</p>
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
<p>Basic construction of <a href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration"><code>std::time::Duration</code></a>s.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="number">5</span>.std_nanoseconds(), Duration::from_nanos(<span class="number">5</span>));
<span class="macro">assert_eq!</span>(<span class="number">5</span>.std_microseconds(), Duration::from_micros(<span class="number">5</span>));
<span class="macro">assert_eq!</span>(<span class="number">5</span>.std_milliseconds(), Duration::from_millis(<span class="number">5</span>));
<span class="macro">assert_eq!</span>(<span class="number">5</span>.std_seconds(), Duration::from_secs(<span class="number">5</span>));
<span class="macro">assert_eq!</span>(<span class="number">5</span>.std_minutes(), Duration::from_secs(<span class="number">5 </span>* <span class="number">60</span>));
<span class="macro">assert_eq!</span>(<span class="number">5</span>.std_hours(), Duration::from_secs(<span class="number">5 </span>* <span class="number">3_600</span>));
<span class="macro">assert_eq!</span>(<span class="number">5</span>.std_days(), Duration::from_secs(<span class="number">5 </span>* <span class="number">86_400</span>));
<span class="macro">assert_eq!</span>(<span class="number">5</span>.std_weeks(), Duration::from_secs(<span class="number">5 </span>* <span class="number">604_800</span>));</code></pre></div>
<p>Just like any other <a href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration"><code>std::time::Duration</code></a>, they can be added, subtracted, etc.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(
<span class="number">2</span>.std_seconds() + <span class="number">500</span>.std_milliseconds(),
<span class="number">2_500</span>.std_milliseconds()
);
<span class="macro">assert_eq!</span>(
<span class="number">2</span>.std_seconds() - <span class="number">500</span>.std_milliseconds(),
<span class="number">1_500</span>.std_milliseconds()
);</code></pre></div>
<p>When called on floating point values, any remainder of the floating point value will be
truncated. Keep in mind that floating point numbers are inherently imprecise and have
limited capacity.</p>
</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.std_nanoseconds" class="method"><h4 class="code-header">fn <a href="#tymethod.std_nanoseconds" class="fn">std_nanoseconds</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Create a <a href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration"><code>std::time::Duration</code></a> from the number of nanoseconds.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.std_microseconds" class="method"><h4 class="code-header">fn <a href="#tymethod.std_microseconds" class="fn">std_microseconds</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Create a <a href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration"><code>std::time::Duration</code></a> from the number of microseconds.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.std_milliseconds" class="method"><h4 class="code-header">fn <a href="#tymethod.std_milliseconds" class="fn">std_milliseconds</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Create a <a href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration"><code>std::time::Duration</code></a> from the number of milliseconds.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.std_seconds" class="method"><h4 class="code-header">fn <a href="#tymethod.std_seconds" class="fn">std_seconds</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Create a <a href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration"><code>std::time::Duration</code></a> from the number of seconds.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.std_minutes" class="method"><h4 class="code-header">fn <a href="#tymethod.std_minutes" class="fn">std_minutes</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Create a <a href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration"><code>std::time::Duration</code></a> from the number of minutes.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.std_hours" class="method"><h4 class="code-header">fn <a href="#tymethod.std_hours" class="fn">std_hours</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Create a <a href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration"><code>std::time::Duration</code></a> from the number of hours.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.std_days" class="method"><h4 class="code-header">fn <a href="#tymethod.std_days" class="fn">std_days</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Create a <a href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration"><code>std::time::Duration</code></a> from the number of days.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.std_weeks" class="method"><h4 class="code-header">fn <a href="#tymethod.std_weeks" class="fn">std_weeks</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Create a <a href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration"><code>std::time::Duration</code></a> from the number of weeks.</p>
</div></details></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-NumericalStdDuration-for-f64" class="impl"><a href="#impl-NumericalStdDuration-for-f64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.NumericalStdDuration.html" title="trait actix_web::cookie::time::ext::NumericalStdDuration">NumericalStdDuration</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.std_nanoseconds" class="method trait-impl"><a href="#method.std_nanoseconds" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.std_nanoseconds" class="fn">std_nanoseconds</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a></h4></section></summary><div class="docblock"><h5 id="panics"><a class="doc-anchor" href="#panics">§</a>Panics</h5>
<p>This will panic if self is negative.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.std_microseconds" class="method trait-impl"><a href="#method.std_microseconds" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.std_microseconds" class="fn">std_microseconds</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a></h4></section></summary><div class="docblock"><h5 id="panics-1"><a class="doc-anchor" href="#panics-1">§</a>Panics</h5>
<p>This will panic if self is negative.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.std_milliseconds" class="method trait-impl"><a href="#method.std_milliseconds" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.std_milliseconds" class="fn">std_milliseconds</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a></h4></section></summary><div class="docblock"><h5 id="panics-2"><a class="doc-anchor" href="#panics-2">§</a>Panics</h5>
<p>This will panic if self is negative.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.std_seconds" class="method trait-impl"><a href="#method.std_seconds" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.std_seconds" class="fn">std_seconds</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a></h4></section></summary><div class="docblock"><h5 id="panics-3"><a class="doc-anchor" href="#panics-3">§</a>Panics</h5>
<p>This will panic if self is negative.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.std_minutes" class="method trait-impl"><a href="#method.std_minutes" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.std_minutes" class="fn">std_minutes</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a></h4></section></summary><div class="docblock"><h5 id="panics-4"><a class="doc-anchor" href="#panics-4">§</a>Panics</h5>
<p>This will panic if self is negative.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.std_hours" class="method trait-impl"><a href="#method.std_hours" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.std_hours" class="fn">std_hours</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a></h4></section></summary><div class="docblock"><h5 id="panics-5"><a class="doc-anchor" href="#panics-5">§</a>Panics</h5>
<p>This will panic if self is negative.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.std_days" class="method trait-impl"><a href="#method.std_days" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.std_days" class="fn">std_days</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a></h4></section></summary><div class="docblock"><h5 id="panics-6"><a class="doc-anchor" href="#panics-6">§</a>Panics</h5>
<p>This will panic if self is negative.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.std_weeks" class="method trait-impl"><a href="#method.std_weeks" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.std_weeks" class="fn">std_weeks</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a></h4></section></summary><div class="docblock"><h5 id="panics-7"><a class="doc-anchor" href="#panics-7">§</a>Panics</h5>
<p>This will panic if self is negative.</p>
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-NumericalStdDuration-for-u64" class="impl"><a href="#impl-NumericalStdDuration-for-u64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.NumericalStdDuration.html" title="trait actix_web::cookie::time::ext::NumericalStdDuration">NumericalStdDuration</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.std_minutes-1" class="method trait-impl"><a href="#method.std_minutes-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.std_minutes" class="fn">std_minutes</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a></h4></section></summary><div class="docblock"><h5 id="panics-8"><a class="doc-anchor" href="#panics-8">§</a>Panics</h5>
<p>This may panic if an overflow occurs.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.std_hours-1" class="method trait-impl"><a href="#method.std_hours-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.std_hours" class="fn">std_hours</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a></h4></section></summary><div class="docblock"><h5 id="panics-9"><a class="doc-anchor" href="#panics-9">§</a>Panics</h5>
<p>This may panic if an overflow occurs.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.std_days-1" class="method trait-impl"><a href="#method.std_days-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.std_days" class="fn">std_days</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a></h4></section></summary><div class="docblock"><h5 id="panics-10"><a class="doc-anchor" href="#panics-10">§</a>Panics</h5>
<p>This may panic if an overflow occurs.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.std_weeks-1" class="method trait-impl"><a href="#method.std_weeks-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.std_weeks" class="fn">std_weeks</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a></h4></section></summary><div class="docblock"><h5 id="panics-11"><a class="doc-anchor" href="#panics-11">§</a>Panics</h5>
<p>This may panic if an overflow occurs.</p>
</div></details><section id="method.std_nanoseconds-1" class="method trait-impl"><a href="#method.std_nanoseconds-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.std_nanoseconds" class="fn">std_nanoseconds</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a></h4></section><section id="method.std_microseconds-1" class="method trait-impl"><a href="#method.std_microseconds-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.std_microseconds" class="fn">std_microseconds</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a></h4></section><section id="method.std_milliseconds-1" class="method trait-impl"><a href="#method.std_milliseconds-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.std_milliseconds" class="fn">std_milliseconds</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a></h4></section><section id="method.std_seconds-1" class="method trait-impl"><a href="#method.std_seconds-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.std_seconds" class="fn">std_seconds</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a></h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../../../trait.impl/time/ext/numerical_std_duration/trait.NumericalStdDuration.js" data-ignore-extern-crates="std" async></script></section></div></main></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,9 @@
<!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="Parse a sequence of items from the format description."><title>parse in actix_web::cookie::time::format_description - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_web" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (bdbbb6c6a 2024-05-26)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_web/index.html">actix_web</a><span class="version">4.6.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In actix_web::cookie::time::format_description</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../index.html">actix_web</a>::<wbr><a href="../../index.html">cookie</a>::<wbr><a href="../index.html">time</a>::<wbr><a href="index.html">format_description</a>::<wbr><a class="fn" href="#">parse</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn parse(
s: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="enum.FormatItem.html" title="enum actix_web::cookie::time::format_description::FormatItem">BorrowedFormatItem</a>&lt;'_&gt;&gt;, <a class="enum" href="../error/enum.InvalidFormatDescription.html" title="enum actix_web::cookie::time::error::InvalidFormatDescription">InvalidFormatDescription</a>&gt;</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>cookies</code> and (crate features <code>formatting</code> or <code>parsing</code>)</strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Parse a sequence of items from the format description.</p>
<p>The syntax for the format description can be found in <a href="https://time-rs.github.io/book/api/format-description.html">the
book</a>.</p>
<p>This function exists for backward compatibility reasons. It is equivalent to calling
<code>parse_borrowed::&lt;1&gt;(s)</code>. In the future, this function will be deprecated in favor of
<code>parse_borrowed</code>.</p>
</div></details></section></div></main></body></html>

View File

@ -0,0 +1,7 @@
<!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="Parse a sequence of items from the format description."><title>parse_borrowed in actix_web::cookie::time::format_description - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_web" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (bdbbb6c6a 2024-05-26)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_web/index.html">actix_web</a><span class="version">4.6.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In actix_web::cookie::time::format_description</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../index.html">actix_web</a>::<wbr><a href="../../index.html">cookie</a>::<wbr><a href="../index.html">time</a>::<wbr><a href="index.html">format_description</a>::<wbr><a class="fn" href="#">parse_borrowed</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn parse_borrowed&lt;const VERSION: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;(
s: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="enum.FormatItem.html" title="enum actix_web::cookie::time::format_description::FormatItem">BorrowedFormatItem</a>&lt;'_&gt;&gt;, <a class="enum" href="../error/enum.InvalidFormatDescription.html" title="enum actix_web::cookie::time::error::InvalidFormatDescription">InvalidFormatDescription</a>&gt;</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>cookies</code> and (crate features <code>formatting</code> or <code>parsing</code>)</strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Parse a sequence of items from the format description.</p>
<p>The syntax for the format description can be found in <a href="https://time-rs.github.io/book/api/format-description.html">the
book</a>. The version of the format
description is provided as the const parameter. <strong>It is recommended to use version 2.</strong></p>
</div></details></section></div></main></body></html>

View File

@ -0,0 +1,9 @@
<!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="Parse a sequence of items from the format description."><title>parse_owned in actix_web::cookie::time::format_description - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_web" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (bdbbb6c6a 2024-05-26)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_web/index.html">actix_web</a><span class="version">4.6.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In actix_web::cookie::time::format_description</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../index.html">actix_web</a>::<wbr><a href="../../index.html">cookie</a>::<wbr><a href="../index.html">time</a>::<wbr><a href="index.html">format_description</a>::<wbr><a class="fn" href="#">parse_owned</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn parse_owned&lt;const VERSION: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;(
s: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="enum.OwnedFormatItem.html" title="enum actix_web::cookie::time::format_description::OwnedFormatItem">OwnedFormatItem</a>, <a class="enum" href="../error/enum.InvalidFormatDescription.html" title="enum actix_web::cookie::time::error::InvalidFormatDescription">InvalidFormatDescription</a>&gt;</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>cookies</code> and (crate features <code>formatting</code> or <code>parsing</code>)</strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Parse a sequence of items from the format description.</p>
<p>The syntax for the format description can be found in <a href="https://time-rs.github.io/book/api/format-description.html">the
book</a>. The version of the format
description is provided as the const parameter.</p>
<p>Unlike <a href="fn.parse.html" title="fn actix_web::cookie::time::format_description::parse"><code>parse</code></a>, this function returns <a href="enum.OwnedFormatItem.html" title="enum actix_web::cookie::time::format_description::OwnedFormatItem"><code>OwnedFormatItem</code></a>, which owns its contents. This means
that there is no lifetime that needs to be handled. <strong>It is recommended to use version 2.</strong></p>
</div></details></section></div></main></body></html>

View File

@ -0,0 +1,7 @@
<!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="Description of how types should be formatted and parsed."><title>actix_web::cookie::time::format_description - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_web" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (bdbbb6c6a 2024-05-26)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_web/index.html">actix_web</a><span class="version">4.6.0</span></h2></div><h2 class="location"><a href="#">Module format_description</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#modules">Modules</a></li><li><a href="#enums">Enums</a></li><li><a href="#functions">Functions</a></li></ul></section><h2><a href="../index.html">In actix_web::cookie::time</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../index.html">actix_web</a>::<wbr><a href="../../index.html">cookie</a>::<wbr><a href="../index.html">time</a>::<wbr><a class="mod" href="#">format_description</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>cookies</code> and (crate features <code>formatting</code> or <code>parsing</code>)</strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Description of how types should be formatted and parsed.</p>
<p>The formatted value will be output to the provided writer. Format descriptions can be
<a href="well_known/index.html" title="mod actix_web::cookie::time::format_description::well_known">well-known</a> or obtained by using the
<a href="../macros/macro.format_description.html" title="macro actix_web::cookie::time::macros::format_description"><code>format_description!</code></a> macro or a function listed below.</p>
<p>For examples, see the implementors of <a href="../formatting/trait.Formattable.html" title="trait actix_web::cookie::time::formatting::Formattable">Formattable</a>,
e.g. <a href="well_known/struct.Rfc3339.html" title="struct actix_web::cookie::time::format_description::well_known::Rfc3339"><code>well_known::Rfc3339</code></a>.</p>
</div></details><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="modifier/index.html" title="mod actix_web::cookie::time::format_description::modifier">modifier</a></div><div class="desc docblock-short">Various modifiers for components.</div></li><li><div class="item-name"><a class="mod" href="well_known/index.html" title="mod actix_web::cookie::time::format_description::well_known">well_known</a></div><div class="desc docblock-short">Well-known formats, typically standards.</div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.BorrowedFormatItem.html" title="enum actix_web::cookie::time::format_description::BorrowedFormatItem">BorrowedFormatItem</a></div><div class="desc docblock-short">A complete description of how to format and parse a type.</div></li><li><div class="item-name"><a class="enum" href="enum.Component.html" title="enum actix_web::cookie::time::format_description::Component">Component</a></div><div class="desc docblock-short">A component of a larger format description.</div></li><li><div class="item-name"><a class="enum" href="enum.FormatItem.html" title="enum actix_web::cookie::time::format_description::FormatItem">FormatItem</a></div><div class="desc docblock-short">A complete description of how to format and parse a type.</div></li><li><div class="item-name"><a class="enum" href="enum.OwnedFormatItem.html" title="enum actix_web::cookie::time::format_description::OwnedFormatItem">OwnedFormatItem</a></div><div class="desc docblock-short">A complete description of how to format and parse a type.</div></li></ul><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.parse.html" title="fn actix_web::cookie::time::format_description::parse">parse</a></div><div class="desc docblock-short">Parse a sequence of items from the format description.</div></li><li><div class="item-name"><a class="fn" href="fn.parse_borrowed.html" title="fn actix_web::cookie::time::format_description::parse_borrowed">parse_borrowed</a></div><div class="desc docblock-short">Parse a sequence of items from the format description.</div></li><li><div class="item-name"><a class="fn" href="fn.parse_owned.html" title="fn actix_web::cookie::time::format_description::parse_owned">parse_owned</a></div><div class="desc docblock-short">Parse a sequence of items from the format description.</div></li></ul></section></div></main></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"enum":["MonthRepr","Padding","SubsecondDigits","UnixTimestampPrecision","WeekNumberRepr","WeekdayRepr","YearRepr"],"struct":["Day","End","Hour","Ignore","Minute","Month","OffsetHour","OffsetMinute","OffsetSecond","Ordinal","Period","Second","Subsecond","UnixTimestamp","WeekNumber","Weekday","Year"]};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"enum":["BorrowedFormatItem","Component","FormatItem","OwnedFormatItem"],"fn":["parse","parse_borrowed","parse_owned"],"mod":["modifier","well_known"]};

View File

@ -0,0 +1,2 @@
<!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="Well-known formats, typically standards."><title>actix_web::cookie::time::format_description::well_known - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="actix_web" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (bdbbb6c6a 2024-05-26)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../../actix_web/index.html">actix_web</a><span class="version">4.6.0</span></h2></div><h2 class="location"><a href="#">Module well_known</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li></ul></section><h2><a href="../index.html">In actix_web::cookie::time::format_description</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../../index.html">actix_web</a>::<wbr><a href="../../../index.html">cookie</a>::<wbr><a href="../../index.html">time</a>::<wbr><a href="../index.html">format_description</a>::<wbr><a class="mod" href="#">well_known</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>cookies</code> and (crate features <code>formatting</code> or <code>parsing</code>)</strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Well-known formats, typically standards.</p>
</div></details><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="iso8601/index.html" title="mod actix_web::cookie::time::format_description::well_known::iso8601">iso8601</a></div><div class="desc docblock-short">The format described in ISO 8601.</div></li></ul><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.Iso8601.html" title="struct actix_web::cookie::time::format_description::well_known::Iso8601">Iso8601</a></div><div class="desc docblock-short">The format described in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a>.</div></li><li><div class="item-name"><a class="struct" href="struct.Rfc2822.html" title="struct actix_web::cookie::time::format_description::well_known::Rfc2822">Rfc2822</a></div><div class="desc docblock-short">The format described in <a href="https://tools.ietf.org/html/rfc2822#section-3.3">RFC 2822</a>.</div></li><li><div class="item-name"><a class="struct" href="struct.Rfc3339.html" title="struct actix_web::cookie::time::format_description::well_known::Rfc3339">Rfc3339</a></div><div class="desc docblock-short">The format described in <a href="https://tools.ietf.org/html/rfc3339#section-5.6">RFC 3339</a>.</div></li></ul></section></div></main></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
<!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="The format described in ISO 8601."><title>actix_web::cookie::time::format_description::well_known::iso8601 - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../../../../../" data-static-root-path="../../../../../../static.files/" data-current-crate="actix_web" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (bdbbb6c6a 2024-05-26)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../../../actix_web/index.html">actix_web</a><span class="version">4.6.0</span></h2></div><h2 class="location"><a href="#">Module iso8601</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#types">Type Aliases</a></li></ul></section><h2><a href="../index.html">In actix_web::cookie::time::format_description::well_known</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../../../index.html">actix_web</a>::<wbr><a href="../../../../index.html">cookie</a>::<wbr><a href="../../../index.html">time</a>::<wbr><a href="../../index.html">format_description</a>::<wbr><a href="../index.html">well_known</a>::<wbr><a class="mod" href="#">iso8601</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>cookies</code> and (crate features <code>formatting</code> or <code>parsing</code>)</strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The format described in ISO 8601.</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.Config.html" title="struct actix_web::cookie::time::format_description::well_known::iso8601::Config">Config</a></div><div class="desc docblock-short">Configuration for <a href="../struct.Iso8601.html" title="struct actix_web::cookie::time::format_description::well_known::Iso8601"><code>Iso8601</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.Iso8601.html" title="struct actix_web::cookie::time::format_description::well_known::iso8601::Iso8601">Iso8601</a></div><div class="desc docblock-short">The format described in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a>.</div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.DateKind.html" title="enum actix_web::cookie::time::format_description::well_known::iso8601::DateKind">DateKind</a></div><div class="desc docblock-short">Which format to use for the date.</div></li><li><div class="item-name"><a class="enum" href="enum.FormattedComponents.html" title="enum actix_web::cookie::time::format_description::well_known::iso8601::FormattedComponents">FormattedComponents</a></div><div class="desc docblock-short">Which components to format.</div></li><li><div class="item-name"><a class="enum" href="enum.OffsetPrecision.html" title="enum actix_web::cookie::time::format_description::well_known::iso8601::OffsetPrecision">OffsetPrecision</a></div><div class="desc docblock-short">The precision for the UTC offset.</div></li><li><div class="item-name"><a class="enum" href="enum.TimePrecision.html" title="enum actix_web::cookie::time::format_description::well_known::iso8601::TimePrecision">TimePrecision</a></div><div class="desc docblock-short">The precision and number of decimal digits present for the time.</div></li></ul><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="type" href="type.EncodedConfig.html" title="type actix_web::cookie::time::format_description::well_known::iso8601::EncodedConfig">EncodedConfig</a></div><div class="desc docblock-short">An encoded <a href="struct.Config.html" title="struct actix_web::cookie::time::format_description::well_known::iso8601::Config"><code>Config</code></a> that can be used as a const parameter to <a href="../struct.Iso8601.html" title="struct actix_web::cookie::time::format_description::well_known::Iso8601"><code>Iso8601</code></a>.</div></li></ul></section></div></main></body></html>

View File

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"enum":["DateKind","FormattedComponents","OffsetPrecision","TimePrecision"],"struct":["Config","Iso8601"],"type":["EncodedConfig"]};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,4 @@
<!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="An encoded `Config` that can be used as a const parameter to `Iso8601`."><title>EncodedConfig in actix_web::cookie::time::format_description::well_known::iso8601 - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../../../../../" data-static-root-path="../../../../../../static.files/" data-current-crate="actix_web" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (bdbbb6c6a 2024-05-26)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc type"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../../../actix_web/index.html">actix_web</a><span class="version">4.6.0</span></h2></div><h2 class="location"><a href="#">EncodedConfig</a></h2><div class="sidebar-elems"><h2><a href="index.html">In actix_web::cookie::time::format_description::well_known::iso8601</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Type Alias <a href="../../../../../index.html">actix_web</a>::<wbr><a href="../../../../index.html">cookie</a>::<wbr><a href="../../../index.html">time</a>::<wbr><a href="../../index.html">format_description</a>::<wbr><a href="../index.html">well_known</a>::<wbr><a href="index.html">iso8601</a>::<wbr><a class="type" href="#">EncodedConfig</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub type EncodedConfig = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>;</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>cookies</code> and (crate features <code>formatting</code> or <code>parsing</code>)</strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>An encoded <a href="struct.Config.html" title="struct actix_web::cookie::time::format_description::well_known::iso8601::Config"><code>Config</code></a> that can be used as a const parameter to <a href="../struct.Iso8601.html" title="struct actix_web::cookie::time::format_description::well_known::Iso8601"><code>Iso8601</code></a>.</p>
<p>The type this is aliased to must not be relied upon. It can change in any release without
notice.</p>
</div></details></section></div></main></body></html>

View File

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"mod":["iso8601"],"struct":["Iso8601","Rfc2822","Rfc3339"]};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
<!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="Formatting for various types."><title>actix_web::cookie::time::formatting - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_web" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (bdbbb6c6a 2024-05-26)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_web/index.html">actix_web</a><span class="version">4.6.0</span></h2></div><h2 class="location"><a href="#">Module formatting</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#traits">Traits</a></li></ul></section><h2><a href="../index.html">In actix_web::cookie::time</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../index.html">actix_web</a>::<wbr><a href="../../index.html">cookie</a>::<wbr><a href="../index.html">time</a>::<wbr><a class="mod" href="#">formatting</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><span class="item-info"><div class="stab portability">Available on <strong>crate features <code>cookies</code> and <code>formatting</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Formatting for various types.</p>
</div></details><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.Formattable.html" title="trait actix_web::cookie::time::formatting::Formattable">Formattable</a></div><div class="desc docblock-short">A type that describes a format.</div></li></ul></section></div></main></body></html>

View File

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"trait":["Formattable"]};

View File

@ -0,0 +1,7 @@
<!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="A type that describes a format."><title>Formattable in actix_web::cookie::time::formatting - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_web" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (bdbbb6c6a 2024-05-26)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_web/index.html">actix_web</a><span class="version">4.6.0</span></h2></div><h2 class="location"><a href="#">Formattable</a></h2><div class="sidebar-elems"><section><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-Formattable-for-%5BBorrowedFormatItem%3C'_%3E%5D">[BorrowedFormatItem&lt;&#x27;_&gt;]</a></li><li><a href="#impl-Formattable-for-%5BOwnedFormatItem%5D">[OwnedFormatItem]</a></li></ul><h3><a href="#object-safety">Object Safety</a></h3><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In actix_web::cookie::time::formatting</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="../../../index.html">actix_web</a>::<wbr><a href="../../index.html">cookie</a>::<wbr><a href="../index.html">time</a>::<wbr><a href="index.html">formatting</a>::<wbr><a class="trait" href="#">Formattable</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub trait Formattable: Sealed { }</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate features <code>cookies</code> and <code>formatting</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A type that describes a format.</p>
<p>Implementors of <a href="trait.Formattable.html" title="trait actix_web::cookie::time::formatting::Formattable"><code>Formattable</code></a> are <a href="../format_description/index.html" title="mod actix_web::cookie::time::format_description">format descriptions</a>.</p>
<p><a href="../struct.Date.html#method.format" title="method actix_web::cookie::time::Date::format"><code>Date::format</code></a> and <a href="../struct.Time.html#method.format" title="method actix_web::cookie::time::Time::format"><code>Time::format</code></a> each use a format description to generate
a String from their data. See the respective methods for usage examples.</p>
</div></details><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><section id="impl-Formattable-for-%5BBorrowedFormatItem%3C'_%3E%5D" class="impl"><a href="#impl-Formattable-for-%5BBorrowedFormatItem%3C'_%3E%5D" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Formattable.html" title="trait actix_web::cookie::time::formatting::Formattable">Formattable</a> for [<a class="enum" href="../format_description/enum.FormatItem.html" title="enum actix_web::cookie::time::format_description::FormatItem">BorrowedFormatItem</a>&lt;'_&gt;]</h3></section><section id="impl-Formattable-for-%5BOwnedFormatItem%5D" class="impl"><a href="#impl-Formattable-for-%5BOwnedFormatItem%5D" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Formattable.html" title="trait actix_web::cookie::time::formatting::Formattable">Formattable</a> for [<a class="enum" href="../format_description/enum.OwnedFormatItem.html" title="enum actix_web::cookie::time::format_description::OwnedFormatItem">OwnedFormatItem</a>]</h3></section><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Formattable-for-BorrowedFormatItem%3C'_%3E" class="impl"><a href="#impl-Formattable-for-BorrowedFormatItem%3C'_%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Formattable.html" title="trait actix_web::cookie::time::formatting::Formattable">Formattable</a> for <a class="enum" href="../format_description/enum.FormatItem.html" title="enum actix_web::cookie::time::format_description::FormatItem">BorrowedFormatItem</a>&lt;'_&gt;</h3></section><section id="impl-Formattable-for-OwnedFormatItem" class="impl"><a href="#impl-Formattable-for-OwnedFormatItem" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Formattable.html" title="trait actix_web::cookie::time::formatting::Formattable">Formattable</a> for <a class="enum" href="../format_description/enum.OwnedFormatItem.html" title="enum actix_web::cookie::time::format_description::OwnedFormatItem">OwnedFormatItem</a></h3></section><section id="impl-Formattable-for-Rfc2822" class="impl"><a href="#impl-Formattable-for-Rfc2822" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Formattable.html" title="trait actix_web::cookie::time::formatting::Formattable">Formattable</a> for <a class="struct" href="../format_description/well_known/struct.Rfc2822.html" title="struct actix_web::cookie::time::format_description::well_known::Rfc2822">Rfc2822</a></h3></section><section id="impl-Formattable-for-Rfc3339" class="impl"><a href="#impl-Formattable-for-Rfc3339" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Formattable.html" title="trait actix_web::cookie::time::formatting::Formattable">Formattable</a> for <a class="struct" href="../format_description/well_known/struct.Rfc3339.html" title="struct actix_web::cookie::time::format_description::well_known::Rfc3339">Rfc3339</a></h3></section><section id="impl-Formattable-for-T" class="impl"><a href="#impl-Formattable-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Formattable.html" title="trait actix_web::cookie::time::formatting::Formattable">Formattable</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>,
&lt;T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a>: <a class="trait" href="trait.Formattable.html" title="trait actix_web::cookie::time::formatting::Formattable">Formattable</a>,</div></h3></section><section id="impl-Formattable-for-Iso8601%3CCONFIG%3E" class="impl"><a href="#impl-Formattable-for-Iso8601%3CCONFIG%3E" class="anchor">§</a><h3 class="code-header">impl&lt;const CONFIG: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>&gt; <a class="trait" href="trait.Formattable.html" title="trait actix_web::cookie::time::formatting::Formattable">Formattable</a> for <a class="struct" href="../format_description/well_known/struct.Iso8601.html" title="struct actix_web::cookie::time::format_description::well_known::Iso8601">Iso8601</a>&lt;CONFIG&gt;</h3></section></div><script src="../../../../trait.impl/time/formatting/formattable/trait.Formattable.js" data-ignore-extern-crates="std,time" async></script></section></div></main></body></html>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
<!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="Macros to construct statically known values."><title>actix_web::cookie::time::macros - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_web" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (bdbbb6c6a 2024-05-26)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_web/index.html">actix_web</a><span class="version">4.6.0</span></h2></div><h2 class="location"><a href="#">Module macros</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#macros">Macros</a></li></ul></section><h2><a href="../index.html">In actix_web::cookie::time</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../index.html">actix_web</a>::<wbr><a href="../../index.html">cookie</a>::<wbr><a href="../index.html">time</a>::<wbr><a class="mod" href="#">macros</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><span class="item-info"><div class="stab portability">Available on <strong>crate features <code>cookies</code> and <code>macros</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Macros to construct statically known values.</p>
</div></details><h2 id="macros" class="section-header">Macros<a href="#macros" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="macro" href="macro.date.html" title="macro actix_web::cookie::time::macros::date">date</a></div></li><li><div class="item-name"><a class="macro" href="macro.datetime.html" title="macro actix_web::cookie::time::macros::datetime">datetime</a></div></li><li><div class="item-name"><a class="macro" href="macro.format_description.html" title="macro actix_web::cookie::time::macros::format_description">format_description</a><span class="stab portability" title="Available on crate features `formatting` or `parsing` only"><code>formatting</code> or <code>parsing</code></span></div></li><li><div class="item-name"><a class="macro" href="macro.offset.html" title="macro actix_web::cookie::time::macros::offset">offset</a></div></li><li><div class="item-name"><a class="macro" href="macro.time.html" title="macro actix_web::cookie::time::macros::time">time</a></div></li></ul></section></div></main></body></html>

View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=macro.date.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="macro.date.html">macro.date.html</a>...</p>
<script>location.replace("macro.date.html" + location.search + location.hash);</script>
</body>
</html>

View File

@ -0,0 +1 @@
<!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 `date` macro in crate `actix_web`."><title>date in actix_web::cookie::time::macros - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_web" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (bdbbb6c6a 2024-05-26)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc macro"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_web/index.html">actix_web</a><span class="version">4.6.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In actix_web::cookie::time::macros</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Macro <a href="../../../index.html">actix_web</a>::<wbr><a href="../../index.html">cookie</a>::<wbr><a href="../index.html">time</a>::<wbr><a href="index.html">macros</a>::<wbr><a class="macro" href="#">date</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>date!() { <span class="comment">/* proc-macro */</span> }</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate features <code>cookies</code> and <code>macros</code></strong> only.</div></span></section></div></main></body></html>

View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=macro.datetime.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="macro.datetime.html">macro.datetime.html</a>...</p>
<script>location.replace("macro.datetime.html" + location.search + location.hash);</script>
</body>
</html>

View File

@ -0,0 +1 @@
<!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 `datetime` macro in crate `actix_web`."><title>datetime in actix_web::cookie::time::macros - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_web" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (bdbbb6c6a 2024-05-26)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc macro"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_web/index.html">actix_web</a><span class="version">4.6.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In actix_web::cookie::time::macros</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Macro <a href="../../../index.html">actix_web</a>::<wbr><a href="../../index.html">cookie</a>::<wbr><a href="../index.html">time</a>::<wbr><a href="index.html">macros</a>::<wbr><a class="macro" href="#">datetime</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>datetime!() { <span class="comment">/* proc-macro */</span> }</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate features <code>cookies</code> and <code>macros</code></strong> only.</div></span></section></div></main></body></html>

View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=macro.format_description.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="macro.format_description.html">macro.format_description.html</a>...</p>
<script>location.replace("macro.format_description.html" + location.search + location.hash);</script>
</body>
</html>

View File

@ -0,0 +1 @@
<!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 `format_description` macro in crate `actix_web`."><title>format_description in actix_web::cookie::time::macros - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_web" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (bdbbb6c6a 2024-05-26)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc macro"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_web/index.html">actix_web</a><span class="version">4.6.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In actix_web::cookie::time::macros</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Macro <a href="../../../index.html">actix_web</a>::<wbr><a href="../../index.html">cookie</a>::<wbr><a href="../index.html">time</a>::<wbr><a href="index.html">macros</a>::<wbr><a class="macro" href="#">format_description</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>format_description!() { <span class="comment">/* proc-macro */</span> }</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>cookies</code> and crate feature <code>macros</code> and (crate features <code>formatting</code> or <code>parsing</code>)</strong> only.</div></span></section></div></main></body></html>

View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=macro.offset.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="macro.offset.html">macro.offset.html</a>...</p>
<script>location.replace("macro.offset.html" + location.search + location.hash);</script>
</body>
</html>

View File

@ -0,0 +1 @@
<!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 `offset` macro in crate `actix_web`."><title>offset in actix_web::cookie::time::macros - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_web" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (bdbbb6c6a 2024-05-26)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc macro"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_web/index.html">actix_web</a><span class="version">4.6.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In actix_web::cookie::time::macros</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Macro <a href="../../../index.html">actix_web</a>::<wbr><a href="../../index.html">cookie</a>::<wbr><a href="../index.html">time</a>::<wbr><a href="index.html">macros</a>::<wbr><a class="macro" href="#">offset</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>offset!() { <span class="comment">/* proc-macro */</span> }</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate features <code>cookies</code> and <code>macros</code></strong> only.</div></span></section></div></main></body></html>

View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=macro.time.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="macro.time.html">macro.time.html</a>...</p>
<script>location.replace("macro.time.html" + location.search + location.hash);</script>
</body>
</html>

View File

@ -0,0 +1 @@
<!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 `time` macro in crate `actix_web`."><title>time in actix_web::cookie::time::macros - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_web" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (bdbbb6c6a 2024-05-26)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc macro"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_web/index.html">actix_web</a><span class="version">4.6.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In actix_web::cookie::time::macros</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Macro <a href="../../../index.html">actix_web</a>::<wbr><a href="../../index.html">cookie</a>::<wbr><a href="../index.html">time</a>::<wbr><a href="index.html">macros</a>::<wbr><a class="macro" href="#">time</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>time!() { <span class="comment">/* proc-macro */</span> }</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate features <code>cookies</code> and <code>macros</code></strong> only.</div></span></section></div></main></body></html>

View File

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"macro":["date","datetime","format_description","offset","time"]};

View File

@ -0,0 +1,2 @@
<!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="Parsing for various types."><title>actix_web::cookie::time::parsing - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_web" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (bdbbb6c6a 2024-05-26)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_web/index.html">actix_web</a><span class="version">4.6.0</span></h2></div><h2 class="location"><a href="#">Module parsing</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#traits">Traits</a></li></ul></section><h2><a href="../index.html">In actix_web::cookie::time</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../index.html">actix_web</a>::<wbr><a href="../../index.html">cookie</a>::<wbr><a href="../index.html">time</a>::<wbr><a class="mod" href="#">parsing</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><span class="item-info"><div class="stab portability">Available on <strong>crate features <code>cookies</code> and <code>parsing</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Parsing for various types.</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a></div><div class="desc docblock-short">All information parsed.</div></li></ul><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.Parsable.html" title="trait actix_web::cookie::time::parsing::Parsable">Parsable</a></div><div class="desc docblock-short">A type that can be parsed.</div></li></ul></section></div></main></body></html>

View File

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"struct":["Parsed"],"trait":["Parsable"]};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,4 @@
<!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="A type that can be parsed."><title>Parsable in actix_web::cookie::time::parsing - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_web" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (bdbbb6c6a 2024-05-26)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_web/index.html">actix_web</a><span class="version">4.6.0</span></h2></div><h2 class="location"><a href="#">Parsable</a></h2><div class="sidebar-elems"><section><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-Parsable-for-%5BBorrowedFormatItem%3C'_%3E%5D">[BorrowedFormatItem&lt;&#x27;_&gt;]</a></li><li><a href="#impl-Parsable-for-%5BOwnedFormatItem%5D">[OwnedFormatItem]</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In actix_web::cookie::time::parsing</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="../../../index.html">actix_web</a>::<wbr><a href="../../index.html">cookie</a>::<wbr><a href="../index.html">time</a>::<wbr><a href="index.html">parsing</a>::<wbr><a class="trait" href="#">Parsable</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub trait Parsable: Sealed { }</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate features <code>cookies</code> and <code>parsing</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A type that can be parsed.</p>
</div></details><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><section id="impl-Parsable-for-%5BBorrowedFormatItem%3C'_%3E%5D" class="impl"><a href="#impl-Parsable-for-%5BBorrowedFormatItem%3C'_%3E%5D" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Parsable.html" title="trait actix_web::cookie::time::parsing::Parsable">Parsable</a> for [<a class="enum" href="../format_description/enum.FormatItem.html" title="enum actix_web::cookie::time::format_description::FormatItem">BorrowedFormatItem</a>&lt;'_&gt;]</h3></section><section id="impl-Parsable-for-%5BOwnedFormatItem%5D" class="impl"><a href="#impl-Parsable-for-%5BOwnedFormatItem%5D" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Parsable.html" title="trait actix_web::cookie::time::parsing::Parsable">Parsable</a> for [<a class="enum" href="../format_description/enum.OwnedFormatItem.html" title="enum actix_web::cookie::time::format_description::OwnedFormatItem">OwnedFormatItem</a>]</h3><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>alloc</code></strong> only.</div></span></section><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Parsable-for-BorrowedFormatItem%3C'_%3E" class="impl"><a href="#impl-Parsable-for-BorrowedFormatItem%3C'_%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Parsable.html" title="trait actix_web::cookie::time::parsing::Parsable">Parsable</a> for <a class="enum" href="../format_description/enum.FormatItem.html" title="enum actix_web::cookie::time::format_description::FormatItem">BorrowedFormatItem</a>&lt;'_&gt;</h3></section><section id="impl-Parsable-for-OwnedFormatItem" class="impl"><a href="#impl-Parsable-for-OwnedFormatItem" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Parsable.html" title="trait actix_web::cookie::time::parsing::Parsable">Parsable</a> for <a class="enum" href="../format_description/enum.OwnedFormatItem.html" title="enum actix_web::cookie::time::format_description::OwnedFormatItem">OwnedFormatItem</a></h3><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>alloc</code></strong> only.</div></span></section><section id="impl-Parsable-for-Rfc2822" class="impl"><a href="#impl-Parsable-for-Rfc2822" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Parsable.html" title="trait actix_web::cookie::time::parsing::Parsable">Parsable</a> for <a class="struct" href="../format_description/well_known/struct.Rfc2822.html" title="struct actix_web::cookie::time::format_description::well_known::Rfc2822">Rfc2822</a></h3></section><section id="impl-Parsable-for-Rfc3339" class="impl"><a href="#impl-Parsable-for-Rfc3339" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Parsable.html" title="trait actix_web::cookie::time::parsing::Parsable">Parsable</a> for <a class="struct" href="../format_description/well_known/struct.Rfc3339.html" title="struct actix_web::cookie::time::format_description::well_known::Rfc3339">Rfc3339</a></h3></section><section id="impl-Parsable-for-T" class="impl"><a href="#impl-Parsable-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Parsable.html" title="trait actix_web::cookie::time::parsing::Parsable">Parsable</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>,
&lt;T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a>: <a class="trait" href="trait.Parsable.html" title="trait actix_web::cookie::time::parsing::Parsable">Parsable</a>,</div></h3></section><section id="impl-Parsable-for-Iso8601%3CCONFIG%3E" class="impl"><a href="#impl-Parsable-for-Iso8601%3CCONFIG%3E" class="anchor">§</a><h3 class="code-header">impl&lt;const CONFIG: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>&gt; <a class="trait" href="trait.Parsable.html" title="trait actix_web::cookie::time::parsing::Parsable">Parsable</a> for <a class="struct" href="../format_description/well_known/struct.Iso8601.html" title="struct actix_web::cookie::time::format_description::well_known::Iso8601">Iso8601</a>&lt;CONFIG&gt;</h3></section></div><script src="../../../../trait.impl/time/parsing/parsable/trait.Parsable.js" data-ignore-extern-crates="std,time" async></script></section></div></main></body></html>

View File

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"enum":["Error","Month","Weekday"],"mod":["convert","error","ext","format_description","formatting","macros","parsing","util"],"struct":["Date","Duration","Instant","OffsetDateTime","PrimitiveDateTime","Time","UtcOffset"],"type":["Result"]};

Some files were not shown because too many files have changed in this diff Show More