mirror of
https://github.com/fafhrd91/actix-web
synced 2025-01-19 22:24:40 +01:00
125 lines
98 KiB
HTML
125 lines
98 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="All information parsed."><title>Parsed 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 struct"><!--[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="#">Parsed</a></h2><div class="sidebar-elems"><section><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.day">day</a></li><li><a href="#method.hour_12">hour_12</a></li><li><a href="#method.hour_12_is_pm">hour_12_is_pm</a></li><li><a href="#method.hour_24">hour_24</a></li><li><a href="#method.iso_week_number">iso_week_number</a></li><li><a href="#method.iso_year">iso_year</a></li><li><a href="#method.iso_year_last_two">iso_year_last_two</a></li><li><a href="#method.minute">minute</a></li><li><a href="#method.monday_week_number">monday_week_number</a></li><li><a href="#method.month">month</a></li><li><a href="#method.new">new</a></li><li><a href="#method.offset_hour">offset_hour</a></li><li><a href="#method.offset_minute_signed">offset_minute_signed</a></li><li><a href="#method.offset_second_signed">offset_second_signed</a></li><li><a href="#method.ordinal">ordinal</a></li><li><a href="#method.parse_component">parse_component</a></li><li><a href="#method.parse_item">parse_item</a></li><li><a href="#method.parse_items">parse_items</a></li><li><a href="#method.parse_literal">parse_literal</a></li><li><a href="#method.second">second</a></li><li><a href="#method.set_day">set_day</a></li><li><a href="#method.set_hour_12">set_hour_12</a></li><li><a href="#method.set_hour_12_is_pm">set_hour_12_is_pm</a></li><li><a href="#method.set_hour_24">set_hour_24</a></li><li><a href="#method.set_iso_week_number">set_iso_week_number</a></li><li><a href="#method.set_iso_year">set_iso_year</a></li><li><a href="#method.set_iso_year_last_two">set_iso_year_last_two</a></li><li><a href="#method.set_minute">set_minute</a></li><li><a href="#method.set_monday_week_number">set_monday_week_number</a></li><li><a href="#method.set_month">set_month</a></li><li><a href="#method.set_offset_hour">set_offset_hour</a></li><li><a href="#method.set_offset_minute_signed">set_offset_minute_signed</a></li><li><a href="#method.set_offset_second_signed">set_offset_second_signed</a></li><li><a href="#method.set_ordinal">set_ordinal</a></li><li><a href="#method.set_second">set_second</a></li><li><a href="#method.set_subsecond">set_subsecond</a></li><li><a href="#method.set_sunday_week_number">set_sunday_week_number</a></li><li><a href="#method.set_unix_timestamp_nanos">set_unix_timestamp_nanos</a></li><li><a href="#method.set_weekday">set_weekday</a></li><li><a href="#method.set_year">set_year</a></li><li><a href="#method.set_year_last_two">set_year_last_two</a></li><li><a href="#method.subsecond">subsecond</a></li><li><a href="#method.sunday_week_number">sunday_week_number</a></li><li><a href="#method.unix_timestamp_nanos">unix_timestamp_nanos</a></li><li><a href="#method.weekday">weekday</a></li><li><a href="#method.with_day">with_day</a></li><li><a href="#method.with_hour_12">with_hour_12</a></li><li><a href="#method.with_hour_12_is_pm">with_hour_12_is_pm</a></li><li><a href="#method.with_hour_24">with_hour_24</a></li><li><a href="#method.with_iso_week_number">with_iso_week_number</a></li><li><a href="#method.with_iso_year">with_iso_year</a></li><li><a href="#method.with_iso_year_last_two">with_iso_year_last_two</a></li><li><a href="#method.with_minute">with_minute</a></li><li><a href="#method.with_monday_week_number">with_monday_week_number</a></li><li><a href="#method.with_month">with_month</a></li><li><a href="#method.with_offset_hour">with_offset_hour</a></li><li><a href="#method.with_offset_minute_signed">with_offset_minute_signed</a></li><li><a href="#method.with_offset_second_signed">with_offset_second_signed</a></li><li><a href="#method.with_ordinal">with_ordinal</a></li><li><a href="#method.with_second">with_second</a></li><li><a href="#method.with_subsecond">with_subsecond</a></li><li><a href="#method.with_sunday_week_number">with_sunday_week_number</a></li><li><a href="#method.with_unix_timestamp_nanos">with_unix_timestamp_nanos</a></li><li><a href="#method.with_weekday">with_weekday</a></li><li><a href="#method.with_year">with_year</a></li><li><a href="#method.with_year_last_two">with_year_last_two</a></li><li><a href="#method.year">year</a></li><li><a href="#method.year_last_two">year_last_two</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Clone-for-Parsed">Clone</a></li><li><a href="#impl-Copy-for-Parsed">Copy</a></li><li><a href="#impl-Debug-for-Parsed">Debug</a></li><li><a href="#impl-Default-for-Parsed">Default</a></li><li><a href="#impl-TryFrom%3CParsed%3E-for-Date">TryFrom<Parsed></a></li><li><a href="#impl-TryFrom%3CParsed%3E-for-OffsetDateTime">TryFrom<Parsed></a></li><li><a href="#impl-TryFrom%3CParsed%3E-for-PrimitiveDateTime">TryFrom<Parsed></a></li><li><a href="#impl-TryFrom%3CParsed%3E-for-Time">TryFrom<Parsed></a></li><li><a href="#impl-TryFrom%3CParsed%3E-for-UtcOffset">TryFrom<Parsed></a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-Parsed">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-Parsed">RefUnwindSafe</a></li><li><a href="#impl-Send-for-Parsed">Send</a></li><li><a href="#impl-Sync-for-Parsed">Sync</a></li><li><a href="#impl-Unpin-for-Parsed">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Parsed">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut<T></a></li><li><a href="#impl-From%3CT%3E-for-T">From<T></a></li><li><a href="#impl-Instrument-for-T">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into<U></a></li><li><a href="#impl-Same-for-T">Same</a></li><li><a href="#impl-ToOwned-for-T">ToOwned</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto<U></a></li><li><a href="#impl-VZip%3CV%3E-for-T">VZip<V></a></li><li><a href="#impl-WithSubscriber-for-T">WithSubscriber</a></li></ul></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>Struct <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="struct" href="#">Parsed</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>−</span>]</button></span></div><pre class="rust item-decl"><code>pub struct Parsed { <span class="comment">/* private fields */</span> }</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>All information parsed.</p>
|
|
<p>This information is directly used to construct the final values.</p>
|
|
<p>Most users will not need think about this struct in any way. It is public to allow for manual
|
|
control over values, in the instance that the default parser is insufficient.</p>
|
|
</div></details><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Parsed" class="impl"><a href="#impl-Parsed" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.new" class="method"><h4 class="code-header">pub const fn <a href="#method.new" class="fn">new</a>() -> <a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a></h4></section></summary><div class="docblock"><p>Create a new instance of <code>Parsed</code> with no information known.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.parse_item" class="method"><h4 class="code-header">pub fn <a href="#method.parse_item" class="fn">parse_item</a><'a>(
|
|
&mut self,
|
|
input: &'a [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>],
|
|
item: &impl AnyFormatItem
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><&'a [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>], <a class="enum" href="../error/enum.ParseFromDescription.html" title="enum actix_web::cookie::time::error::ParseFromDescription">ParseFromDescription</a>></h4></section></summary><div class="docblock"><p>Parse a single <a href="../format_description/enum.FormatItem.html" title="enum actix_web::cookie::time::format_description::FormatItem"><code>BorrowedFormatItem</code></a> or <a href="../format_description/enum.OwnedFormatItem.html" title="enum actix_web::cookie::time::format_description::OwnedFormatItem"><code>OwnedFormatItem</code></a>, mutating the struct. The
|
|
remaining input is returned as the <code>Ok</code> value.</p>
|
|
<p>If a <a href="../format_description/enum.FormatItem.html#variant.Optional" title="variant actix_web::cookie::time::format_description::FormatItem::Optional"><code>BorrowedFormatItem::Optional</code></a> or <a href="../format_description/enum.OwnedFormatItem.html#variant.Optional" title="variant actix_web::cookie::time::format_description::OwnedFormatItem::Optional"><code>OwnedFormatItem::Optional</code></a> is passed, parsing
|
|
will not fail; the input will be returned as-is if the expected format is not present.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.parse_items" class="method"><h4 class="code-header">pub fn <a href="#method.parse_items" class="fn">parse_items</a><'a>(
|
|
&mut self,
|
|
input: &'a [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>],
|
|
items: &[impl AnyFormatItem]
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><&'a [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>], <a class="enum" href="../error/enum.ParseFromDescription.html" title="enum actix_web::cookie::time::error::ParseFromDescription">ParseFromDescription</a>></h4></section></summary><div class="docblock"><p>Parse a sequence of <a href="../format_description/enum.FormatItem.html" title="enum actix_web::cookie::time::format_description::FormatItem"><code>BorrowedFormatItem</code></a>s or <a href="../format_description/enum.OwnedFormatItem.html" title="enum actix_web::cookie::time::format_description::OwnedFormatItem"><code>OwnedFormatItem</code></a>s, mutating the struct.
|
|
The remaining input is returned as the <code>Ok</code> value.</p>
|
|
<p>This method will fail if any of the contained <a href="../format_description/enum.FormatItem.html" title="enum actix_web::cookie::time::format_description::FormatItem"><code>BorrowedFormatItem</code></a>s or
|
|
<a href="../format_description/enum.OwnedFormatItem.html" title="enum actix_web::cookie::time::format_description::OwnedFormatItem"><code>OwnedFormatItem</code></a>s fail to parse. <code>self</code> will not be mutated in this instance.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.parse_literal" class="method"><h4 class="code-header">pub fn <a href="#method.parse_literal" class="fn">parse_literal</a><'a>(
|
|
input: &'a [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>],
|
|
literal: &[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><&'a [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>], <a class="enum" href="../error/enum.ParseFromDescription.html" title="enum actix_web::cookie::time::error::ParseFromDescription">ParseFromDescription</a>></h4></section></summary><div class="docblock"><p>Parse a literal byte sequence. The remaining input is returned as the <code>Ok</code> value.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.parse_component" class="method"><h4 class="code-header">pub fn <a href="#method.parse_component" class="fn">parse_component</a><'a>(
|
|
&mut self,
|
|
input: &'a [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>],
|
|
component: <a class="enum" href="../format_description/enum.Component.html" title="enum actix_web::cookie::time::format_description::Component">Component</a>
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><&'a [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>], <a class="enum" href="../error/enum.ParseFromDescription.html" title="enum actix_web::cookie::time::error::ParseFromDescription">ParseFromDescription</a>></h4></section></summary><div class="docblock"><p>Parse a single component, mutating the struct. The remaining input is returned as the <code>Ok</code>
|
|
value.</p>
|
|
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Parsed-1" class="impl"><a href="#impl-Parsed-1" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a></h3></section></summary><div class="docblock"><p>Getter methods</p>
|
|
</div><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.year" class="method"><h4 class="code-header">pub const fn <a href="#method.year" class="fn">year</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>></h4></section></summary><div class="docblock"><p>Obtain the <code>year</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.year_last_two" class="method"><h4 class="code-header">pub const fn <a href="#method.year_last_two" class="fn">year_last_two</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>></h4></section></summary><div class="docblock"><p>Obtain the <code>year_last_two</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.iso_year" class="method"><h4 class="code-header">pub const fn <a href="#method.iso_year" class="fn">iso_year</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>></h4></section></summary><div class="docblock"><p>Obtain the <code>iso_year</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.iso_year_last_two" class="method"><h4 class="code-header">pub const fn <a href="#method.iso_year_last_two" class="fn">iso_year_last_two</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>></h4></section></summary><div class="docblock"><p>Obtain the <code>iso_year_last_two</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.month" class="method"><h4 class="code-header">pub const fn <a href="#method.month" class="fn">month</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="../enum.Month.html" title="enum actix_web::cookie::time::Month">Month</a>></h4></section></summary><div class="docblock"><p>Obtain the <code>month</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.sunday_week_number" class="method"><h4 class="code-header">pub const fn <a href="#method.sunday_week_number" class="fn">sunday_week_number</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>></h4></section></summary><div class="docblock"><p>Obtain the <code>sunday_week_number</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.monday_week_number" class="method"><h4 class="code-header">pub const fn <a href="#method.monday_week_number" class="fn">monday_week_number</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>></h4></section></summary><div class="docblock"><p>Obtain the <code>monday_week_number</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.iso_week_number" class="method"><h4 class="code-header">pub const fn <a href="#method.iso_week_number" class="fn">iso_week_number</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>></h4></section></summary><div class="docblock"><p>Obtain the <code>iso_week_number</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.weekday" class="method"><h4 class="code-header">pub const fn <a href="#method.weekday" class="fn">weekday</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="../enum.Weekday.html" title="enum actix_web::cookie::time::Weekday">Weekday</a>></h4></section></summary><div class="docblock"><p>Obtain the <code>weekday</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.ordinal" class="method"><h4 class="code-header">pub const fn <a href="#method.ordinal" class="fn">ordinal</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>>></h4></section></summary><div class="docblock"><p>Obtain the <code>ordinal</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.day" class="method"><h4 class="code-header">pub const fn <a href="#method.day" class="fn">day</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>></h4></section></summary><div class="docblock"><p>Obtain the <code>day</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.hour_24" class="method"><h4 class="code-header">pub const fn <a href="#method.hour_24" class="fn">hour_24</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>></h4></section></summary><div class="docblock"><p>Obtain the <code>hour_24</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.hour_12" class="method"><h4 class="code-header">pub const fn <a href="#method.hour_12" class="fn">hour_12</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>></h4></section></summary><div class="docblock"><p>Obtain the <code>hour_12</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.hour_12_is_pm" class="method"><h4 class="code-header">pub const fn <a href="#method.hour_12_is_pm" class="fn">hour_12_is_pm</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>></h4></section></summary><div class="docblock"><p>Obtain the <code>hour_12_is_pm</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.minute" class="method"><h4 class="code-header">pub const fn <a href="#method.minute" class="fn">minute</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>></h4></section></summary><div class="docblock"><p>Obtain the <code>minute</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.second" class="method"><h4 class="code-header">pub const fn <a href="#method.second" class="fn">second</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>></h4></section></summary><div class="docblock"><p>Obtain the <code>second</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.subsecond" class="method"><h4 class="code-header">pub const fn <a href="#method.subsecond" class="fn">subsecond</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>></h4></section></summary><div class="docblock"><p>Obtain the <code>subsecond</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.offset_hour" class="method"><h4 class="code-header">pub const fn <a href="#method.offset_hour" class="fn">offset_hour</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>></h4></section></summary><div class="docblock"><p>Obtain the <code>offset_hour</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.offset_minute_signed" class="method"><h4 class="code-header">pub const fn <a href="#method.offset_minute_signed" class="fn">offset_minute_signed</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>></h4></section></summary><div class="docblock"><p>Obtain the <code>offset_minute</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.offset_second_signed" class="method"><h4 class="code-header">pub const fn <a href="#method.offset_second_signed" class="fn">offset_second_signed</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>></h4></section></summary><div class="docblock"><p>Obtain the <code>offset_second</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.unix_timestamp_nanos" class="method"><h4 class="code-header">pub const fn <a href="#method.unix_timestamp_nanos" class="fn">unix_timestamp_nanos</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>></h4></section></summary><div class="docblock"><p>Obtain the <code>unix_timestamp_nanos</code> component.</p>
|
|
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Parsed-2" class="impl"><a href="#impl-Parsed-2" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a></h3></section></summary><div class="docblock"><p>Setter methods</p>
|
|
<p>All setters return <code>Option<()></code>, which is <code>Some</code> if the value was set, and <code>None</code> if not. The
|
|
setters <em>may</em> fail if the value is invalid, though behavior is not guaranteed.</p>
|
|
</div><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.set_year" class="method"><h4 class="code-header">pub fn <a href="#method.set_year" class="fn">set_year</a>(&mut self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></h4></section></summary><div class="docblock"><p>Set the <code>set_year</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.set_year_last_two" class="method"><h4 class="code-header">pub fn <a href="#method.set_year_last_two" class="fn">set_year_last_two</a>(&mut self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></h4></section></summary><div class="docblock"><p>Set the <code>set_year_last_two</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.set_iso_year" class="method"><h4 class="code-header">pub fn <a href="#method.set_iso_year" class="fn">set_iso_year</a>(&mut self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></h4></section></summary><div class="docblock"><p>Set the <code>set_iso_year</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.set_iso_year_last_two" class="method"><h4 class="code-header">pub fn <a href="#method.set_iso_year_last_two" class="fn">set_iso_year_last_two</a>(&mut self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></h4></section></summary><div class="docblock"><p>Set the <code>set_iso_year_last_two</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.set_month" class="method"><h4 class="code-header">pub fn <a href="#method.set_month" class="fn">set_month</a>(&mut self, value: <a class="enum" href="../enum.Month.html" title="enum actix_web::cookie::time::Month">Month</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></h4></section></summary><div class="docblock"><p>Set the <code>set_month</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.set_sunday_week_number" class="method"><h4 class="code-header">pub fn <a href="#method.set_sunday_week_number" class="fn">set_sunday_week_number</a>(&mut self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></h4></section></summary><div class="docblock"><p>Set the <code>set_sunday_week_number</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.set_monday_week_number" class="method"><h4 class="code-header">pub fn <a href="#method.set_monday_week_number" class="fn">set_monday_week_number</a>(&mut self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></h4></section></summary><div class="docblock"><p>Set the <code>set_monday_week_number</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.set_iso_week_number" class="method"><h4 class="code-header">pub fn <a href="#method.set_iso_week_number" class="fn">set_iso_week_number</a>(&mut self, value: <a class="struct" href="https://doc.rust-lang.org/nightly/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></h4></section></summary><div class="docblock"><p>Set the <code>set_iso_week_number</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.set_weekday" class="method"><h4 class="code-header">pub fn <a href="#method.set_weekday" class="fn">set_weekday</a>(&mut self, value: <a class="enum" href="../enum.Weekday.html" title="enum actix_web::cookie::time::Weekday">Weekday</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></h4></section></summary><div class="docblock"><p>Set the <code>set_weekday</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.set_ordinal" class="method"><h4 class="code-header">pub fn <a href="#method.set_ordinal" class="fn">set_ordinal</a>(&mut self, value: <a class="struct" href="https://doc.rust-lang.org/nightly/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></h4></section></summary><div class="docblock"><p>Set the <code>set_ordinal</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.set_day" class="method"><h4 class="code-header">pub fn <a href="#method.set_day" class="fn">set_day</a>(&mut self, value: <a class="struct" href="https://doc.rust-lang.org/nightly/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></h4></section></summary><div class="docblock"><p>Set the <code>set_day</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.set_hour_24" class="method"><h4 class="code-header">pub fn <a href="#method.set_hour_24" class="fn">set_hour_24</a>(&mut self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></h4></section></summary><div class="docblock"><p>Set the <code>set_hour_24</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.set_hour_12" class="method"><h4 class="code-header">pub fn <a href="#method.set_hour_12" class="fn">set_hour_12</a>(&mut self, value: <a class="struct" href="https://doc.rust-lang.org/nightly/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></h4></section></summary><div class="docblock"><p>Set the <code>set_hour_12</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.set_hour_12_is_pm" class="method"><h4 class="code-header">pub fn <a href="#method.set_hour_12_is_pm" class="fn">set_hour_12_is_pm</a>(&mut self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></h4></section></summary><div class="docblock"><p>Set the <code>set_hour_12_is_pm</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.set_minute" class="method"><h4 class="code-header">pub fn <a href="#method.set_minute" class="fn">set_minute</a>(&mut self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></h4></section></summary><div class="docblock"><p>Set the <code>set_minute</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.set_second" class="method"><h4 class="code-header">pub fn <a href="#method.set_second" class="fn">set_second</a>(&mut self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></h4></section></summary><div class="docblock"><p>Set the <code>set_second</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.set_subsecond" class="method"><h4 class="code-header">pub fn <a href="#method.set_subsecond" class="fn">set_subsecond</a>(&mut self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></h4></section></summary><div class="docblock"><p>Set the <code>set_subsecond</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.set_offset_hour" class="method"><h4 class="code-header">pub fn <a href="#method.set_offset_hour" class="fn">set_offset_hour</a>(&mut self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></h4></section></summary><div class="docblock"><p>Set the <code>set_offset_hour</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.set_offset_minute_signed" class="method"><h4 class="code-header">pub fn <a href="#method.set_offset_minute_signed" class="fn">set_offset_minute_signed</a>(&mut self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></h4></section></summary><div class="docblock"><p>Set the <code>set_offset_minute_signed</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.set_offset_second_signed" class="method"><h4 class="code-header">pub fn <a href="#method.set_offset_second_signed" class="fn">set_offset_second_signed</a>(&mut self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></h4></section></summary><div class="docblock"><p>Set the <code>set_offset_second_signed</code> component.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.set_unix_timestamp_nanos" class="method"><h4 class="code-header">pub fn <a href="#method.set_unix_timestamp_nanos" class="fn">set_unix_timestamp_nanos</a>(&mut self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></h4></section></summary><div class="docblock"><p>Set the <code>set_unix_timestamp_nanos</code> component.</p>
|
|
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Parsed-3" class="impl"><a href="#impl-Parsed-3" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a></h3></section></summary><div class="docblock"><p>Builder methods</p>
|
|
<p>All builder methods return <code>Option<Self></code>, which is <code>Some</code> if the value was set, and <code>None</code> if
|
|
not. The builder methods <em>may</em> fail if the value is invalid, though behavior is not guaranteed.</p>
|
|
</div><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.with_year" class="method"><h4 class="code-header">pub const fn <a href="#method.with_year" class="fn">with_year</a>(self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>></h4></section></summary><div class="docblock"><p>Set the <code>year</code> component and return <code>self</code>.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.with_year_last_two" class="method"><h4 class="code-header">pub const fn <a href="#method.with_year_last_two" class="fn">with_year_last_two</a>(self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>></h4></section></summary><div class="docblock"><p>Set the <code>year_last_two</code> component and return <code>self</code>.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.with_iso_year" class="method"><h4 class="code-header">pub const fn <a href="#method.with_iso_year" class="fn">with_iso_year</a>(self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>></h4></section></summary><div class="docblock"><p>Set the <code>iso_year</code> component and return <code>self</code>.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.with_iso_year_last_two" class="method"><h4 class="code-header">pub const fn <a href="#method.with_iso_year_last_two" class="fn">with_iso_year_last_two</a>(self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>></h4></section></summary><div class="docblock"><p>Set the <code>iso_year_last_two</code> component and return <code>self</code>.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.with_month" class="method"><h4 class="code-header">pub const fn <a href="#method.with_month" class="fn">with_month</a>(self, value: <a class="enum" href="../enum.Month.html" title="enum actix_web::cookie::time::Month">Month</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>></h4></section></summary><div class="docblock"><p>Set the <code>month</code> component and return <code>self</code>.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.with_sunday_week_number" class="method"><h4 class="code-header">pub const fn <a href="#method.with_sunday_week_number" class="fn">with_sunday_week_number</a>(self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>></h4></section></summary><div class="docblock"><p>Set the <code>sunday_week_number</code> component and return <code>self</code>.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.with_monday_week_number" class="method"><h4 class="code-header">pub const fn <a href="#method.with_monday_week_number" class="fn">with_monday_week_number</a>(self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>></h4></section></summary><div class="docblock"><p>Set the <code>monday_week_number</code> component and return <code>self</code>.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.with_iso_week_number" class="method"><h4 class="code-header">pub const fn <a href="#method.with_iso_week_number" class="fn">with_iso_week_number</a>(self, value: <a class="struct" href="https://doc.rust-lang.org/nightly/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>></h4></section></summary><div class="docblock"><p>Set the <code>iso_week_number</code> component and return <code>self</code>.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.with_weekday" class="method"><h4 class="code-header">pub const fn <a href="#method.with_weekday" class="fn">with_weekday</a>(self, value: <a class="enum" href="../enum.Weekday.html" title="enum actix_web::cookie::time::Weekday">Weekday</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>></h4></section></summary><div class="docblock"><p>Set the <code>weekday</code> component and return <code>self</code>.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.with_ordinal" class="method"><h4 class="code-header">pub const fn <a href="#method.with_ordinal" class="fn">with_ordinal</a>(self, value: <a class="struct" href="https://doc.rust-lang.org/nightly/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>></h4></section></summary><div class="docblock"><p>Set the <code>ordinal</code> component and return <code>self</code>.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.with_day" class="method"><h4 class="code-header">pub const fn <a href="#method.with_day" class="fn">with_day</a>(self, value: <a class="struct" href="https://doc.rust-lang.org/nightly/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>></h4></section></summary><div class="docblock"><p>Set the <code>day</code> component and return <code>self</code>.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.with_hour_24" class="method"><h4 class="code-header">pub const fn <a href="#method.with_hour_24" class="fn">with_hour_24</a>(self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>></h4></section></summary><div class="docblock"><p>Set the <code>hour_24</code> component and return <code>self</code>.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.with_hour_12" class="method"><h4 class="code-header">pub const fn <a href="#method.with_hour_12" class="fn">with_hour_12</a>(self, value: <a class="struct" href="https://doc.rust-lang.org/nightly/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>></h4></section></summary><div class="docblock"><p>Set the <code>hour_12</code> component and return <code>self</code>.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.with_hour_12_is_pm" class="method"><h4 class="code-header">pub const fn <a href="#method.with_hour_12_is_pm" class="fn">with_hour_12_is_pm</a>(self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>></h4></section></summary><div class="docblock"><p>Set the <code>hour_12_is_pm</code> component and return <code>self</code>.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.with_minute" class="method"><h4 class="code-header">pub const fn <a href="#method.with_minute" class="fn">with_minute</a>(self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>></h4></section></summary><div class="docblock"><p>Set the <code>minute</code> component and return <code>self</code>.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.with_second" class="method"><h4 class="code-header">pub const fn <a href="#method.with_second" class="fn">with_second</a>(self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>></h4></section></summary><div class="docblock"><p>Set the <code>second</code> component and return <code>self</code>.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.with_subsecond" class="method"><h4 class="code-header">pub const fn <a href="#method.with_subsecond" class="fn">with_subsecond</a>(self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>></h4></section></summary><div class="docblock"><p>Set the <code>subsecond</code> component and return <code>self</code>.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.with_offset_hour" class="method"><h4 class="code-header">pub const fn <a href="#method.with_offset_hour" class="fn">with_offset_hour</a>(self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>></h4></section></summary><div class="docblock"><p>Set the <code>offset_hour</code> component and return <code>self</code>.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.with_offset_minute_signed" class="method"><h4 class="code-header">pub const fn <a href="#method.with_offset_minute_signed" class="fn">with_offset_minute_signed</a>(self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>></h4></section></summary><div class="docblock"><p>Set the <code>offset_minute</code> component and return <code>self</code>.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.with_offset_second_signed" class="method"><h4 class="code-header">pub const fn <a href="#method.with_offset_second_signed" class="fn">with_offset_second_signed</a>(self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>></h4></section></summary><div class="docblock"><p>Set the <code>offset_second</code> component and return <code>self</code>.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.with_unix_timestamp_nanos" class="method"><h4 class="code-header">pub const fn <a href="#method.with_unix_timestamp_nanos" class="fn">with_unix_timestamp_nanos</a>(self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>></h4></section></summary><div class="docblock"><p>Set the <code>unix_timestamp_nanos</code> component and return <code>self</code>.</p>
|
|
</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-Parsed" class="impl"><a href="#impl-Clone-for-Parsed" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> <a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a></h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#169">source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Self</a>)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-Parsed" class="impl"><a href="#impl-Debug-for-Parsed" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Default-for-Parsed" class="impl"><a href="#impl-Default-for-Parsed" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.default" class="method trait-impl"><a href="#method.default" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default" class="fn">default</a>() -> <a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a></h4></section></summary><div class='docblock'>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-TryFrom%3CParsed%3E-for-Date" class="impl"><a href="#impl-TryFrom%3CParsed%3E-for-Date" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>> for <a class="struct" href="../struct.Date.html" title="struct actix_web::cookie::time::Date">Date</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="../error/enum.TryFromParsed.html" title="enum actix_web::cookie::time::error::TryFromParsed">TryFromParsed</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(parsed: <a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../struct.Date.html" title="struct actix_web::cookie::time::Date">Date</a>, <<a class="struct" href="../struct.Date.html" title="struct actix_web::cookie::time::Date">Date</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-TryFrom%3CParsed%3E-for-OffsetDateTime" class="impl"><a href="#impl-TryFrom%3CParsed%3E-for-OffsetDateTime" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>> for <a class="struct" href="../struct.OffsetDateTime.html" title="struct actix_web::cookie::time::OffsetDateTime">OffsetDateTime</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-3" class="associatedtype trait-impl"><a href="#associatedtype.Error-3" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="../error/enum.TryFromParsed.html" title="enum actix_web::cookie::time::error::TryFromParsed">TryFromParsed</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from-3" class="method trait-impl"><a href="#method.try_from-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(
|
|
parsed: <a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../struct.OffsetDateTime.html" title="struct actix_web::cookie::time::OffsetDateTime">OffsetDateTime</a>, <<a class="struct" href="../struct.OffsetDateTime.html" title="struct actix_web::cookie::time::OffsetDateTime">OffsetDateTime</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-TryFrom%3CParsed%3E-for-PrimitiveDateTime" class="impl"><a href="#impl-TryFrom%3CParsed%3E-for-PrimitiveDateTime" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>> for <a class="struct" href="../struct.PrimitiveDateTime.html" title="struct actix_web::cookie::time::PrimitiveDateTime">PrimitiveDateTime</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="../error/enum.TryFromParsed.html" title="enum actix_web::cookie::time::error::TryFromParsed">TryFromParsed</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from-1" class="method trait-impl"><a href="#method.try_from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(
|
|
parsed: <a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../struct.PrimitiveDateTime.html" title="struct actix_web::cookie::time::PrimitiveDateTime">PrimitiveDateTime</a>, <<a class="struct" href="../struct.PrimitiveDateTime.html" title="struct actix_web::cookie::time::PrimitiveDateTime">PrimitiveDateTime</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-TryFrom%3CParsed%3E-for-Time" class="impl"><a href="#impl-TryFrom%3CParsed%3E-for-Time" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>> for <a class="struct" href="../struct.Time.html" title="struct actix_web::cookie::time::Time">Time</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-2" class="associatedtype trait-impl"><a href="#associatedtype.Error-2" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="../error/enum.TryFromParsed.html" title="enum actix_web::cookie::time::error::TryFromParsed">TryFromParsed</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from-2" class="method trait-impl"><a href="#method.try_from-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(parsed: <a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../struct.Time.html" title="struct actix_web::cookie::time::Time">Time</a>, <<a class="struct" href="../struct.Time.html" title="struct actix_web::cookie::time::Time">Time</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-TryFrom%3CParsed%3E-for-UtcOffset" class="impl"><a href="#impl-TryFrom%3CParsed%3E-for-UtcOffset" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>> for <a class="struct" href="../struct.UtcOffset.html" title="struct actix_web::cookie::time::UtcOffset">UtcOffset</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-4" class="associatedtype trait-impl"><a href="#associatedtype.Error-4" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="../error/enum.TryFromParsed.html" title="enum actix_web::cookie::time::error::TryFromParsed">TryFromParsed</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from-4" class="method trait-impl"><a href="#method.try_from-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(
|
|
parsed: <a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../struct.UtcOffset.html" title="struct actix_web::cookie::time::UtcOffset">UtcOffset</a>, <<a class="struct" href="../struct.UtcOffset.html" title="struct actix_web::cookie::time::UtcOffset">UtcOffset</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><<a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a>>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><section id="impl-Copy-for-Parsed" class="impl"><a href="#impl-Copy-for-Parsed" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-Parsed" class="impl"><a href="#impl-Freeze-for-Parsed" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a></h3></section><section id="impl-RefUnwindSafe-for-Parsed" class="impl"><a href="#impl-RefUnwindSafe-for-Parsed" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a></h3></section><section id="impl-Send-for-Parsed" class="impl"><a href="#impl-Send-for-Parsed" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a></h3></section><section id="impl-Sync-for-Parsed" class="impl"><a href="#impl-Sync-for-Parsed" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a></h3></section><section id="impl-Unpin-for-Parsed" class="impl"><a href="#impl-Unpin-for-Parsed" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a></h3></section><section id="impl-UnwindSafe-for-Parsed" class="impl"><a href="#impl-UnwindSafe-for-Parsed" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Parsed.html" title="struct actix_web::cookie::time::parsing::Parsed">Parsed</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
|
|
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#141">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#208">source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T<div class="where">where
|
|
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#210">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#216">source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T<div class="where">where
|
|
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#217">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#765">source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#768">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
|
|
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Instrument-for-T" class="impl"><a href="#impl-Instrument-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Instrument for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.instrument" class="method trait-impl"><a href="#method.instrument" class="anchor">§</a><h4 class="code-header">fn <a class="fn">instrument</a>(self, span: Span) -> Instrumented<Self></h4></section></summary><div class='docblock'>Instruments this type with the provided [<code>Span</code>], returning an
|
|
<code>Instrumented</code> wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.in_current_span" class="method trait-impl"><a href="#method.in_current_span" class="anchor">§</a><h4 class="code-header">fn <a class="fn">in_current_span</a>(self) -> Instrumented<Self></h4></section></summary><div class='docblock'>Instruments this type with the <a href="super::Span::current()">current</a> <a href="crate::Span"><code>Span</code></a>, returning an
|
|
<code>Instrumented</code> wrapper. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#748-750">source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T<div class="where">where
|
|
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#758">source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -> U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
|
|
<p>That is, this conversion is whatever the implementation of
|
|
<code><a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
|
|
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Same-for-T" class="impl"><a class="src rightside" href="https://docs.rs/typenum/1.17.0/src/typenum/type_operators.rs.html#34">source</a><a href="#impl-Same-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/typenum/1.17.0/typenum/type_operators/trait.Same.html" title="trait typenum::type_operators::Same">Same</a> for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl"><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a href="https://docs.rs/typenum/1.17.0/typenum/type_operators/trait.Same.html#associatedtype.Output" class="associatedtype">Output</a> = T</h4></section></summary><div class='docblock'>Should always be <code>Self</code></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToOwned-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#83-85">source</a><a href="#impl-ToOwned-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T<div class="where">where
|
|
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Owned" class="associatedtype trait-impl"><a href="#associatedtype.Owned" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" class="associatedtype">Owned</a> = T</h4></section></summary><div class='docblock'>The resulting type after obtaining ownership.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_owned" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#88">source</a><a href="#method.to_owned" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fn">to_owned</a>(&self) -> T</h4></section></summary><div class='docblock'>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#92">source</a><a href="#method.clone_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fn">clone_into</a>(&self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut T</a>)</h4></section></summary><div class='docblock'>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#805-807">source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T<div class="where">where
|
|
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-6" class="associatedtype trait-impl"><a href="#associatedtype.Error-6" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from-5" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#812">source</a><a href="#method.try_from-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#790-792">source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T<div class="where">where
|
|
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-5" class="associatedtype trait-impl"><a href="#associatedtype.Error-5" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#797">source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-VZip%3CV%3E-for-T" class="impl"><a href="#impl-VZip%3CV%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<V, T> VZip<V> for T<div class="where">where
|
|
V: MultiLane<T>,</div></h3></section></summary><div class="impl-items"><section id="method.vzip" class="method trait-impl"><a href="#method.vzip" class="anchor">§</a><h4 class="code-header">fn <a class="fn">vzip</a>(self) -> V</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithSubscriber-for-T" class="impl"><a href="#impl-WithSubscriber-for-T" class="anchor">§</a><h3 class="code-header">impl<T> WithSubscriber for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.with_subscriber" class="method trait-impl"><a href="#method.with_subscriber" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_subscriber</a><S>(self, subscriber: S) -> WithDispatch<Self><div class="where">where
|
|
S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><Dispatch>,</div></h4></section></summary><div class='docblock'>Attaches the provided <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
|
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber" class="method trait-impl"><a href="#method.with_current_subscriber" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_current_subscriber</a>(self) -> WithDispatch<Self></h4></section></summary><div class='docblock'>Attaches the current <a href="crate::dispatcher#setting-the-default-subscriber">default</a> <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
|
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details></div></details></div></section></div></main></body></html> |