enum IfRange_ {
EntityTag(EntityTag),
Date(HttpDate),
}
Variants§
EntityTag(EntityTag)
The entity-tag the client has of the resource
Date(HttpDate)
The date when the client retrieved the resource
Trait Implementations§
source§impl<'a> From<&'a IfRange_> for HeaderValue
impl<'a> From<&'a IfRange_> for HeaderValue
source§fn from(if_range: &'a IfRange_) -> HeaderValue
fn from(if_range: &'a IfRange_) -> HeaderValue
Converts to this type from the input type.
source§impl PartialEq for IfRange_
impl PartialEq for IfRange_
source§impl TryFromValues for IfRange_
impl TryFromValues for IfRange_
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 StructuralPartialEq for IfRange_
Auto Trait Implementations§
impl !Freeze for IfRange_
impl RefUnwindSafe for IfRange_
impl Send for IfRange_
impl Sync for IfRange_
impl Unpin for IfRange_
impl UnwindSafe for IfRange_
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