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
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.