pub struct HeaderItem {
pub name: HeaderName,
pub origin: ByteString,
pub value: HeaderValue,
}Expand description
A parsed header that preserves its original name and value.
Fields§
§name: HeaderNameParsed header name.
origin: ByteStringHeader name as it appeared in the original message.
value: HeaderValueParsed header value.
Trait Implementations§
Source§impl Clone for HeaderItem
impl Clone for HeaderItem
Source§impl Debug for HeaderItem
impl Debug for HeaderItem
impl Eq for HeaderItem
Source§impl PartialEq for HeaderItem
impl PartialEq for HeaderItem
impl StructuralPartialEq for HeaderItem
Auto Trait Implementations§
impl !Freeze for HeaderItem
impl RefUnwindSafe for HeaderItem
impl Send for HeaderItem
impl Sync for HeaderItem
impl Unpin for HeaderItem
impl UnsafeUnpin for HeaderItem
impl UnwindSafe for HeaderItem
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.