[][src]Enum libgitmail::tree::Mail

pub enum Mail<'mail> {
    Git(Patch<'mail>),
    Mail(String),
}

Abstraction over a generic email

Variants

Git(Patch<'mail>)

A git-sent email with patch information

Mail(String)

A non git-mail reply

Trait Implementations

impl<'mail> Clone for Mail<'mail>[src]

impl<'mail> Debug for Mail<'mail>[src]

impl<'mail> Eq for Mail<'mail>[src]

impl<'mail> PartialEq<Mail<'mail>> for Mail<'mail>[src]

impl<'mail> StructuralEq for Mail<'mail>[src]

impl<'mail> StructuralPartialEq for Mail<'mail>[src]

Auto Trait Implementations

impl<'mail> RefUnwindSafe for Mail<'mail>

impl<'mail> Send for Mail<'mail>

impl<'mail> Sync for Mail<'mail>

impl<'mail> Unpin for Mail<'mail>

impl<'mail> UnwindSafe for Mail<'mail>

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> 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, 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.