pub enum IfSourceModifiedSinceCondition {
Modified(OffsetDateTime),
Unmodified(OffsetDateTime),
}
Variants§
Modified(OffsetDateTime)
Unmodified(OffsetDateTime)
Trait Implementations§
source§impl Clone for IfSourceModifiedSinceCondition
impl Clone for IfSourceModifiedSinceCondition
source§fn clone(&self) -> IfSourceModifiedSinceCondition
fn clone(&self) -> IfSourceModifiedSinceCondition
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 Header for IfSourceModifiedSinceCondition
impl Header for IfSourceModifiedSinceCondition
fn name(&self) -> HeaderName
fn value(&self) -> HeaderValue
source§impl PartialEq for IfSourceModifiedSinceCondition
impl PartialEq for IfSourceModifiedSinceCondition
source§fn eq(&self, other: &IfSourceModifiedSinceCondition) -> bool
fn eq(&self, other: &IfSourceModifiedSinceCondition) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for IfSourceModifiedSinceCondition
impl Eq for IfSourceModifiedSinceCondition
impl StructuralPartialEq for IfSourceModifiedSinceCondition
Auto Trait Implementations§
impl Freeze for IfSourceModifiedSinceCondition
impl RefUnwindSafe for IfSourceModifiedSinceCondition
impl Send for IfSourceModifiedSinceCondition
impl Sync for IfSourceModifiedSinceCondition
impl Unpin for IfSourceModifiedSinceCondition
impl UnwindSafe for IfSourceModifiedSinceCondition
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.