Module methods

Source
Expand description

Request method wrappers.

For a given type T that implements GetRequest, Get<T> implements Request. These are types that wrap request method traits and turn them into something that implements Request.

You do not need to use these directly, rather you can use the RequestMethod trait to make your type implement Request directing, using one of these wrapper types.

Structsยง

Delete
Turn a DeleteRequest into a Request.
Get
Turn a GetRequest into a Request.
Head
Turn a HeadRequest into a Request.
Patch
Turn a PatchRequest into a Request.
Post
Turn a PostRequest into a Request.