pub struct RequestBuilder<'a> { /* private fields */ }
Expand description

Options for an individual Request.

One of these will be built for you if you use one of the convenience methods, such as get(), post(), etc.

Implementations§

Set a request body to be sent.

Add additional headers to the request.

Add an individual new header to the request.

Execute this request and receive a Response back.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Get the TypeId of this object.