Struct lettre::email::PartBuilder [] [src]

pub struct PartBuilder { /* fields omitted */ }

Builds a MimeMessage structure

Methods

impl PartBuilder
[src]

Creates a new empty part

Adds a generic header

Adds a generic header

Sets the body

Sets the body

Defines a MimeMultipartType value

Defines a MimeMultipartType value

Adds a ContentType header with the given MIME type

Adds a ContentType header with the given MIME type

Adds a child part

Adds a child part

Gets builded MimeMessage

Trait Implementations

impl PartialEq for PartBuilder
[src]

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

This method tests for !=.

impl Eq for PartBuilder
[src]

impl Clone for PartBuilder
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PartBuilder
[src]

Formats the value using the given formatter.