Struct formdata::FormData [] [src]

pub struct FormData {
    pub fields: Vec<(String, String)>,
    pub files: Vec<(String, FilePart)>,
}

The extracted text fields and uploaded files from a multipart/form-data request.

Use parse_multipart to devise this object from a request.

Fields

Name-value pairs for plain text fields. Technically, these are form data parts with no filename specified in the part's Content-Disposition.

Name-value pairs for temporary files. Technically, these are form data parts with a filename specified in the part's Content-Disposition.

Methods

impl FormData
[src]

Create a mime-multipart Vec from this FormData

Trait Implementations

impl PartialEq for FormData
[src]

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

This method tests for !=.

impl Debug for FormData
[src]

Formats the value using the given formatter.

impl Clone for FormData
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more