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§fn clone(&self) -> HeaderItem
fn clone(&self) -> HeaderItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 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§
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,
§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.