Enum headers::util::entity::EntityTagRange
source · pub(crate) enum EntityTagRange {
Any,
Tags(FlatCsv),
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for EntityTagRange
impl Clone for EntityTagRange
source§fn clone(&self) -> EntityTagRange
fn clone(&self) -> EntityTagRange
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 EntityTagRange
impl Debug for EntityTagRange
source§impl<'a> From<&'a EntityTagRange> for HeaderValue
impl<'a> From<&'a EntityTagRange> for HeaderValue
source§fn from(tag: &'a EntityTagRange) -> HeaderValue
fn from(tag: &'a EntityTagRange) -> HeaderValue
Converts to this type from the input type.
source§impl PartialEq for EntityTagRange
impl PartialEq for EntityTagRange
source§fn eq(&self, other: &EntityTagRange) -> bool
fn eq(&self, other: &EntityTagRange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFromValues for EntityTagRange
impl TryFromValues for EntityTagRange
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 EntityTagRange
Auto Trait Implementations§
impl !Freeze for EntityTagRange
impl RefUnwindSafe for EntityTagRange
impl Send for EntityTagRange
impl Sync for EntityTagRange
impl Unpin for EntityTagRange
impl UnwindSafe for EntityTagRange
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