proxmox/proxmox-api-macro
Wolfgang Bumiller bd79dd8f02 api: make method body an associated type
This way we do not need to carry the body type into the CLI
router and can instead just require the body to be
Into<Bytes>.

This also makes more sense, because previously a method
could in theory implement multiple ApiMethodInfo types with
different bodies which seems pointless.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-06-19 15:16:40 +02:00
..
src api: make method body an associated type 2019-06-19 15:16:40 +02:00
tests macro: add cli property and remove specialization 2019-06-17 12:31:29 +02:00
Cargo.toml fix missing proxmox_api -> proxmox::api replacement 2019-06-12 09:48:30 +02:00