Struct nucleus_http::http::Header
source · pub struct Header {
pub key: String,
pub value: String,
}Expand description
HTTP headers are simple key value pairs both strings
Fields§
§key: String§value: StringImplementations§
Trait Implementations§
source§impl IntoHeader for &Header
impl IntoHeader for &Header
fn into_header(self) -> Header
source§impl IntoHeader for Header
impl IntoHeader for Header
fn into_header(self) -> Header
source§impl PartialEq<Header> for Header
impl PartialEq<Header> for Header
impl StructuralPartialEq for Header
Auto Trait Implementations§
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> 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