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

@ -4,6 +4,7 @@ use serde_json::{json, Value};
use proxmox::{
api::{
schema::{
ApiType,
Schema,
ObjectSchemaType,
ApiStringFormat,

View File

@ -16,6 +16,7 @@ use proxmox::api::{
default_table_format_options,
},
router::ReturnType,
schema::ApiType,
};
use pbs_client::tools::key_source::get_encryption_key_password;

View File

@ -10,6 +10,7 @@ use proxmox::api::cli::{
OUTPUT_FORMAT,
};
use proxmox::api::router::ReturnType;
use proxmox::api::schema::ApiType;
use proxmox::sys::linux::tty;
use proxmox::tools::fs::{file_get_contents, replace_file, CreateOptions};