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 aRequest
. - Get
- Turn a
GetRequest
into aRequest
. - Head
- Turn a
HeadRequest
into aRequest
. - Patch
- Turn a
PatchRequest
into aRequest
. - Post
- Turn a
PostRequest
into aRequest
.