Struct rest_api_utils::multipart::Form [−][src]
pub struct Form { /* fields omitted */ }Expand description
An async multipart/form-data request.
Implementations
Add a data field with supplied name and value.
Examples
let form = reqwest::multipart::Form::new()
.text("username", "seanmonstar")
.text("password", "secret");Adds a customized Part.
Configure this Form to percent-encode using the path-segment rules.
Configure this Form to percent-encode using the attr-char rules.
Configure this Form to skip percent-encoding
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Form
impl !UnwindSafe for Form
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more