[][src]Struct mail_headers::data::Input

pub struct Input(pub InnerUtf8);

a Input is similar to Item a container data container used in different context's with different restrictions, but different to an Item it might contain characters which require encoding (e.g. encoded words) to represent them

Methods

impl Input[src]

pub fn into_shared(self) -> Self[src]

pub fn into_ascii_item(self) -> StdResult<InnerAscii, Input>[src]

pub fn into_ascii_item_unchecked(self) -> InnerAscii[src]

pub fn into_utf8_item(self) -> InnerUtf8[src]

Methods from Deref<Target = InnerUtf8>

pub fn as_str(&self) -> &str[src]

Trait Implementations

impl Clone for Input[src]

impl Debug for Input[src]

impl Deref for Input[src]

type Target = InnerUtf8

The resulting type after dereferencing.

impl DerefMut for Input[src]

impl Display for Input[src]

impl Eq for Input[src]

impl<'a> From<&'a str> for Input[src]

impl From<Input> for SimpleItem[src]

impl From<String> for Input[src]

impl Hash for Input[src]

impl<'a> HeaderTryFrom<&'a str> for Input[src]

impl HeaderTryFrom<Input> for Email[src]

impl HeaderTryFrom<Input> for Phrase[src]

impl HeaderTryFrom<String> for Input[src]

impl Into<Input> for RawUnstructured[src]

impl Into<String> for Input[src]

impl PartialEq<Input> for Input[src]

impl StructuralEq for Input[src]

impl StructuralPartialEq for Input[src]

Auto Trait Implementations

impl RefUnwindSafe for Input

impl Send for Input

impl Sync for Input

impl Unpin for Input

impl UnwindSafe for Input

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erased for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.