Enum mailparse::body::Body[][src]

pub enum Body<'a> {
    Base64(EncodedBody<'a>),
    QuotedPrintable(EncodedBody<'a>),
    SevenBit(TextBody<'a>),
    EightBit(TextBody<'a>),
    Binary(BinaryBody<'a>),
}
Expand description

Represents the body of an email (or mail subpart)

Variants

Base64(EncodedBody<'a>)

A body with ‘base64’ Content-Transfer-Encoding.

QuotedPrintable(EncodedBody<'a>)

A body with ‘quoted-printable’ Content-Transfer-Encoding.

SevenBit(TextBody<'a>)

A body with ‘7bit’ Content-Transfer-Encoding.

EightBit(TextBody<'a>)

A body with ‘8bit’ Content-Transfer-Encoding.

Binary(BinaryBody<'a>)

A body with ‘binary’ Content-Transfer-Encoding.

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.