#[repr(C)]pub struct HttpHeader {
pub name: String,
pub value: String,
}Expand description
One HTTP header.
A named struct rather than a (String, String) tuple: the shared types contain no
tuples today, and tuple codegen into Swift/Kotlin is the least reliable corner of
serde-reflection.
Fields§
§name: String§value: StringTrait Implementations§
Source§impl Clone for HttpHeader
impl Clone for HttpHeader
Source§impl Debug for HttpHeader
impl Debug for HttpHeader
Source§impl<'de> Deserialize<'de> for HttpHeader
impl<'de> Deserialize<'de> for HttpHeader
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HttpHeader
Source§impl<'ʄ> Facet<'ʄ> for HttpHeader
impl<'ʄ> Facet<'ʄ> for HttpHeader
Source§impl PartialEq for HttpHeader
impl PartialEq for HttpHeader
Source§impl Serialize for HttpHeader
impl Serialize for HttpHeader
impl StructuralPartialEq for HttpHeader
Auto Trait Implementations§
impl Freeze for HttpHeader
impl RefUnwindSafe for HttpHeader
impl Send for HttpHeader
impl Sync for HttpHeader
impl Unpin for HttpHeader
impl UnsafeUnpin for HttpHeader
impl UnwindSafe for HttpHeader
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