pub struct HeaderField(/* private fields */);
Expand description
Field of a header (eg. Content-Type
, Content-Length
, etc.)
Comparison between two HeaderField
s ignores case.
Implementations§
Source§impl HeaderField
impl HeaderField
Trait Implementations§
Source§impl Clone for HeaderField
impl Clone for HeaderField
Source§fn clone(&self) -> HeaderField
fn clone(&self) -> HeaderField
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 HeaderField
impl Debug for HeaderField
Source§impl Display for HeaderField
impl Display for HeaderField
Source§impl FromStr for HeaderField
impl FromStr for HeaderField
Source§impl PartialEq for HeaderField
impl PartialEq for HeaderField
impl Eq for HeaderField
Auto Trait Implementations§
impl Freeze for HeaderField
impl RefUnwindSafe for HeaderField
impl Send for HeaderField
impl Sync for HeaderField
impl Unpin for HeaderField
impl UnwindSafe for HeaderField
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