pub(crate) struct HttpDate(HttpDate);
Expand description
A timestamp with HTTP formatting and parsing
Tuple Fields§
§0: HttpDate
Implementations§
Trait Implementations§
source§impl<'a> From<&'a HttpDate> for HeaderValue
impl<'a> From<&'a HttpDate> for HeaderValue
source§fn from(date: &'a HttpDate) -> HeaderValue
fn from(date: &'a HttpDate) -> HeaderValue
Converts to this type from the input type.
source§impl From<HttpDate> for HeaderValue
impl From<HttpDate> for HeaderValue
source§fn from(date: HttpDate) -> HeaderValue
fn from(date: HttpDate) -> HeaderValue
Converts to this type from the input type.
source§impl From<HttpDate> for SystemTime
impl From<HttpDate> for SystemTime
source§fn from(date: HttpDate) -> SystemTime
fn from(date: HttpDate) -> SystemTime
Converts to this type from the input type.
source§impl From<SystemTime> for HttpDate
impl From<SystemTime> for HttpDate
source§fn from(sys: SystemTime) -> HttpDate
fn from(sys: SystemTime) -> HttpDate
Converts to this type from the input type.
source§impl Ord for HttpDate
impl Ord for HttpDate
source§impl PartialEq for HttpDate
impl PartialEq for HttpDate
source§impl PartialOrd for HttpDate
impl PartialOrd for HttpDate
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryFromValues for HttpDate
impl TryFromValues for HttpDate
source§fn try_from_values<'i, I>(values: &mut I) -> Result<Self, Error>where
I: Iterator<Item = &'i HeaderValue>,
fn try_from_values<'i, I>(values: &mut I) -> Result<Self, Error>where
I: Iterator<Item = &'i HeaderValue>,
Try to convert from the values into an instance of
Self
.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 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