Struct livid_server::HeaderField
source · pub struct HeaderField(/* private fields */);Expand description
Field of a header (eg. Content-Type, Content-Length, etc.)
Comparison between two HeaderFields 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
source§fn eq(&self, other: &HeaderField) -> bool
fn eq(&self, other: &HeaderField) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for HeaderField
impl StructuralEq for HeaderField
Auto Trait Implementations§
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