Struct multipart::server::MultipartField [] [src]

pub struct MultipartField<'a, R: 'a> {
    pub name: String,
    pub data: MultipartData<'a, R>,
}

A field in a multipart request. May be either text or a binary stream (file).

Fields

name: String

The field's name from the form

data: MultipartData<'a, R>

The data of the field. Can be text or binary.

Trait Implementations

impl<'a, R: Debug + 'a> Debug for MultipartField<'a, R>
[src]

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

Formats the value using the given formatter.