pub struct HeaderRef<'a>(/* private fields */);
Expand description
A non-owned name-value pair representing a raw HTTP header.
Implementations§
Trait Implementations§
source§impl<'a> PartialEq for HeaderRef<'a>
impl<'a> PartialEq for HeaderRef<'a>
impl<'a> Eq for HeaderRef<'a>
impl<'a> StructuralEq for HeaderRef<'a>
impl<'a> StructuralPartialEq for HeaderRef<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for HeaderRef<'a>
impl<'a> Send for HeaderRef<'a>
impl<'a> Sync for HeaderRef<'a>
impl<'a> Unpin for HeaderRef<'a>
impl<'a> UnwindSafe for HeaderRef<'a>
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.