d3ec63f26d
Reference a predefined BACKUP_ARCHIVE_NAME StringSchema like this: #[api( input: { properties: { archive: { optional: true, schema: BACKUP_ARCHIVE_NAME, }, } } )] fn get_archive(archive: String) -> Result<(), Error> { ... } Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> |
||
---|---|---|
proxmox | ||
proxmox-api | ||
proxmox-api-macro | ||
proxmox-sortable-macro | ||
proxmox-sys | ||
proxmox-tools | ||
.gitignore | ||
Cargo.toml | ||
Makefile | ||
rust-toolchain | ||
rustfmt.toml |