[−][src]Struct rhymessage::HeaderName
This is a newtype wrapping a String
in order to handle it
as an Internet message header name.
Names of headers in Internet messages are case insensitive. This type is used to represent those names in such a way that case insensitivity is considered for equality and order.
Trait Implementations
impl Clone for HeaderName
[src]
fn clone(&self) -> HeaderName
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for HeaderName
[src]
impl Default for HeaderName
[src]
fn default() -> HeaderName
[src]
impl Eq for HeaderName
[src]
impl<T> From<T> for HeaderName where
T: AsRef<str>,
[src]
T: AsRef<str>,
impl<'_> PartialEq<&'_ str> for HeaderName
[src]
impl PartialEq<HeaderName> for HeaderName
[src]
impl<'_> PartialEq<HeaderName> for &'_ str
[src]
impl PartialOrd<HeaderName> for HeaderName
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for HeaderName
[src]
Auto Trait Implementations
impl RefUnwindSafe for HeaderName
impl Send for HeaderName
impl Sync for HeaderName
impl Unpin for HeaderName
impl UnwindSafe for HeaderName
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,