1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-01-31 19:10:07 +01:00
actix-web/actix_web/cookie/time/struct.Duration.html
2024-05-27 01:16:31 +00:00

389 lines
242 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

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

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="A span of time with nanosecond precision."><title>Duration in actix_web::cookie::time - 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="#">Duration</a></h2><div class="sidebar-elems"><section><h3><a href="#implementations">Associated Constants</a></h3><ul class="block associatedconstant"><li><a href="#associatedconstant.DAY">DAY</a></li><li><a href="#associatedconstant.HOUR">HOUR</a></li><li><a href="#associatedconstant.MAX">MAX</a></li><li><a href="#associatedconstant.MICROSECOND">MICROSECOND</a></li><li><a href="#associatedconstant.MILLISECOND">MILLISECOND</a></li><li><a href="#associatedconstant.MIN">MIN</a></li><li><a href="#associatedconstant.MINUTE">MINUTE</a></li><li><a href="#associatedconstant.NANOSECOND">NANOSECOND</a></li><li><a href="#associatedconstant.SECOND">SECOND</a></li><li><a href="#associatedconstant.WEEK">WEEK</a></li><li><a href="#associatedconstant.ZERO">ZERO</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.abs">abs</a></li><li><a href="#method.as_seconds_f32">as_seconds_f32</a></li><li><a href="#method.as_seconds_f64">as_seconds_f64</a></li><li><a href="#method.checked_add">checked_add</a></li><li><a href="#method.checked_div">checked_div</a></li><li><a href="#method.checked_mul">checked_mul</a></li><li><a href="#method.checked_neg">checked_neg</a></li><li><a href="#method.checked_seconds_f32">checked_seconds_f32</a></li><li><a href="#method.checked_seconds_f64">checked_seconds_f64</a></li><li><a href="#method.checked_sub">checked_sub</a></li><li><a href="#method.days">days</a></li><li><a href="#method.hours">hours</a></li><li><a href="#method.is_negative">is_negative</a></li><li><a href="#method.is_positive">is_positive</a></li><li><a href="#method.is_zero">is_zero</a></li><li><a href="#method.microseconds">microseconds</a></li><li><a href="#method.milliseconds">milliseconds</a></li><li><a href="#method.minutes">minutes</a></li><li><a href="#method.nanoseconds">nanoseconds</a></li><li><a href="#method.new">new</a></li><li><a href="#method.saturating_add">saturating_add</a></li><li><a href="#method.saturating_mul">saturating_mul</a></li><li><a href="#method.saturating_seconds_f32">saturating_seconds_f32</a></li><li><a href="#method.saturating_seconds_f64">saturating_seconds_f64</a></li><li><a href="#method.saturating_sub">saturating_sub</a></li><li><a href="#method.seconds">seconds</a></li><li><a href="#method.seconds_f32">seconds_f32</a></li><li><a href="#method.seconds_f64">seconds_f64</a></li><li><a href="#method.subsec_microseconds">subsec_microseconds</a></li><li><a href="#method.subsec_milliseconds">subsec_milliseconds</a></li><li><a href="#method.subsec_nanoseconds">subsec_nanoseconds</a></li><li><a href="#method.time_fn">time_fn</a></li><li><a href="#method.unsigned_abs">unsigned_abs</a></li><li><a href="#method.weeks">weeks</a></li><li><a href="#method.whole_days">whole_days</a></li><li><a href="#method.whole_hours">whole_hours</a></li><li><a href="#method.whole_microseconds">whole_microseconds</a></li><li><a href="#method.whole_milliseconds">whole_milliseconds</a></li><li><a href="#method.whole_minutes">whole_minutes</a></li><li><a href="#method.whole_nanoseconds">whole_nanoseconds</a></li><li><a href="#method.whole_seconds">whole_seconds</a></li><li><a href="#method.whole_weeks">whole_weeks</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Add-for-Duration">Add</a></li><li><a href="#impl-Add%3CDuration%3E-for-Date">Add&lt;Duration&gt;</a></li><li><a href="#impl-Add%3CDuration%3E-for-Duration">Add&lt;Duration&gt;</a></li><li><a href="#impl-Add%3CDuration%3E-for-Instant">Add&lt;Duration&gt;</a></li><li><a href="#impl-Add%3CDuration%3E-for-OffsetDateTime">Add&lt;Duration&gt;</a></li><li><a href="#impl-Add%3CDuration%3E-for-PrimitiveDateTime">Add&lt;Duration&gt;</a></li><li><a href="#impl-Add%3CDuration%3E-for-Time">Add&lt;Duration&gt;</a></li><li><a href="#impl-AddAssign-for-Duration">AddAssign</a></li><li><a href="#impl-AddAssign%3CDuration%3E-for-Date">AddAssign&lt;Duration&gt;</a></li><li><a href="#impl-AddAssign%3CDuration%3E-for-Duration">AddAssign&lt;Duration&gt;</a></li><li><a href="#impl-AddAssign%3CDuration%3E-for-Instant">AddAssign&lt;Duration&gt;</a></li><li><a href="#impl-AddAssign%3CDuration%3E-for-OffsetDateTime">AddAssign&lt;Duration&gt;</a></li><li><a href="#impl-AddAssign%3CDuration%3E-for-PrimitiveDateTime">AddAssign&lt;Duration&gt;</a></li><li><a href="#impl-AddAssign%3CDuration%3E-for-Time">AddAssign&lt;Duration&gt;</a></li><li><a href="#impl-Clone-for-Duration">Clone</a></li><li><a href="#impl-Copy-for-Duration">Copy</a></li><li><a href="#impl-Debug-for-Duration">Debug</a></li><li><a href="#impl-Default-for-Duration">Default</a></li><li><a href="#impl-Display-for-Duration">Display</a></li><li><a href="#impl-Div-for-Duration">Div</a></li><li><a href="#impl-Div%3CDuration%3E-for-Duration">Div&lt;Duration&gt;</a></li><li><a href="#impl-Div%3Cf32%3E-for-Duration">Div&lt;f32&gt;</a></li><li><a href="#impl-Div%3Cf64%3E-for-Duration">Div&lt;f64&gt;</a></li><li><a href="#impl-Div%3Ci16%3E-for-Duration">Div&lt;i16&gt;</a></li><li><a href="#impl-Div%3Ci32%3E-for-Duration">Div&lt;i32&gt;</a></li><li><a href="#impl-Div%3Ci8%3E-for-Duration">Div&lt;i8&gt;</a></li><li><a href="#impl-Div%3Cu16%3E-for-Duration">Div&lt;u16&gt;</a></li><li><a href="#impl-Div%3Cu32%3E-for-Duration">Div&lt;u32&gt;</a></li><li><a href="#impl-Div%3Cu8%3E-for-Duration">Div&lt;u8&gt;</a></li><li><a href="#impl-DivAssign%3Cf32%3E-for-Duration">DivAssign&lt;f32&gt;</a></li><li><a href="#impl-DivAssign%3Cf64%3E-for-Duration">DivAssign&lt;f64&gt;</a></li><li><a href="#impl-DivAssign%3Ci16%3E-for-Duration">DivAssign&lt;i16&gt;</a></li><li><a href="#impl-DivAssign%3Ci32%3E-for-Duration">DivAssign&lt;i32&gt;</a></li><li><a href="#impl-DivAssign%3Ci8%3E-for-Duration">DivAssign&lt;i8&gt;</a></li><li><a href="#impl-DivAssign%3Cu16%3E-for-Duration">DivAssign&lt;u16&gt;</a></li><li><a href="#impl-DivAssign%3Cu32%3E-for-Duration">DivAssign&lt;u32&gt;</a></li><li><a href="#impl-DivAssign%3Cu8%3E-for-Duration">DivAssign&lt;u8&gt;</a></li><li><a href="#impl-Eq-for-Duration">Eq</a></li><li><a href="#impl-Hash-for-Duration">Hash</a></li><li><a href="#impl-Mul%3Cf32%3E-for-Duration">Mul&lt;f32&gt;</a></li><li><a href="#impl-Mul%3Cf64%3E-for-Duration">Mul&lt;f64&gt;</a></li><li><a href="#impl-Mul%3Ci16%3E-for-Duration">Mul&lt;i16&gt;</a></li><li><a href="#impl-Mul%3Ci32%3E-for-Duration">Mul&lt;i32&gt;</a></li><li><a href="#impl-Mul%3Ci8%3E-for-Duration">Mul&lt;i8&gt;</a></li><li><a href="#impl-Mul%3Cu16%3E-for-Duration">Mul&lt;u16&gt;</a></li><li><a href="#impl-Mul%3Cu32%3E-for-Duration">Mul&lt;u32&gt;</a></li><li><a href="#impl-Mul%3Cu8%3E-for-Duration">Mul&lt;u8&gt;</a></li><li><a href="#impl-MulAssign%3Cf32%3E-for-Duration">MulAssign&lt;f32&gt;</a></li><li><a href="#impl-MulAssign%3Cf64%3E-for-Duration">MulAssign&lt;f64&gt;</a></li><li><a href="#impl-MulAssign%3Ci16%3E-for-Duration">MulAssign&lt;i16&gt;</a></li><li><a href="#impl-MulAssign%3Ci32%3E-for-Duration">MulAssign&lt;i32&gt;</a></li><li><a href="#impl-MulAssign%3Ci8%3E-for-Duration">MulAssign&lt;i8&gt;</a></li><li><a href="#impl-MulAssign%3Cu16%3E-for-Duration">MulAssign&lt;u16&gt;</a></li><li><a href="#impl-MulAssign%3Cu32%3E-for-Duration">MulAssign&lt;u32&gt;</a></li><li><a href="#impl-MulAssign%3Cu8%3E-for-Duration">MulAssign&lt;u8&gt;</a></li><li><a href="#impl-Neg-for-Duration">Neg</a></li><li><a href="#impl-Ord-for-Duration">Ord</a></li><li><a href="#impl-PartialEq-for-Duration">PartialEq</a></li><li><a href="#impl-PartialEq%3CDuration%3E-for-Duration">PartialEq&lt;Duration&gt;</a></li><li><a href="#impl-PartialOrd-for-Duration">PartialOrd</a></li><li><a href="#impl-PartialOrd%3CDuration%3E-for-Duration">PartialOrd&lt;Duration&gt;</a></li><li><a href="#impl-StructuralPartialEq-for-Duration">StructuralPartialEq</a></li><li><a href="#impl-Sub-for-Duration">Sub</a></li><li><a href="#impl-Sub%3CDuration%3E-for-Date">Sub&lt;Duration&gt;</a></li><li><a href="#impl-Sub%3CDuration%3E-for-Duration">Sub&lt;Duration&gt;</a></li><li><a href="#impl-Sub%3CDuration%3E-for-Instant">Sub&lt;Duration&gt;</a></li><li><a href="#impl-Sub%3CDuration%3E-for-OffsetDateTime">Sub&lt;Duration&gt;</a></li><li><a href="#impl-Sub%3CDuration%3E-for-PrimitiveDateTime">Sub&lt;Duration&gt;</a></li><li><a href="#impl-Sub%3CDuration%3E-for-Time">Sub&lt;Duration&gt;</a></li><li><a href="#impl-SubAssign-for-Duration">SubAssign</a></li><li><a href="#impl-SubAssign%3CDuration%3E-for-Date">SubAssign&lt;Duration&gt;</a></li><li><a href="#impl-SubAssign%3CDuration%3E-for-Duration">SubAssign&lt;Duration&gt;</a></li><li><a href="#impl-SubAssign%3CDuration%3E-for-Instant">SubAssign&lt;Duration&gt;</a></li><li><a href="#impl-SubAssign%3CDuration%3E-for-OffsetDateTime">SubAssign&lt;Duration&gt;</a></li><li><a href="#impl-SubAssign%3CDuration%3E-for-PrimitiveDateTime">SubAssign&lt;Duration&gt;</a></li><li><a href="#impl-SubAssign%3CDuration%3E-for-Time">SubAssign&lt;Duration&gt;</a></li><li><a href="#impl-Sum-for-Duration">Sum</a></li><li><a href="#impl-Sum%3C%26Duration%3E-for-Duration">Sum&lt;&amp;&#x27;a Duration&gt;</a></li><li><a href="#impl-TryFrom%3CDuration%3E-for-Duration">TryFrom&lt;Duration&gt;</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-Duration">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-Duration">RefUnwindSafe</a></li><li><a href="#impl-Send-for-Duration">Send</a></li><li><a href="#impl-Sync-for-Duration">Sync</a></li><li><a href="#impl-Unpin-for-Duration">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Duration">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&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-Comparable%3CK%3E-for-Q">Comparable&lt;K&gt;</a></li><li><a href="#impl-Equivalent%3CK%3E-for-Q">Equivalent&lt;K&gt;</a></li><li><a href="#impl-Equivalent%3CK%3E-for-Q-1">Equivalent&lt;K&gt;</a></li><li><a href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a href="#impl-Instrument-for-T">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</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-ToString-for-T">ToString</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li><li><a href="#impl-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li><li><a href="#impl-WithSubscriber-for-T">WithSubscriber</a></li></ul></section><h2><a href="index.html">In actix_web::cookie::time</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="../../index.html">actix_web</a>::<wbr><a href="../index.html">cookie</a>::<wbr><a href="index.html">time</a>::<wbr><a class="struct" href="#">Duration</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct Duration { <span class="comment">/* private fields */</span> }</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>cookies</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A span of time with nanosecond precision.</p>
<p>Each <code>Duration</code> is composed of a whole number of seconds and a fractional part represented in
nanoseconds.</p>
<p>This implementation allows for negative durations, unlike <a href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration"><code>core::time::Duration</code></a>.</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-Duration" class="impl"><a href="#impl-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.ZERO" class="associatedconstant"><h4 class="code-header">pub const <a href="#associatedconstant.ZERO" class="constant">ZERO</a>: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> = _</h4></section></summary><div class="docblock"><p>Equivalent to <code>0.seconds()</code>.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(Duration::ZERO, <span class="number">0</span>.seconds());</code></pre></div>
</div></details><details class="toggle" open><summary><section id="associatedconstant.NANOSECOND" class="associatedconstant"><h4 class="code-header">pub const <a href="#associatedconstant.NANOSECOND" class="constant">NANOSECOND</a>: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> = _</h4></section></summary><div class="docblock"><p>Equivalent to <code>1.nanoseconds()</code>.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(Duration::NANOSECOND, <span class="number">1</span>.nanoseconds());</code></pre></div>
</div></details><details class="toggle" open><summary><section id="associatedconstant.MICROSECOND" class="associatedconstant"><h4 class="code-header">pub const <a href="#associatedconstant.MICROSECOND" class="constant">MICROSECOND</a>: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> = _</h4></section></summary><div class="docblock"><p>Equivalent to <code>1.microseconds()</code>.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(Duration::MICROSECOND, <span class="number">1</span>.microseconds());</code></pre></div>
</div></details><details class="toggle" open><summary><section id="associatedconstant.MILLISECOND" class="associatedconstant"><h4 class="code-header">pub const <a href="#associatedconstant.MILLISECOND" class="constant">MILLISECOND</a>: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> = _</h4></section></summary><div class="docblock"><p>Equivalent to <code>1.milliseconds()</code>.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(Duration::MILLISECOND, <span class="number">1</span>.milliseconds());</code></pre></div>
</div></details><details class="toggle" open><summary><section id="associatedconstant.SECOND" class="associatedconstant"><h4 class="code-header">pub const <a href="#associatedconstant.SECOND" class="constant">SECOND</a>: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> = _</h4></section></summary><div class="docblock"><p>Equivalent to <code>1.seconds()</code>.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(Duration::SECOND, <span class="number">1</span>.seconds());</code></pre></div>
</div></details><details class="toggle" open><summary><section id="associatedconstant.MINUTE" class="associatedconstant"><h4 class="code-header">pub const <a href="#associatedconstant.MINUTE" class="constant">MINUTE</a>: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> = _</h4></section></summary><div class="docblock"><p>Equivalent to <code>1.minutes()</code>.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(Duration::MINUTE, <span class="number">1</span>.minutes());</code></pre></div>
</div></details><details class="toggle" open><summary><section id="associatedconstant.HOUR" class="associatedconstant"><h4 class="code-header">pub const <a href="#associatedconstant.HOUR" class="constant">HOUR</a>: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> = _</h4></section></summary><div class="docblock"><p>Equivalent to <code>1.hours()</code>.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(Duration::HOUR, <span class="number">1</span>.hours());</code></pre></div>
</div></details><details class="toggle" open><summary><section id="associatedconstant.DAY" class="associatedconstant"><h4 class="code-header">pub const <a href="#associatedconstant.DAY" class="constant">DAY</a>: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> = _</h4></section></summary><div class="docblock"><p>Equivalent to <code>1.days()</code>.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(Duration::DAY, <span class="number">1</span>.days());</code></pre></div>
</div></details><details class="toggle" open><summary><section id="associatedconstant.WEEK" class="associatedconstant"><h4 class="code-header">pub const <a href="#associatedconstant.WEEK" class="constant">WEEK</a>: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> = _</h4></section></summary><div class="docblock"><p>Equivalent to <code>1.weeks()</code>.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(Duration::WEEK, <span class="number">1</span>.weeks());</code></pre></div>
</div></details><details class="toggle" open><summary><section id="associatedconstant.MIN" class="associatedconstant"><h4 class="code-header">pub const <a href="#associatedconstant.MIN" class="constant">MIN</a>: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> = _</h4></section></summary><div class="docblock"><p>The minimum possible duration. Adding any negative duration to this will cause an overflow.</p>
</div></details><details class="toggle" open><summary><section id="associatedconstant.MAX" class="associatedconstant"><h4 class="code-header">pub const <a href="#associatedconstant.MAX" class="constant">MAX</a>: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> = _</h4></section></summary><div class="docblock"><p>The maximum possible duration. Adding any positive duration to this will cause an overflow.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_zero" class="method"><h4 class="code-header">pub const fn <a href="#method.is_zero" class="fn">is_zero</a>(self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Check if a duration is exactly zero.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert!</span>(<span class="number">0</span>.seconds().is_zero());
<span class="macro">assert!</span>(!<span class="number">1</span>.nanoseconds().is_zero());</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_negative" class="method"><h4 class="code-header">pub const fn <a href="#method.is_negative" class="fn">is_negative</a>(self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Check if a duration is negative.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert!</span>((-<span class="number">1</span>).seconds().is_negative());
<span class="macro">assert!</span>(!<span class="number">0</span>.seconds().is_negative());
<span class="macro">assert!</span>(!<span class="number">1</span>.seconds().is_negative());</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_positive" class="method"><h4 class="code-header">pub const fn <a href="#method.is_positive" class="fn">is_positive</a>(self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Check if a duration is positive.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert!</span>(<span class="number">1</span>.seconds().is_positive());
<span class="macro">assert!</span>(!<span class="number">0</span>.seconds().is_positive());
<span class="macro">assert!</span>(!(-<span class="number">1</span>).seconds().is_positive());</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.abs" class="method"><h4 class="code-header">pub const fn <a href="#method.abs" class="fn">abs</a>(self) -&gt; <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Get the absolute value of the duration.</p>
<p>This method saturates the returned value if it would otherwise overflow.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="number">1</span>.seconds().abs(), <span class="number">1</span>.seconds());
<span class="macro">assert_eq!</span>(<span class="number">0</span>.seconds().abs(), <span class="number">0</span>.seconds());
<span class="macro">assert_eq!</span>((-<span class="number">1</span>).seconds().abs(), <span class="number">1</span>.seconds());</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.unsigned_abs" class="method"><h4 class="code-header">pub const fn <a href="#method.unsigned_abs" class="fn">unsigned_abs</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Convert the existing <code>Duration</code> to a <code>std::time::Duration</code> and its sign. This returns a
<a href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration"><code>std::time::Duration</code></a> and does not saturate the returned value (unlike <a href="struct.Duration.html#method.abs" title="method actix_web::cookie::time::Duration::abs"><code>Duration::abs</code></a>).</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="number">1</span>.seconds().unsigned_abs(), <span class="number">1</span>.std_seconds());
<span class="macro">assert_eq!</span>(<span class="number">0</span>.seconds().unsigned_abs(), <span class="number">0</span>.std_seconds());
<span class="macro">assert_eq!</span>((-<span class="number">1</span>).seconds().unsigned_abs(), <span class="number">1</span>.std_seconds());</code></pre></div>
</div></details><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>(seconds: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>, nanoseconds: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -&gt; <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Create a new <code>Duration</code> with the provided seconds and nanoseconds. If nanoseconds is at
least ±10<sup>9</sup>, it will wrap to the number of seconds.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(Duration::new(<span class="number">1</span>, <span class="number">0</span>), <span class="number">1</span>.seconds());
<span class="macro">assert_eq!</span>(Duration::new(-<span class="number">1</span>, <span class="number">0</span>), (-<span class="number">1</span>).seconds());
<span class="macro">assert_eq!</span>(Duration::new(<span class="number">1</span>, <span class="number">2_000_000_000</span>), <span class="number">3</span>.seconds());</code></pre></div>
<h5 id="panics"><a class="doc-anchor" href="#panics">§</a>Panics</h5>
<p>This may panic if an overflow occurs.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.weeks" class="method"><h4 class="code-header">pub const fn <a href="#method.weeks" class="fn">weeks</a>(weeks: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -&gt; <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Create a new <code>Duration</code> with the given number of weeks. Equivalent to
<code>Duration::seconds(weeks * 604_800)</code>.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(Duration::weeks(<span class="number">1</span>), <span class="number">604_800</span>.seconds());</code></pre></div>
<h5 id="panics-1"><a class="doc-anchor" href="#panics-1">§</a>Panics</h5>
<p>This may panic if an overflow occurs.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.days" class="method"><h4 class="code-header">pub const fn <a href="#method.days" class="fn">days</a>(days: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -&gt; <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Create a new <code>Duration</code> with the given number of days. Equivalent to
<code>Duration::seconds(days * 86_400)</code>.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(Duration::days(<span class="number">1</span>), <span class="number">86_400</span>.seconds());</code></pre></div>
<h5 id="panics-2"><a class="doc-anchor" href="#panics-2">§</a>Panics</h5>
<p>This may panic if an overflow occurs.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.hours" class="method"><h4 class="code-header">pub const fn <a href="#method.hours" class="fn">hours</a>(hours: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -&gt; <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Create a new <code>Duration</code> with the given number of hours. Equivalent to
<code>Duration::seconds(hours * 3_600)</code>.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(Duration::hours(<span class="number">1</span>), <span class="number">3_600</span>.seconds());</code></pre></div>
<h5 id="panics-3"><a class="doc-anchor" href="#panics-3">§</a>Panics</h5>
<p>This may panic if an overflow occurs.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.minutes" class="method"><h4 class="code-header">pub const fn <a href="#method.minutes" class="fn">minutes</a>(minutes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -&gt; <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Create a new <code>Duration</code> with the given number of minutes. Equivalent to
<code>Duration::seconds(minutes * 60)</code>.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(Duration::minutes(<span class="number">1</span>), <span class="number">60</span>.seconds());</code></pre></div>
<h5 id="panics-4"><a class="doc-anchor" href="#panics-4">§</a>Panics</h5>
<p>This may panic if an overflow occurs.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.seconds" class="method"><h4 class="code-header">pub const fn <a href="#method.seconds" class="fn">seconds</a>(seconds: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -&gt; <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Create a new <code>Duration</code> with the given number of seconds.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(Duration::seconds(<span class="number">1</span>), <span class="number">1_000</span>.milliseconds());</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.seconds_f64" class="method"><h4 class="code-header">pub fn <a href="#method.seconds_f64" class="fn">seconds_f64</a>(seconds: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -&gt; <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Creates a new <code>Duration</code> from the specified number of seconds represented as <code>f64</code>.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(Duration::seconds_f64(<span class="number">0.5</span>), <span class="number">0.5</span>.seconds());
<span class="macro">assert_eq!</span>(Duration::seconds_f64(-<span class="number">0.5</span>), -<span class="number">0.5</span>.seconds());</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.seconds_f32" class="method"><h4 class="code-header">pub fn <a href="#method.seconds_f32" class="fn">seconds_f32</a>(seconds: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -&gt; <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Creates a new <code>Duration</code> from the specified number of seconds represented as <code>f32</code>.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(Duration::seconds_f32(<span class="number">0.5</span>), <span class="number">0.5</span>.seconds());
<span class="macro">assert_eq!</span>(Duration::seconds_f32(-<span class="number">0.5</span>), (-<span class="number">0.5</span>).seconds());</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_seconds_f64" class="method"><h4 class="code-header">pub fn <a href="#method.saturating_seconds_f64" class="fn">saturating_seconds_f64</a>(seconds: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -&gt; <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Creates a new <code>Duration</code> from the specified number of seconds
represented as <code>f64</code>. Any values that are out of bounds are saturated at
the minimum or maximum respectively. <code>NaN</code> gets turned into a <code>Duration</code>
of 0 seconds.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(Duration::saturating_seconds_f64(<span class="number">0.5</span>), <span class="number">0.5</span>.seconds());
<span class="macro">assert_eq!</span>(Duration::saturating_seconds_f64(-<span class="number">0.5</span>), -<span class="number">0.5</span>.seconds());
<span class="macro">assert_eq!</span>(
Duration::saturating_seconds_f64(f64::NAN),
Duration::new(<span class="number">0</span>, <span class="number">0</span>),
);
<span class="macro">assert_eq!</span>(
Duration::saturating_seconds_f64(f64::NEG_INFINITY),
Duration::MIN,
);
<span class="macro">assert_eq!</span>(
Duration::saturating_seconds_f64(f64::INFINITY),
Duration::MAX,
);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_seconds_f32" class="method"><h4 class="code-header">pub fn <a href="#method.saturating_seconds_f32" class="fn">saturating_seconds_f32</a>(seconds: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -&gt; <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Creates a new <code>Duration</code> from the specified number of seconds
represented as <code>f32</code>. Any values that are out of bounds are saturated at
the minimum or maximum respectively. <code>NaN</code> gets turned into a <code>Duration</code>
of 0 seconds.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(Duration::saturating_seconds_f32(<span class="number">0.5</span>), <span class="number">0.5</span>.seconds());
<span class="macro">assert_eq!</span>(Duration::saturating_seconds_f32(-<span class="number">0.5</span>), (-<span class="number">0.5</span>).seconds());
<span class="macro">assert_eq!</span>(
Duration::saturating_seconds_f32(f32::NAN),
Duration::new(<span class="number">0</span>, <span class="number">0</span>),
);
<span class="macro">assert_eq!</span>(
Duration::saturating_seconds_f32(f32::NEG_INFINITY),
Duration::MIN,
);
<span class="macro">assert_eq!</span>(
Duration::saturating_seconds_f32(f32::INFINITY),
Duration::MAX,
);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_seconds_f64" class="method"><h4 class="code-header">pub fn <a href="#method.checked_seconds_f64" class="fn">checked_seconds_f64</a>(seconds: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt;</h4></section></summary><div class="docblock"><p>Creates a new <code>Duration</code> from the specified number of seconds
represented as <code>f64</code>. Returns <code>None</code> if the <code>Duration</code> cant be
represented.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(Duration::checked_seconds_f64(<span class="number">0.5</span>), <span class="prelude-val">Some</span>(<span class="number">0.5</span>.seconds()));
<span class="macro">assert_eq!</span>(Duration::checked_seconds_f64(-<span class="number">0.5</span>), <span class="prelude-val">Some</span>(-<span class="number">0.5</span>.seconds()));
<span class="macro">assert_eq!</span>(Duration::checked_seconds_f64(f64::NAN), <span class="prelude-val">None</span>);
<span class="macro">assert_eq!</span>(Duration::checked_seconds_f64(f64::NEG_INFINITY), <span class="prelude-val">None</span>);
<span class="macro">assert_eq!</span>(Duration::checked_seconds_f64(f64::INFINITY), <span class="prelude-val">None</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_seconds_f32" class="method"><h4 class="code-header">pub fn <a href="#method.checked_seconds_f32" class="fn">checked_seconds_f32</a>(seconds: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt;</h4></section></summary><div class="docblock"><p>Creates a new <code>Duration</code> from the specified number of seconds
represented as <code>f32</code>. Returns <code>None</code> if the <code>Duration</code> cant be
represented.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(Duration::checked_seconds_f32(<span class="number">0.5</span>), <span class="prelude-val">Some</span>(<span class="number">0.5</span>.seconds()));
<span class="macro">assert_eq!</span>(Duration::checked_seconds_f32(-<span class="number">0.5</span>), <span class="prelude-val">Some</span>(-<span class="number">0.5</span>.seconds()));
<span class="macro">assert_eq!</span>(Duration::checked_seconds_f32(f32::NAN), <span class="prelude-val">None</span>);
<span class="macro">assert_eq!</span>(Duration::checked_seconds_f32(f32::NEG_INFINITY), <span class="prelude-val">None</span>);
<span class="macro">assert_eq!</span>(Duration::checked_seconds_f32(f32::INFINITY), <span class="prelude-val">None</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.milliseconds" class="method"><h4 class="code-header">pub const fn <a href="#method.milliseconds" class="fn">milliseconds</a>(milliseconds: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -&gt; <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Create a new <code>Duration</code> with the given number of milliseconds.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(Duration::milliseconds(<span class="number">1</span>), <span class="number">1_000</span>.microseconds());
<span class="macro">assert_eq!</span>(Duration::milliseconds(-<span class="number">1</span>), (-<span class="number">1_000</span>).microseconds());</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.microseconds" class="method"><h4 class="code-header">pub const fn <a href="#method.microseconds" class="fn">microseconds</a>(microseconds: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -&gt; <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Create a new <code>Duration</code> with the given number of microseconds.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(Duration::microseconds(<span class="number">1</span>), <span class="number">1_000</span>.nanoseconds());
<span class="macro">assert_eq!</span>(Duration::microseconds(-<span class="number">1</span>), (-<span class="number">1_000</span>).nanoseconds());</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.nanoseconds" class="method"><h4 class="code-header">pub const fn <a href="#method.nanoseconds" class="fn">nanoseconds</a>(nanoseconds: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -&gt; <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Create a new <code>Duration</code> with the given number of nanoseconds.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(Duration::nanoseconds(<span class="number">1</span>), <span class="number">1</span>.microseconds() / <span class="number">1_000</span>);
<span class="macro">assert_eq!</span>(Duration::nanoseconds(-<span class="number">1</span>), (-<span class="number">1</span>).microseconds() / <span class="number">1_000</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.whole_weeks" class="method"><h4 class="code-header">pub const fn <a href="#method.whole_weeks" class="fn">whole_weeks</a>(self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></h4></section></summary><div class="docblock"><p>Get the number of whole weeks in the duration.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="number">1</span>.weeks().whole_weeks(), <span class="number">1</span>);
<span class="macro">assert_eq!</span>((-<span class="number">1</span>).weeks().whole_weeks(), -<span class="number">1</span>);
<span class="macro">assert_eq!</span>(<span class="number">6</span>.days().whole_weeks(), <span class="number">0</span>);
<span class="macro">assert_eq!</span>((-<span class="number">6</span>).days().whole_weeks(), <span class="number">0</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.whole_days" class="method"><h4 class="code-header">pub const fn <a href="#method.whole_days" class="fn">whole_days</a>(self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></h4></section></summary><div class="docblock"><p>Get the number of whole days in the duration.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="number">1</span>.days().whole_days(), <span class="number">1</span>);
<span class="macro">assert_eq!</span>((-<span class="number">1</span>).days().whole_days(), -<span class="number">1</span>);
<span class="macro">assert_eq!</span>(<span class="number">23</span>.hours().whole_days(), <span class="number">0</span>);
<span class="macro">assert_eq!</span>((-<span class="number">23</span>).hours().whole_days(), <span class="number">0</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.whole_hours" class="method"><h4 class="code-header">pub const fn <a href="#method.whole_hours" class="fn">whole_hours</a>(self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></h4></section></summary><div class="docblock"><p>Get the number of whole hours in the duration.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="number">1</span>.hours().whole_hours(), <span class="number">1</span>);
<span class="macro">assert_eq!</span>((-<span class="number">1</span>).hours().whole_hours(), -<span class="number">1</span>);
<span class="macro">assert_eq!</span>(<span class="number">59</span>.minutes().whole_hours(), <span class="number">0</span>);
<span class="macro">assert_eq!</span>((-<span class="number">59</span>).minutes().whole_hours(), <span class="number">0</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.whole_minutes" class="method"><h4 class="code-header">pub const fn <a href="#method.whole_minutes" class="fn">whole_minutes</a>(self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></h4></section></summary><div class="docblock"><p>Get the number of whole minutes in the duration.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="number">1</span>.minutes().whole_minutes(), <span class="number">1</span>);
<span class="macro">assert_eq!</span>((-<span class="number">1</span>).minutes().whole_minutes(), -<span class="number">1</span>);
<span class="macro">assert_eq!</span>(<span class="number">59</span>.seconds().whole_minutes(), <span class="number">0</span>);
<span class="macro">assert_eq!</span>((-<span class="number">59</span>).seconds().whole_minutes(), <span class="number">0</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.whole_seconds" class="method"><h4 class="code-header">pub const fn <a href="#method.whole_seconds" class="fn">whole_seconds</a>(self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></h4></section></summary><div class="docblock"><p>Get the number of whole seconds in the duration.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="number">1</span>.seconds().whole_seconds(), <span class="number">1</span>);
<span class="macro">assert_eq!</span>((-<span class="number">1</span>).seconds().whole_seconds(), -<span class="number">1</span>);
<span class="macro">assert_eq!</span>(<span class="number">1</span>.minutes().whole_seconds(), <span class="number">60</span>);
<span class="macro">assert_eq!</span>((-<span class="number">1</span>).minutes().whole_seconds(), -<span class="number">60</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.as_seconds_f64" class="method"><h4 class="code-header">pub fn <a href="#method.as_seconds_f64" class="fn">as_seconds_f64</a>(self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></h4></section></summary><div class="docblock"><p>Get the number of fractional seconds in the duration.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="number">1.5</span>.seconds().as_seconds_f64(), <span class="number">1.5</span>);
<span class="macro">assert_eq!</span>((-<span class="number">1.5</span>).seconds().as_seconds_f64(), -<span class="number">1.5</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.as_seconds_f32" class="method"><h4 class="code-header">pub fn <a href="#method.as_seconds_f32" class="fn">as_seconds_f32</a>(self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></h4></section></summary><div class="docblock"><p>Get the number of fractional seconds in the duration.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="number">1.5</span>.seconds().as_seconds_f32(), <span class="number">1.5</span>);
<span class="macro">assert_eq!</span>((-<span class="number">1.5</span>).seconds().as_seconds_f32(), -<span class="number">1.5</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.whole_milliseconds" class="method"><h4 class="code-header">pub const fn <a href="#method.whole_milliseconds" class="fn">whole_milliseconds</a>(self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></h4></section></summary><div class="docblock"><p>Get the number of whole milliseconds in the duration.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="number">1</span>.seconds().whole_milliseconds(), <span class="number">1_000</span>);
<span class="macro">assert_eq!</span>((-<span class="number">1</span>).seconds().whole_milliseconds(), -<span class="number">1_000</span>);
<span class="macro">assert_eq!</span>(<span class="number">1</span>.milliseconds().whole_milliseconds(), <span class="number">1</span>);
<span class="macro">assert_eq!</span>((-<span class="number">1</span>).milliseconds().whole_milliseconds(), -<span class="number">1</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.subsec_milliseconds" class="method"><h4 class="code-header">pub const fn <a href="#method.subsec_milliseconds" class="fn">subsec_milliseconds</a>(self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></h4></section></summary><div class="docblock"><p>Get the number of milliseconds past the number of whole seconds.</p>
<p>Always in the range <code>-999..=999</code>.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="number">1.4</span>.seconds().subsec_milliseconds(), <span class="number">400</span>);
<span class="macro">assert_eq!</span>((-<span class="number">1.4</span>).seconds().subsec_milliseconds(), -<span class="number">400</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.whole_microseconds" class="method"><h4 class="code-header">pub const fn <a href="#method.whole_microseconds" class="fn">whole_microseconds</a>(self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></h4></section></summary><div class="docblock"><p>Get the number of whole microseconds in the duration.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="number">1</span>.milliseconds().whole_microseconds(), <span class="number">1_000</span>);
<span class="macro">assert_eq!</span>((-<span class="number">1</span>).milliseconds().whole_microseconds(), -<span class="number">1_000</span>);
<span class="macro">assert_eq!</span>(<span class="number">1</span>.microseconds().whole_microseconds(), <span class="number">1</span>);
<span class="macro">assert_eq!</span>((-<span class="number">1</span>).microseconds().whole_microseconds(), -<span class="number">1</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.subsec_microseconds" class="method"><h4 class="code-header">pub const fn <a href="#method.subsec_microseconds" class="fn">subsec_microseconds</a>(self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></h4></section></summary><div class="docblock"><p>Get the number of microseconds past the number of whole seconds.</p>
<p>Always in the range <code>-999_999..=999_999</code>.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="number">1.0004</span>.seconds().subsec_microseconds(), <span class="number">400</span>);
<span class="macro">assert_eq!</span>((-<span class="number">1.0004</span>).seconds().subsec_microseconds(), -<span class="number">400</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.whole_nanoseconds" class="method"><h4 class="code-header">pub const fn <a href="#method.whole_nanoseconds" class="fn">whole_nanoseconds</a>(self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></h4></section></summary><div class="docblock"><p>Get the number of nanoseconds in the duration.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="number">1</span>.microseconds().whole_nanoseconds(), <span class="number">1_000</span>);
<span class="macro">assert_eq!</span>((-<span class="number">1</span>).microseconds().whole_nanoseconds(), -<span class="number">1_000</span>);
<span class="macro">assert_eq!</span>(<span class="number">1</span>.nanoseconds().whole_nanoseconds(), <span class="number">1</span>);
<span class="macro">assert_eq!</span>((-<span class="number">1</span>).nanoseconds().whole_nanoseconds(), -<span class="number">1</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.subsec_nanoseconds" class="method"><h4 class="code-header">pub const fn <a href="#method.subsec_nanoseconds" class="fn">subsec_nanoseconds</a>(self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></h4></section></summary><div class="docblock"><p>Get the number of nanoseconds past the number of whole seconds.</p>
<p>The returned value will always be in the range <code>-999_999_999..=999_999_999</code>.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="number">1.000_000_400</span>.seconds().subsec_nanoseconds(), <span class="number">400</span>);
<span class="macro">assert_eq!</span>((-<span class="number">1.000_000_400</span>).seconds().subsec_nanoseconds(), -<span class="number">400</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_add" class="method"><h4 class="code-header">pub const fn <a href="#method.checked_add" class="fn">checked_add</a>(self, rhs: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt;</h4></section></summary><div class="docblock"><p>Computes <code>self + rhs</code>, returning <code>None</code> if an overflow occurred.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="number">5</span>.seconds().checked_add(<span class="number">5</span>.seconds()), <span class="prelude-val">Some</span>(<span class="number">10</span>.seconds()));
<span class="macro">assert_eq!</span>(Duration::MAX.checked_add(<span class="number">1</span>.nanoseconds()), <span class="prelude-val">None</span>);
<span class="macro">assert_eq!</span>((-<span class="number">5</span>).seconds().checked_add(<span class="number">5</span>.seconds()), <span class="prelude-val">Some</span>(<span class="number">0</span>.seconds()));</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_sub" class="method"><h4 class="code-header">pub const fn <a href="#method.checked_sub" class="fn">checked_sub</a>(self, rhs: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt;</h4></section></summary><div class="docblock"><p>Computes <code>self - rhs</code>, returning <code>None</code> if an overflow occurred.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="number">5</span>.seconds().checked_sub(<span class="number">5</span>.seconds()), <span class="prelude-val">Some</span>(Duration::ZERO));
<span class="macro">assert_eq!</span>(Duration::MIN.checked_sub(<span class="number">1</span>.nanoseconds()), <span class="prelude-val">None</span>);
<span class="macro">assert_eq!</span>(<span class="number">5</span>.seconds().checked_sub(<span class="number">10</span>.seconds()), <span class="prelude-val">Some</span>((-<span class="number">5</span>).seconds()));</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_mul" class="method"><h4 class="code-header">pub const fn <a href="#method.checked_mul" class="fn">checked_mul</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt;</h4></section></summary><div class="docblock"><p>Computes <code>self * rhs</code>, returning <code>None</code> if an overflow occurred.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="number">5</span>.seconds().checked_mul(<span class="number">2</span>), <span class="prelude-val">Some</span>(<span class="number">10</span>.seconds()));
<span class="macro">assert_eq!</span>(<span class="number">5</span>.seconds().checked_mul(-<span class="number">2</span>), <span class="prelude-val">Some</span>((-<span class="number">10</span>).seconds()));
<span class="macro">assert_eq!</span>(<span class="number">5</span>.seconds().checked_mul(<span class="number">0</span>), <span class="prelude-val">Some</span>(<span class="number">0</span>.seconds()));
<span class="macro">assert_eq!</span>(Duration::MAX.checked_mul(<span class="number">2</span>), <span class="prelude-val">None</span>);
<span class="macro">assert_eq!</span>(Duration::MIN.checked_mul(<span class="number">2</span>), <span class="prelude-val">None</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_div" class="method"><h4 class="code-header">pub const fn <a href="#method.checked_div" class="fn">checked_div</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt;</h4></section></summary><div class="docblock"><p>Computes <code>self / rhs</code>, returning <code>None</code> if <code>rhs == 0</code> or if the result would overflow.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="number">10</span>.seconds().checked_div(<span class="number">2</span>), <span class="prelude-val">Some</span>(<span class="number">5</span>.seconds()));
<span class="macro">assert_eq!</span>(<span class="number">10</span>.seconds().checked_div(-<span class="number">2</span>), <span class="prelude-val">Some</span>((-<span class="number">5</span>).seconds()));
<span class="macro">assert_eq!</span>(<span class="number">1</span>.seconds().checked_div(<span class="number">0</span>), <span class="prelude-val">None</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_neg" class="method"><h4 class="code-header">pub const fn <a href="#method.checked_neg" class="fn">checked_neg</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt;</h4></section></summary><div class="docblock"><p>Computes <code>-self</code>, returning <code>None</code> if the result would overflow.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="number">5</span>.seconds().checked_neg(), <span class="prelude-val">Some</span>((-<span class="number">5</span>).seconds()));
<span class="macro">assert_eq!</span>(Duration::MIN.checked_neg(), <span class="prelude-val">None</span>);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_add" class="method"><h4 class="code-header">pub const fn <a href="#method.saturating_add" class="fn">saturating_add</a>(self, rhs: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Computes <code>self + rhs</code>, saturating if an overflow occurred.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="number">5</span>.seconds().saturating_add(<span class="number">5</span>.seconds()), <span class="number">10</span>.seconds());
<span class="macro">assert_eq!</span>(Duration::MAX.saturating_add(<span class="number">1</span>.nanoseconds()), Duration::MAX);
<span class="macro">assert_eq!</span>(
Duration::MIN.saturating_add((-<span class="number">1</span>).nanoseconds()),
Duration::MIN
);
<span class="macro">assert_eq!</span>((-<span class="number">5</span>).seconds().saturating_add(<span class="number">5</span>.seconds()), Duration::ZERO);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_sub" class="method"><h4 class="code-header">pub const fn <a href="#method.saturating_sub" class="fn">saturating_sub</a>(self, rhs: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Computes <code>self - rhs</code>, saturating if an overflow occurred.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="number">5</span>.seconds().saturating_sub(<span class="number">5</span>.seconds()), Duration::ZERO);
<span class="macro">assert_eq!</span>(Duration::MIN.saturating_sub(<span class="number">1</span>.nanoseconds()), Duration::MIN);
<span class="macro">assert_eq!</span>(
Duration::MAX.saturating_sub((-<span class="number">1</span>).nanoseconds()),
Duration::MAX
);
<span class="macro">assert_eq!</span>(<span class="number">5</span>.seconds().saturating_sub(<span class="number">10</span>.seconds()), (-<span class="number">5</span>).seconds());</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_mul" class="method"><h4 class="code-header">pub const fn <a href="#method.saturating_mul" class="fn">saturating_mul</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -&gt; <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Computes <code>self * rhs</code>, saturating if an overflow occurred.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="number">5</span>.seconds().saturating_mul(<span class="number">2</span>), <span class="number">10</span>.seconds());
<span class="macro">assert_eq!</span>(<span class="number">5</span>.seconds().saturating_mul(-<span class="number">2</span>), (-<span class="number">10</span>).seconds());
<span class="macro">assert_eq!</span>(<span class="number">5</span>.seconds().saturating_mul(<span class="number">0</span>), Duration::ZERO);
<span class="macro">assert_eq!</span>(Duration::MAX.saturating_mul(<span class="number">2</span>), Duration::MAX);
<span class="macro">assert_eq!</span>(Duration::MIN.saturating_mul(<span class="number">2</span>), Duration::MIN);
<span class="macro">assert_eq!</span>(Duration::MAX.saturating_mul(-<span class="number">2</span>), Duration::MIN);
<span class="macro">assert_eq!</span>(Duration::MIN.saturating_mul(-<span class="number">2</span>), Duration::MAX);</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.time_fn" class="method"><h4 class="code-header">pub fn <a href="#method.time_fn" class="fn">time_fn</a>&lt;T&gt;(f: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>() -&gt; T) -&gt; (<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>, T)</h4></section><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.3.32: extremely limited use case, not intended for benchmarking</span></div><div class="stab portability">Available on <strong>crate feature <code>std</code></strong> only.</div></span></summary><div class="docblock"><p>Runs a closure, returning the duration of time it took to run. The return value of the
closure is provided in the second part of the tuple.</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-Add%3CDuration%3E-for-Date" class="impl"><a href="#impl-Add%3CDuration%3E-for-Date" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt; 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 method-toggle" open><summary><section id="method.add-6" class="method trait-impl"><a href="#method.add-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add" class="fn">add</a>(self, duration: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; &lt;<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/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" title="type core::ops::arith::Add::Output">Output</a></h4></section></summary><div class="docblock"><h5 id="panics-16"><a class="doc-anchor" href="#panics-16">§</a>Panics</h5>
<p>This may panic if an overflow occurs.</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.Output-31" class="associatedtype trait-impl"><a href="#associatedtype.Output-31" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Date.html" title="struct actix_web::cookie::time::Date">Date</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CDuration%3E-for-Duration" class="impl"><a href="#impl-Add%3CDuration%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add-4" class="method trait-impl"><a href="#method.add-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add" class="fn">add</a>(self, std_duration: <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>) -&gt; &lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" title="type core::ops::arith::Add::Output">Output</a></h4></section></summary><div class="docblock"><h5 id="panics-14"><a class="doc-anchor" href="#panics-14">§</a>Panics</h5>
<p>This may panic if an overflow occurs.</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.Output-29" class="associatedtype trait-impl"><a href="#associatedtype.Output-29" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CDuration%3E-for-Instant" class="impl"><a href="#impl-Add%3CDuration%3E-for-Instant" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt; for <a class="struct" href="struct.Instant.html" title="struct actix_web::cookie::time::Instant">Instant</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add-5" class="method trait-impl"><a href="#method.add-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add" class="fn">add</a>(self, duration: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; &lt;<a class="struct" href="struct.Instant.html" title="struct actix_web::cookie::time::Instant">Instant</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" title="type core::ops::arith::Add::Output">Output</a></h4></section></summary><div class="docblock"><h5 id="panics-15"><a class="doc-anchor" href="#panics-15">§</a>Panics</h5>
<p>This function may panic if the resulting point in time cannot be represented by the
underlying data structure.</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.Output-30" class="associatedtype trait-impl"><a href="#associatedtype.Output-30" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Instant.html" title="struct actix_web::cookie::time::Instant">Instant</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CDuration%3E-for-OffsetDateTime" class="impl"><a href="#impl-Add%3CDuration%3E-for-OffsetDateTime" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt; 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 method-toggle" open><summary><section id="method.add-1" class="method trait-impl"><a href="#method.add-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add" class="fn">add</a>(self, duration: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; &lt;<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/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" title="type core::ops::arith::Add::Output">Output</a></h4></section></summary><div class="docblock"><h5 id="panics-12"><a class="doc-anchor" href="#panics-12">§</a>Panics</h5>
<p>This may panic if an overflow occurs.</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.Output-26" class="associatedtype trait-impl"><a href="#associatedtype.Output-26" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OffsetDateTime.html" title="struct actix_web::cookie::time::OffsetDateTime">OffsetDateTime</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CDuration%3E-for-PrimitiveDateTime" class="impl"><a href="#impl-Add%3CDuration%3E-for-PrimitiveDateTime" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt; 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 method-toggle" open><summary><section id="method.add" class="method trait-impl"><a href="#method.add" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add" class="fn">add</a>(self, duration: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; &lt;<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/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" title="type core::ops::arith::Add::Output">Output</a></h4></section></summary><div class="docblock"><h5 id="panics-11"><a class="doc-anchor" href="#panics-11">§</a>Panics</h5>
<p>This may panic if an overflow occurs.</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.Output-25" class="associatedtype trait-impl"><a href="#associatedtype.Output-25" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.PrimitiveDateTime.html" title="struct actix_web::cookie::time::PrimitiveDateTime">PrimitiveDateTime</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CDuration%3E-for-Time" class="impl"><a href="#impl-Add%3CDuration%3E-for-Time" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt; 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 method-toggle" open><summary><section id="method.add-3" class="method trait-impl"><a href="#method.add-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add" class="fn">add</a>(self, duration: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; &lt;<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/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" title="type core::ops::arith::Add::Output">Output</a></h4></section></summary><div class="docblock"><p>Add the sub-day time of the <a href="struct.Duration.html" title="struct actix_web::cookie::time::Duration"><code>Duration</code></a> to the <code>Time</code>. Wraps on overflow.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="macro">time!</span>(<span class="number">12</span>:<span class="number">00</span>) + <span class="number">2</span>.hours(), <span class="macro">time!</span>(<span class="number">14</span>:<span class="number">00</span>));
<span class="macro">assert_eq!</span>(<span class="macro">time!</span>(<span class="number">0</span>:<span class="number">00</span>:<span class="number">01</span>) + (-<span class="number">2</span>).seconds(), <span class="macro">time!</span>(<span class="number">23</span>:<span class="number">59</span>:<span class="number">59</span>));</code></pre></div>
</div></details><details class="toggle" open><summary><section id="associatedtype.Output-28" class="associatedtype trait-impl"><a href="#associatedtype.Output-28" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Time.html" title="struct actix_web::cookie::time::Time">Time</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add-for-Duration" class="impl"><a href="#impl-Add-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a> for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add-2" class="method trait-impl"><a href="#method.add-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add" class="fn">add</a>(self, rhs: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; &lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" title="type core::ops::arith::Add::Output">Output</a></h4></section></summary><div class="docblock"><h5 id="panics-13"><a class="doc-anchor" href="#panics-13">§</a>Panics</h5>
<p>This may panic if an overflow occurs.</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.Output-27" class="associatedtype trait-impl"><a href="#associatedtype.Output-27" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AddAssign%3CDuration%3E-for-Date" class="impl"><a href="#impl-AddAssign%3CDuration%3E-for-Date" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt; 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 method-toggle" open><summary><section id="method.add_assign-5" class="method trait-impl"><a href="#method.add_assign-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign" class="fn">add_assign</a>(&amp;mut self, rhs: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>)</h4></section></summary><div class='docblock'>Performs the <code>+=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AddAssign%3CDuration%3E-for-Duration" class="impl"><a href="#impl-AddAssign%3CDuration%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add_assign-2" class="method trait-impl"><a href="#method.add_assign-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign" class="fn">add_assign</a>(&amp;mut self, rhs: <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>)</h4></section></summary><div class='docblock'>Performs the <code>+=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AddAssign%3CDuration%3E-for-Instant" class="impl"><a href="#impl-AddAssign%3CDuration%3E-for-Instant" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt; for <a class="struct" href="struct.Instant.html" title="struct actix_web::cookie::time::Instant">Instant</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add_assign-4" class="method trait-impl"><a href="#method.add_assign-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign" class="fn">add_assign</a>(&amp;mut self, rhs: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>)</h4></section></summary><div class='docblock'>Performs the <code>+=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AddAssign%3CDuration%3E-for-OffsetDateTime" class="impl"><a href="#impl-AddAssign%3CDuration%3E-for-OffsetDateTime" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt; 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 method-toggle" open><summary><section id="method.add_assign-1" class="method trait-impl"><a href="#method.add_assign-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign" class="fn">add_assign</a>(&amp;mut self, rhs: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>)</h4></section></summary><div class="docblock"><h5 id="panics-19"><a class="doc-anchor" href="#panics-19">§</a>Panics</h5>
<p>This may panic if an overflow occurs.</p>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AddAssign%3CDuration%3E-for-PrimitiveDateTime" class="impl"><a href="#impl-AddAssign%3CDuration%3E-for-PrimitiveDateTime" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt; 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 method-toggle" open><summary><section id="method.add_assign-3" class="method trait-impl"><a href="#method.add_assign-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign" class="fn">add_assign</a>(&amp;mut self, duration: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>)</h4></section></summary><div class="docblock"><h5 id="panics-20"><a class="doc-anchor" href="#panics-20">§</a>Panics</h5>
<p>This may panic if an overflow occurs.</p>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AddAssign%3CDuration%3E-for-Time" class="impl"><a href="#impl-AddAssign%3CDuration%3E-for-Time" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt; 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 method-toggle" open><summary><section id="method.add_assign" class="method trait-impl"><a href="#method.add_assign" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign" class="fn">add_assign</a>(&amp;mut self, rhs: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>)</h4></section></summary><div class='docblock'>Performs the <code>+=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AddAssign-for-Duration" class="impl"><a href="#impl-AddAssign-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a> for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add_assign-6" class="method trait-impl"><a href="#method.add_assign-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign" class="fn">add_assign</a>(&amp;mut self, rhs: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>)</h4></section></summary><div class='docblock'>Performs the <code>+=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-Duration" class="impl"><a href="#impl-Clone-for-Duration" 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.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</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>(&amp;self) -&gt; <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</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>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;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-Duration" class="impl"><a href="#impl-Debug-for-Duration" 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.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-1" class="method trait-impl"><a href="#method.fmt-1" 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>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="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>&gt;</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-Duration" class="impl"><a href="#impl-Default-for-Duration" 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.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</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>() -&gt; <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</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-Display-for-Duration" class="impl"><a href="#impl-Display-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="docblock"><p>The format returned by this implementation is not stable and must not be relied upon.</p>
<p>By default this produces an exact, full-precision printout of the duration.
For a concise, rounded printout instead, you can use the <code>.N</code> format specifier:</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>duration = Duration::new(<span class="number">123456</span>, <span class="number">789011223</span>);
<span class="macro">println!</span>(<span class="string">"{duration:.3}"</span>);</code></pre></div>
<p>For the purposes of this implementation, a day is exactly 24 hours and a minute is exactly 60
seconds.</p>
</div><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.Display.html#tymethod.fmt" class="fn">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="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>&gt;</h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div%3CDuration%3E-for-Duration" class="impl"><a href="#impl-Div%3CDuration%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-5" class="associatedtype trait-impl"><a href="#associatedtype.Output-5" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div-5" class="method trait-impl"><a href="#method.div-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, rhs: <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>) -&gt; &lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div%3Cf32%3E-for-Duration" class="impl"><a href="#impl-Div%3Cf32%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-9" class="associatedtype trait-impl"><a href="#associatedtype.Output-9" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div-9" class="method trait-impl"><a href="#method.div-9" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -&gt; &lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div%3Cf64%3E-for-Duration" class="impl"><a href="#impl-Div%3Cf64%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-3" class="associatedtype trait-impl"><a href="#associatedtype.Output-3" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div-3" class="method trait-impl"><a href="#method.div-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -&gt; &lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div%3Ci16%3E-for-Duration" class="impl"><a href="#impl-Div%3Ci16%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-1" class="associatedtype trait-impl"><a href="#associatedtype.Output-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div-1" class="method trait-impl"><a href="#method.div-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>) -&gt; &lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div%3Ci32%3E-for-Duration" class="impl"><a href="#impl-Div%3Ci32%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-2" class="associatedtype trait-impl"><a href="#associatedtype.Output-2" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div-2" class="method trait-impl"><a href="#method.div-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -&gt; &lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div%3Ci8%3E-for-Duration" class="impl"><a href="#impl-Div%3Ci8%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-7" class="associatedtype trait-impl"><a href="#associatedtype.Output-7" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div-7" class="method trait-impl"><a href="#method.div-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -&gt; &lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div%3Cu16%3E-for-Duration" class="impl"><a href="#impl-Div%3Cu16%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-6" class="associatedtype trait-impl"><a href="#associatedtype.Output-6" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div-6" class="method trait-impl"><a href="#method.div-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -&gt; &lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div%3Cu32%3E-for-Duration" class="impl"><a href="#impl-Div%3Cu32%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-8" class="associatedtype trait-impl"><a href="#associatedtype.Output-8" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div-8" class="method trait-impl"><a href="#method.div-8" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -&gt; &lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div%3Cu8%3E-for-Duration" class="impl"><a href="#impl-Div%3Cu8%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></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://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div" class="method trait-impl"><a href="#method.div" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -&gt; &lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div-for-Duration" class="impl"><a href="#impl-Div-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a> for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-4" class="associatedtype trait-impl"><a href="#associatedtype.Output-4" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div-4" class="method trait-impl"><a href="#method.div-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, rhs: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; &lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-DivAssign%3Cf32%3E-for-Duration" class="impl"><a href="#impl-DivAssign%3Cf32%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.div_assign-4" class="method trait-impl"><a href="#method.div_assign-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign" class="fn">div_assign</a>(&amp;mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>)</h4></section></summary><div class='docblock'>Performs the <code>/=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-DivAssign%3Cf64%3E-for-Duration" class="impl"><a href="#impl-DivAssign%3Cf64%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.div_assign-5" class="method trait-impl"><a href="#method.div_assign-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign" class="fn">div_assign</a>(&amp;mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>)</h4></section></summary><div class='docblock'>Performs the <code>/=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-DivAssign%3Ci16%3E-for-Duration" class="impl"><a href="#impl-DivAssign%3Ci16%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.div_assign" class="method trait-impl"><a href="#method.div_assign" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign" class="fn">div_assign</a>(&amp;mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>)</h4></section></summary><div class='docblock'>Performs the <code>/=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-DivAssign%3Ci32%3E-for-Duration" class="impl"><a href="#impl-DivAssign%3Ci32%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.div_assign-7" class="method trait-impl"><a href="#method.div_assign-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign" class="fn">div_assign</a>(&amp;mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>)</h4></section></summary><div class='docblock'>Performs the <code>/=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-DivAssign%3Ci8%3E-for-Duration" class="impl"><a href="#impl-DivAssign%3Ci8%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.div_assign-2" class="method trait-impl"><a href="#method.div_assign-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign" class="fn">div_assign</a>(&amp;mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>)</h4></section></summary><div class='docblock'>Performs the <code>/=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-DivAssign%3Cu16%3E-for-Duration" class="impl"><a href="#impl-DivAssign%3Cu16%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.div_assign-6" class="method trait-impl"><a href="#method.div_assign-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign" class="fn">div_assign</a>(&amp;mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>)</h4></section></summary><div class='docblock'>Performs the <code>/=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-DivAssign%3Cu32%3E-for-Duration" class="impl"><a href="#impl-DivAssign%3Cu32%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.div_assign-3" class="method trait-impl"><a href="#method.div_assign-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign" class="fn">div_assign</a>(&amp;mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</h4></section></summary><div class='docblock'>Performs the <code>/=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-DivAssign%3Cu8%3E-for-Duration" class="impl"><a href="#impl-DivAssign%3Cu8%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.div_assign-1" class="method trait-impl"><a href="#method.div_assign-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign" class="fn">div_assign</a>(&amp;mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>)</h4></section></summary><div class='docblock'>Performs the <code>/=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Hash-for-Duration" class="impl"><a href="#impl-Hash-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.hash" class="method trait-impl"><a href="#method.hash" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash" class="fn">hash</a>&lt;__H&gt;(&amp;self, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut __H</a>)<div class="where">where
__H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,</div></h4></section></summary><div class='docblock'>Feeds this value into the given <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.hash_slice" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.3.0">1.3.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#238-240">source</a></span><a href="#method.hash_slice" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice" class="fn">hash_slice</a>&lt;H&gt;(data: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut H</a>)<div class="where">where
H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Feeds a slice of this type into the given <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3Cf32%3E-for-Duration" class="impl"><a href="#impl-Mul%3Cf32%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-12" class="associatedtype trait-impl"><a href="#associatedtype.Output-12" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-2" class="method trait-impl"><a href="#method.mul-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -&gt; &lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3Cf64%3E-for-Duration" class="impl"><a href="#impl-Mul%3Cf64%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-11" class="associatedtype trait-impl"><a href="#associatedtype.Output-11" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-1" class="method trait-impl"><a href="#method.mul-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -&gt; &lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3Ci16%3E-for-Duration" class="impl"><a href="#impl-Mul%3Ci16%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-14" class="associatedtype trait-impl"><a href="#associatedtype.Output-14" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-4" class="method trait-impl"><a href="#method.mul-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>) -&gt; &lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3Ci32%3E-for-Duration" class="impl"><a href="#impl-Mul%3Ci32%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-15" class="associatedtype trait-impl"><a href="#associatedtype.Output-15" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-5" class="method trait-impl"><a href="#method.mul-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -&gt; &lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3Ci8%3E-for-Duration" class="impl"><a href="#impl-Mul%3Ci8%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-10" class="associatedtype trait-impl"><a href="#associatedtype.Output-10" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul" class="method trait-impl"><a href="#method.mul" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -&gt; &lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3Cu16%3E-for-Duration" class="impl"><a href="#impl-Mul%3Cu16%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-16" class="associatedtype trait-impl"><a href="#associatedtype.Output-16" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-6" class="method trait-impl"><a href="#method.mul-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -&gt; &lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3Cu32%3E-for-Duration" class="impl"><a href="#impl-Mul%3Cu32%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-17" class="associatedtype trait-impl"><a href="#associatedtype.Output-17" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-7" class="method trait-impl"><a href="#method.mul-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -&gt; &lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3Cu8%3E-for-Duration" class="impl"><a href="#impl-Mul%3Cu8%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-13" class="associatedtype trait-impl"><a href="#associatedtype.Output-13" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-3" class="method trait-impl"><a href="#method.mul-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -&gt; &lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MulAssign%3Cf32%3E-for-Duration" class="impl"><a href="#impl-MulAssign%3Cf32%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mul_assign-2" class="method trait-impl"><a href="#method.mul_assign-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign" class="fn">mul_assign</a>(&amp;mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>)</h4></section></summary><div class='docblock'>Performs the <code>*=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MulAssign%3Cf64%3E-for-Duration" class="impl"><a href="#impl-MulAssign%3Cf64%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mul_assign-5" class="method trait-impl"><a href="#method.mul_assign-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign" class="fn">mul_assign</a>(&amp;mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>)</h4></section></summary><div class='docblock'>Performs the <code>*=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MulAssign%3Ci16%3E-for-Duration" class="impl"><a href="#impl-MulAssign%3Ci16%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mul_assign-7" class="method trait-impl"><a href="#method.mul_assign-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign" class="fn">mul_assign</a>(&amp;mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>)</h4></section></summary><div class='docblock'>Performs the <code>*=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MulAssign%3Ci32%3E-for-Duration" class="impl"><a href="#impl-MulAssign%3Ci32%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mul_assign-4" class="method trait-impl"><a href="#method.mul_assign-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign" class="fn">mul_assign</a>(&amp;mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>)</h4></section></summary><div class='docblock'>Performs the <code>*=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MulAssign%3Ci8%3E-for-Duration" class="impl"><a href="#impl-MulAssign%3Ci8%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mul_assign-3" class="method trait-impl"><a href="#method.mul_assign-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign" class="fn">mul_assign</a>(&amp;mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>)</h4></section></summary><div class='docblock'>Performs the <code>*=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MulAssign%3Cu16%3E-for-Duration" class="impl"><a href="#impl-MulAssign%3Cu16%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mul_assign" class="method trait-impl"><a href="#method.mul_assign" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign" class="fn">mul_assign</a>(&amp;mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>)</h4></section></summary><div class='docblock'>Performs the <code>*=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MulAssign%3Cu32%3E-for-Duration" class="impl"><a href="#impl-MulAssign%3Cu32%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mul_assign-1" class="method trait-impl"><a href="#method.mul_assign-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign" class="fn">mul_assign</a>(&amp;mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</h4></section></summary><div class='docblock'>Performs the <code>*=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MulAssign%3Cu8%3E-for-Duration" class="impl"><a href="#impl-MulAssign%3Cu8%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mul_assign-6" class="method trait-impl"><a href="#method.mul_assign-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign" class="fn">mul_assign</a>(&amp;mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>)</h4></section></summary><div class='docblock'>Performs the <code>*=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Neg-for-Duration" class="impl"><a href="#impl-Neg-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html" title="trait core::ops::arith::Neg">Neg</a> for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-32" class="associatedtype trait-impl"><a href="#associatedtype.Output-32" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.neg" class="method trait-impl"><a href="#method.neg" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html#tymethod.neg" class="fn">neg</a>(self) -&gt; &lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html" title="trait core::ops::arith::Neg">Neg</a>&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html#associatedtype.Output" title="type core::ops::arith::Neg::Output">Output</a></h4></section></summary><div class='docblock'>Performs the unary <code>-</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html#tymethod.neg">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Ord-for-Duration" class="impl"><a href="#impl-Ord-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmp" class="method trait-impl"><a href="#method.cmp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp" class="fn">cmp</a>(&amp;self, other: &amp;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a></h4></section></summary><div class='docblock'>This method returns an <a href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering"><code>Ordering</code></a> between <code>self</code> and <code>other</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.max" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.21.0">1.21.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#856-858">source</a></span><a href="#method.max" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max" class="fn">max</a>(self, other: Self) -&gt; Self<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Compares and returns the maximum of two values. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.min" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.21.0">1.21.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#877-879">source</a></span><a href="#method.min" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min" class="fn">min</a>(self, other: Self) -&gt; Self<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Compares and returns the minimum of two values. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clamp" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.50.0">1.50.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#903-906">source</a></span><a href="#method.clamp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp" class="fn">clamp</a>(self, min: Self, max: Self) -&gt; Self<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a>,</div></h4></section></summary><div class='docblock'>Restrict a value to a certain interval. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CDuration%3E-for-Duration" class="impl"><a href="#impl-PartialEq%3CDuration%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&amp;self, rhs: &amp;<a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne" 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/cmp.rs.html#263">source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>!=</code>. The default implementation is almost always
sufficient, and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq-for-Duration" class="impl"><a href="#impl-PartialEq-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-1" class="method trait-impl"><a href="#method.eq-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&amp;self, other: &amp;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-1" 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/cmp.rs.html#263">source</a></span><a href="#method.ne-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>!=</code>. The default implementation is almost always
sufficient, and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CDuration%3E-for-Duration" class="impl"><a href="#impl-PartialOrd%3CDuration%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp" class="method trait-impl"><a href="#method.partial_cmp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&amp;self, rhs: &amp;<a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>&gt;</h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt" 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/cmp.rs.html#1180">source</a></span><a href="#method.lt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests less than (for <code>self</code> and <code>other</code>) and is used by the <code>&lt;</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le" 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/cmp.rs.html#1198">source</a></span><a href="#method.le" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>&lt;=</code>
operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt" 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/cmp.rs.html#1215">source</a></span><a href="#method.gt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>&gt;</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge" 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/cmp.rs.html#1233">source</a></span><a href="#method.ge" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>&gt;=</code>
operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd-for-Duration" class="impl"><a href="#impl-PartialOrd-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a> for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-1" class="method trait-impl"><a href="#method.partial_cmp-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&amp;self, other: &amp;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>&gt;</h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-1" 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/cmp.rs.html#1180">source</a></span><a href="#method.lt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests less than (for <code>self</code> and <code>other</code>) and is used by the <code>&lt;</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-1" 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/cmp.rs.html#1198">source</a></span><a href="#method.le-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>&lt;=</code>
operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-1" 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/cmp.rs.html#1215">source</a></span><a href="#method.gt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>&gt;</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-1" 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/cmp.rs.html#1233">source</a></span><a href="#method.ge-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>&gt;=</code>
operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub%3CDuration%3E-for-Date" class="impl"><a href="#impl-Sub%3CDuration%3E-for-Date" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt; 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 method-toggle" open><summary><section id="method.sub" class="method trait-impl"><a href="#method.sub" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub" class="fn">sub</a>(self, duration: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; &lt;<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/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" title="type core::ops::arith::Sub::Output">Output</a></h4></section></summary><div class="docblock"><h5 id="panics-5"><a class="doc-anchor" href="#panics-5">§</a>Panics</h5>
<p>This may panic if an overflow occurs.</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.Output-18" class="associatedtype trait-impl"><a href="#associatedtype.Output-18" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Date.html" title="struct actix_web::cookie::time::Date">Date</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub%3CDuration%3E-for-Duration" class="impl"><a href="#impl-Sub%3CDuration%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sub-5" class="method trait-impl"><a href="#method.sub-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub" class="fn">sub</a>(self, rhs: <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>) -&gt; &lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" title="type core::ops::arith::Sub::Output">Output</a></h4></section></summary><div class="docblock"><h5 id="panics-10"><a class="doc-anchor" href="#panics-10">§</a>Panics</h5>
<p>This may panic if an overflow occurs.</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.Output-23" class="associatedtype trait-impl"><a href="#associatedtype.Output-23" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub%3CDuration%3E-for-Instant" class="impl"><a href="#impl-Sub%3CDuration%3E-for-Instant" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt; for <a class="struct" href="struct.Instant.html" title="struct actix_web::cookie::time::Instant">Instant</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sub-3" class="method trait-impl"><a href="#method.sub-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub" class="fn">sub</a>(self, duration: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; &lt;<a class="struct" href="struct.Instant.html" title="struct actix_web::cookie::time::Instant">Instant</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" title="type core::ops::arith::Sub::Output">Output</a></h4></section></summary><div class="docblock"><h5 id="panics-8"><a class="doc-anchor" href="#panics-8">§</a>Panics</h5>
<p>This function may panic if the resulting point in time cannot be represented by the
underlying data structure.</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.Output-21" class="associatedtype trait-impl"><a href="#associatedtype.Output-21" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Instant.html" title="struct actix_web::cookie::time::Instant">Instant</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub%3CDuration%3E-for-OffsetDateTime" class="impl"><a href="#impl-Sub%3CDuration%3E-for-OffsetDateTime" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt; 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 method-toggle" open><summary><section id="method.sub-1" class="method trait-impl"><a href="#method.sub-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub" class="fn">sub</a>(self, rhs: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; &lt;<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/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" title="type core::ops::arith::Sub::Output">Output</a></h4></section></summary><div class="docblock"><h5 id="panics-6"><a class="doc-anchor" href="#panics-6">§</a>Panics</h5>
<p>This may panic if an overflow occurs.</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.Output-19" class="associatedtype trait-impl"><a href="#associatedtype.Output-19" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OffsetDateTime.html" title="struct actix_web::cookie::time::OffsetDateTime">OffsetDateTime</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub%3CDuration%3E-for-PrimitiveDateTime" class="impl"><a href="#impl-Sub%3CDuration%3E-for-PrimitiveDateTime" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt; 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 method-toggle" open><summary><section id="method.sub-4" class="method trait-impl"><a href="#method.sub-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub" class="fn">sub</a>(self, duration: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; &lt;<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/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" title="type core::ops::arith::Sub::Output">Output</a></h4></section></summary><div class="docblock"><h5 id="panics-9"><a class="doc-anchor" href="#panics-9">§</a>Panics</h5>
<p>This may panic if an overflow occurs.</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.Output-22" class="associatedtype trait-impl"><a href="#associatedtype.Output-22" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.PrimitiveDateTime.html" title="struct actix_web::cookie::time::PrimitiveDateTime">PrimitiveDateTime</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub%3CDuration%3E-for-Time" class="impl"><a href="#impl-Sub%3CDuration%3E-for-Time" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt; 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 method-toggle" open><summary><section id="method.sub-6" class="method trait-impl"><a href="#method.sub-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub" class="fn">sub</a>(self, duration: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; &lt;<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/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" title="type core::ops::arith::Sub::Output">Output</a></h4></section></summary><div class="docblock"><p>Subtract the sub-day time of the <a href="struct.Duration.html" title="struct actix_web::cookie::time::Duration"><code>Duration</code></a> from the <code>Time</code>. Wraps on overflow.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="macro">time!</span>(<span class="number">14</span>:<span class="number">00</span>) - <span class="number">2</span>.hours(), <span class="macro">time!</span>(<span class="number">12</span>:<span class="number">00</span>));
<span class="macro">assert_eq!</span>(<span class="macro">time!</span>(<span class="number">23</span>:<span class="number">59</span>:<span class="number">59</span>) - (-<span class="number">2</span>).seconds(), <span class="macro">time!</span>(<span class="number">0</span>:<span class="number">00</span>:<span class="number">01</span>));</code></pre></div>
</div></details><details class="toggle" open><summary><section id="associatedtype.Output-24" class="associatedtype trait-impl"><a href="#associatedtype.Output-24" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Time.html" title="struct actix_web::cookie::time::Time">Time</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub-for-Duration" class="impl"><a href="#impl-Sub-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a> for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sub-2" class="method trait-impl"><a href="#method.sub-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub" class="fn">sub</a>(self, rhs: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>) -&gt; &lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" title="type core::ops::arith::Sub::Output">Output</a></h4></section></summary><div class="docblock"><h5 id="panics-7"><a class="doc-anchor" href="#panics-7">§</a>Panics</h5>
<p>This may panic if an overflow occurs.</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.Output-20" class="associatedtype trait-impl"><a href="#associatedtype.Output-20" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SubAssign%3CDuration%3E-for-Date" class="impl"><a href="#impl-SubAssign%3CDuration%3E-for-Date" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt; 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 method-toggle" open><summary><section id="method.sub_assign-5" class="method trait-impl"><a href="#method.sub_assign-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign" class="fn">sub_assign</a>(&amp;mut self, rhs: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>)</h4></section></summary><div class='docblock'>Performs the <code>-=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SubAssign%3CDuration%3E-for-Duration" class="impl"><a href="#impl-SubAssign%3CDuration%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sub_assign-2" class="method trait-impl"><a href="#method.sub_assign-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign" class="fn">sub_assign</a>(&amp;mut self, rhs: <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>)</h4></section></summary><div class='docblock'>Performs the <code>-=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SubAssign%3CDuration%3E-for-Instant" class="impl"><a href="#impl-SubAssign%3CDuration%3E-for-Instant" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt; for <a class="struct" href="struct.Instant.html" title="struct actix_web::cookie::time::Instant">Instant</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sub_assign-3" class="method trait-impl"><a href="#method.sub_assign-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign" class="fn">sub_assign</a>(&amp;mut self, rhs: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>)</h4></section></summary><div class='docblock'>Performs the <code>-=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SubAssign%3CDuration%3E-for-OffsetDateTime" class="impl"><a href="#impl-SubAssign%3CDuration%3E-for-OffsetDateTime" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt; 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 method-toggle" open><summary><section id="method.sub_assign-1" class="method trait-impl"><a href="#method.sub_assign-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign" class="fn">sub_assign</a>(&amp;mut self, rhs: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>)</h4></section></summary><div class="docblock"><h5 id="panics-18"><a class="doc-anchor" href="#panics-18">§</a>Panics</h5>
<p>This may panic if an overflow occurs.</p>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SubAssign%3CDuration%3E-for-PrimitiveDateTime" class="impl"><a href="#impl-SubAssign%3CDuration%3E-for-PrimitiveDateTime" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt; 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 method-toggle" open><summary><section id="method.sub_assign" class="method trait-impl"><a href="#method.sub_assign" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign" class="fn">sub_assign</a>(&amp;mut self, duration: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>)</h4></section></summary><div class="docblock"><h5 id="panics-17"><a class="doc-anchor" href="#panics-17">§</a>Panics</h5>
<p>This may panic if an overflow occurs.</p>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SubAssign%3CDuration%3E-for-Time" class="impl"><a href="#impl-SubAssign%3CDuration%3E-for-Time" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt; 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 method-toggle" open><summary><section id="method.sub_assign-6" class="method trait-impl"><a href="#method.sub_assign-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign" class="fn">sub_assign</a>(&amp;mut self, rhs: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>)</h4></section></summary><div class='docblock'>Performs the <code>-=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SubAssign-for-Duration" class="impl"><a href="#impl-SubAssign-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a> for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sub_assign-4" class="method trait-impl"><a href="#method.sub_assign-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign" class="fn">sub_assign</a>(&amp;mut self, rhs: <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>)</h4></section></summary><div class='docblock'>Performs the <code>-=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sum%3C%26Duration%3E-for-Duration" class="impl"><a href="#impl-Sum%3C%26Duration%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Sum.html" title="trait core::iter::traits::accum::Sum">Sum</a>&lt;&amp;'a <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sum" class="method trait-impl"><a href="#method.sum" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Sum.html#tymethod.sum" class="fn">sum</a>&lt;I&gt;(iter: I) -&gt; <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a><div class="where">where
I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = &amp;'a <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt;,</div></h4></section></summary><div class='docblock'>Method which takes an iterator and generates <code>Self</code> from the elements by
“summing up” the items.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sum-for-Duration" class="impl"><a href="#impl-Sum-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Sum.html" title="trait core::iter::traits::accum::Sum">Sum</a> for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sum-1" class="method trait-impl"><a href="#method.sum-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Sum.html#tymethod.sum" class="fn">sum</a>&lt;I&gt;(iter: I) -&gt; <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a><div class="where">where
I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>&gt;,</div></h4></section></summary><div class='docblock'>Method which takes an iterator and generates <code>Self</code> from the elements by
“summing up” the items.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-TryFrom%3CDuration%3E-for-Duration" class="impl"><a href="#impl-TryFrom%3CDuration%3E-for-Duration" 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>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>&gt; for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</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="struct" href="error/struct.ConversionRange.html" title="struct actix_web::cookie::time::error::ConversionRange">ConversionRange</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>(original: <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a>, <a class="struct" href="error/struct.ConversionRange.html" title="struct actix_web::cookie::time::error::ConversionRange">ConversionRange</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><section id="impl-Copy-for-Duration" class="impl"><a href="#impl-Copy-for-Duration" 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.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section><section id="impl-Eq-for-Duration" class="impl"><a href="#impl-Eq-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section><section id="impl-StructuralPartialEq-for-Duration" class="impl"><a href="#impl-StructuralPartialEq-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="struct" href="struct.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</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-Duration" class="impl"><a href="#impl-Freeze-for-Duration" 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.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section><section id="impl-RefUnwindSafe-for-Duration" class="impl"><a href="#impl-RefUnwindSafe-for-Duration" 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.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section><section id="impl-Send-for-Duration" class="impl"><a href="#impl-Send-for-Duration" 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.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section><section id="impl-Sync-for-Duration" class="impl"><a href="#impl-Sync-for-Duration" 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.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section><section id="impl-Unpin-for-Duration" class="impl"><a href="#impl-Unpin-for-Duration" 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.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</a></h3></section><section id="impl-UnwindSafe-for-Duration" class="impl"><a href="#impl-UnwindSafe-for-Duration" 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.Duration.html" title="struct actix_web::cookie::time::Duration">Duration</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&lt;T&gt; <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>(&amp;self) -&gt; <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&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; 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>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;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&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; 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>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;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-Comparable%3CK%3E-for-Q" class="impl"><a href="#impl-Comparable%3CK%3E-for-Q" class="anchor">§</a><h3 class="code-header">impl&lt;Q, K&gt; Comparable&lt;K&gt; for Q<div class="where">where
Q: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;Q&gt; + ?<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.compare" class="method trait-impl"><a href="#method.compare" class="anchor">§</a><h4 class="code-header">fn <a class="fn">compare</a>(&amp;self, key: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;K</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a></h4></section></summary><div class='docblock'>Compare self to <code>key</code> and return their ordering.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Equivalent%3CK%3E-for-Q" class="impl"><a href="#impl-Equivalent%3CK%3E-for-Q" class="anchor">§</a><h3 class="code-header">impl&lt;Q, K&gt; Equivalent&lt;K&gt; for Q<div class="where">where
Q: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;Q&gt; + ?<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.equivalent" class="method trait-impl"><a href="#method.equivalent" class="anchor">§</a><h4 class="code-header">fn <a class="fn">equivalent</a>(&amp;self, key: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;K</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Checks if this value is equivalent to the given key. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Equivalent%3CK%3E-for-Q-1" class="impl"><a href="#impl-Equivalent%3CK%3E-for-Q-1" class="anchor">§</a><h3 class="code-header">impl&lt;Q, K&gt; Equivalent&lt;K&gt; for Q<div class="where">where
Q: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;Q&gt; + ?<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.equivalent-1" class="method trait-impl"><a href="#method.equivalent-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">equivalent</a>(&amp;self, key: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;K</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Compare self to <code>key</code> and return <code>true</code> if they are equal.</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&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; 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) -&gt; 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&lt;T&gt; 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) -&gt; Instrumented&lt;Self&gt;</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) -&gt; Instrumented&lt;Self&gt;</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&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; 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>&lt;T&gt;,</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) -&gt; 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>&lt;T&gt; 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&lt;T&gt; <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-33" class="associatedtype trait-impl"><a href="#associatedtype.Output-33" 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&lt;T&gt; <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>(&amp;self) -&gt; 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>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;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-ToString-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/string.rs.html#2552">source</a><a href="#impl-ToString-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html" title="trait alloc::string::ToString">ToString</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> + ?<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.to_string" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/string.rs.html#2558">source</a><a href="#method.to_string" class="anchor">§</a><h4 class="code-header">default fn <a href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html#tymethod.to_string" class="fn">to_string</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section></summary><div class='docblock'>Converts the given value to a <code>String</code>. <a href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html#tymethod.to_string">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&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; 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>&lt;T&gt;,</div></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="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-1" 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-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>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<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>&gt;</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&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; 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>&lt;T&gt;,</div></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.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<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) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<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>&gt;</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&lt;V, T&gt; VZip&lt;V&gt; for T<div class="where">where
V: MultiLane&lt;T&gt;,</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) -&gt; 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&lt;T&gt; 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>&lt;S&gt;(self, subscriber: S) -&gt; WithDispatch&lt;Self&gt;<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>&lt;Dispatch&gt;,</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) -&gt; WithDispatch&lt;Self&gt;</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>