use ApiType trait

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2021-08-25 09:37:54 +02:00
parent a8a20e9210
commit a37c8d2431
12 changed files with 33 additions and 15 deletions

View File

@ -152,6 +152,8 @@ fn object_to_writer(output: &mut dyn Write, object: &Object) -> Result<(), Error
#[test]
fn test() {
use proxmox::api::schema::ApiType;
// let's just reuse some schema we actually have available:
use crate::config::node::NodeConfig;