Skip to content

authority

Structs

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

Struct

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

Tuple Struct: (http::uri::Authority)

Methods:

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

Traits: Eq

Trait Implementations:

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