Struct mail_parser::TextPart[][src]

pub struct TextPart<'x> { /* fields omitted */ }
Expand description

A text message part.

Trait Implementations

Returns the MIME Header of the part

Returns the body part’s contents as a u8 slice

Returns true when the body part MIME type is text/*

Returns true when the part is not text

Returns the body part’s contents as a str

Returns the body part’s length

Returns true when the body part is empty

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

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.

Converts the given value to a String. Read more

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.