[][src]Struct reqwest::multipart::Part

pub struct Part { /* fields omitted */ }

A field in a multipart form.

Methods

impl Part
[src]

Makes a text parameter.

Adds a generic reader.

Does not set filename or mime.

Adds a generic reader with known length.

Does not set filename or mime.

Makes a file parameter.

Errors

Errors when the file cannot be opened.

Sets the mime, builder style.

Sets the filename, builder style.

Trait Implementations

impl Debug for Part
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Part

impl !Sync for Part