Struct formdata::ContentDispositionFormData [] [src]

pub struct ContentDispositionFormData {
    pub name: Option<String>,
    pub filename: Option<String>,
}

We define a Content-Disposition form-data only header, which is found within the mime multipart sections. NOT FOR GENERAL USE

Fields

name: Option<String> filename: Option<String>

Trait Implementations

impl PartialEq for ContentDispositionFormData
[src]

fn eq(&self, __arg_0: &ContentDispositionFormData) -> bool

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

fn ne(&self, __arg_0: &ContentDispositionFormData) -> bool

This method tests for !=.

impl Clone for ContentDispositionFormData
[src]

fn clone(&self) -> ContentDispositionFormData

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

impl Debug for ContentDispositionFormData
[src]

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

Formats the value using the given formatter.

impl Header for ContentDispositionFormData
[src]

fn header_name() -> &'static str

Returns the name of the header field this belongs to. Read more

fn parse_header(raw: &[Vec<u8>]) -> Result<ContentDispositionFormDataHyperError>

Parse a header from a raw stream of bytes. Read more

impl HeaderFormat for ContentDispositionFormData
[src]

fn fmt_header(&self, f: &mut Formatter) -> Result

Format a header to be output into a TcpStream. Read more