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

pub struct Part { /* fields omitted */ }

A field in a multipart form.

Methods

impl Part
[src]

[src]

Makes a text parameter.

[src]

Adds a generic reader.

Does not set filename or mime.

[src]

Adds a generic reader with known length.

Does not set filename or mime.

[src]

Makes a file parameter.

Errors

Errors when the file cannot be opened.

[src]

Sets the mime, builder style.

[src]

Sets the filename, builder style.

Trait Implementations

impl Debug for Part
[src]

[src]

Formats the value using the given formatter.