Enum mime_multipart::Node [] [src]

pub enum Node {
    Part(Part),
    File(FilePart),
    Multipart((Headers, Vec<Node>)),
}

A multipart part which could be either a file, in memory, or another multipart container containing nested parts.

Variants

Part(Part)

A part in memory

File(FilePart)

A part streamed to a file

Multipart((Headers, Vec<Node>))

A container of nested multipart parts

Trait Implementations

impl Debug for Node
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Node
[src]

fn clone(&self) -> Node

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more