pub struct HttpDate { /* private fields */ }Expand description
An HTTP date in one of the three formats defined in RFC 9110 § 5.6.7.
Values are created with HttpDate::imf_fixdate, HttpDate::rfc850,
and HttpDate::asctime, or parsed with decode. Construction
guarantees the components are always in range, so encode never fails.
Implementations§
Source§impl HttpDate
impl HttpDate
Trait Implementations§
impl Copy for HttpDate
impl Eq for HttpDate
impl StructuralPartialEq for HttpDate
Auto Trait Implementations§
impl Freeze for HttpDate
impl RefUnwindSafe for HttpDate
impl Send for HttpDate
impl Sync for HttpDate
impl Unpin for HttpDate
impl UnsafeUnpin for HttpDate
impl UnwindSafe for HttpDate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more