pub struct Request { /* private fields */ }
Expand description
A request which can be executed with Client::execute()
.
Constructs a new request.
Get a mutable reference to the method.
Get a mutable reference to the url.
Get a mutable reference to the headers.
Get a mutable reference to the body.
Attempts to clone the Request
.
None is returned if a body is which can not be cloned.
Formats the value using the given formatter.
Read more
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.
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.