pub enum IfModifiedSinceCondition {
Modified(OffsetDateTime),
Unmodified(OffsetDateTime),
}
Variants§
Modified(OffsetDateTime)
Unmodified(OffsetDateTime)
Trait Implementations§
source§impl Clone for IfModifiedSinceCondition
impl Clone for IfModifiedSinceCondition
source§fn clone(&self) -> IfModifiedSinceCondition
fn clone(&self) -> IfModifiedSinceCondition
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for IfModifiedSinceCondition
impl Debug for IfModifiedSinceCondition
source§impl Header for IfModifiedSinceCondition
impl Header for IfModifiedSinceCondition
fn name(&self) -> HeaderName
fn value(&self) -> HeaderValue
source§impl PartialEq for IfModifiedSinceCondition
impl PartialEq for IfModifiedSinceCondition
source§fn eq(&self, other: &IfModifiedSinceCondition) -> bool
fn eq(&self, other: &IfModifiedSinceCondition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for IfModifiedSinceCondition
impl Eq for IfModifiedSinceCondition
impl StructuralPartialEq for IfModifiedSinceCondition
Auto Trait Implementations§
impl Freeze for IfModifiedSinceCondition
impl RefUnwindSafe for IfModifiedSinceCondition
impl Send for IfModifiedSinceCondition
impl Sync for IfModifiedSinceCondition
impl Unpin for IfModifiedSinceCondition
impl UnwindSafe for IfModifiedSinceCondition
Blanket Implementations§
source§impl<T> AsHeaders for Twhere
T: Header,
impl<T> AsHeaders for Twhere
T: Header,
type Iter = IntoIter<(HeaderName, HeaderValue)>
fn as_headers(&self) -> <T as AsHeaders>::Iter
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