pub struct HeaderField {
pub name: Vec<u8>,
pub value: Vec<u8>,
}Expand description
One canonical end-to-end HTTP field in an ordered field section.
Fields§
§name: Vec<u8>Lower-case HTTP field name. Repeated names preserve their original order.
value: Vec<u8>Canonical ASCII field value without outer optional whitespace.
Trait Implementations§
Source§impl Clone for HeaderField
impl Clone for HeaderField
Source§impl Debug for HeaderField
impl Debug for HeaderField
impl Eq for HeaderField
Source§impl PartialEq for HeaderField
impl PartialEq for HeaderField
impl StructuralPartialEq 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 UnsafeUnpin 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