Skip to content

header_name

Structs

  • HeaderName - A wrapped version of http::HeaderName that allows (de)serialization

Struct

A wrapped version of http::HeaderName that allows (de)serialization

Tuple Struct: (http::HeaderName)

Methods:

  • fn from_static(src: &'static str) -> Self

Traits: Eq

Trait Implementations:

  • From
    • fn from(value: &http::HeaderName) -> Self
  • Deserialize
    • fn deserialize<D>(deserializer: D) -> Result<Self, <D as >::Error>
  • PartialEq
    • fn eq(self: &Self, other: &HeaderName) -> bool
  • Deref
    • fn deref(self: &Self) -> &<Self as >::Target
  • Serialize
    • fn serialize<S>(self: &Self, serializer: S) -> Result<<S as >::Ok, <S as >::Error>
  • Borrow
    • fn borrow(self: &Self) -> &http::HeaderName
  • Clone
    • fn clone(self: &Self) -> HeaderName
  • FromStr
    • fn from_str(s: &str) -> Result<Self, <Self as >::Err>
  • Hash
    • fn hash<H>(self: &Self, state: & mut H)
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result