[−][src]Struct mail_headers::data::Input
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>
Trait Implementations
impl<'a> HeaderTryFrom<&'a str> for Input
[src]
fn try_from(val: &'a str) -> Result<Self, ComponentCreationError>
[src]
impl HeaderTryFrom<String> for Input
[src]
fn try_from(val: String) -> Result<Self, ComponentCreationError>
[src]
impl HeaderTryFrom<Input> for Email
[src]
fn try_from(email: Input) -> Result<Self, ComponentCreationError>
[src]
impl HeaderTryFrom<Input> for Phrase
[src]
fn try_from(input: Input) -> Result<Self, ComponentCreationError>
[src]
impl<'a> From<&'a str> for Input
[src]
impl From<String> for Input
[src]
impl From<Input> for SimpleItem
[src]
impl Eq for Input
[src]
impl Into<String> for Input
[src]
impl Into<Input> for RawUnstructured
[src]
impl PartialEq<Input> for Input
[src]
impl Clone for Input
[src]
fn clone(&self) -> Input
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Input
[src]
impl Hash for Input
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Deref for Input
[src]
type Target = InnerUtf8
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl DerefMut for Input
[src]
impl Display for Input
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.