[pdm-devel] [PATCH proxmox-api-types v2 1/7] add QemuMigratePreconditionsNotAllowedNodesBlockingHaResources struct

Stefan Hanreich s.hanreich at proxmox.com
Fri Aug 22 15:49:16 CEST 2025


required for the generated rust code to compile succesfully with the
API definitions from PVE 9.

Signed-off-by: Stefan Hanreich <s.hanreich at proxmox.com>
---
 pve-api-types/generate.pl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pve-api-types/generate.pl b/pve-api-types/generate.pl
index b761a88..64f1555 100644
--- a/pve-api-types/generate.pl
+++ b/pve-api-types/generate.pl
@@ -301,6 +301,8 @@ Schema2Rust::derive('ListRealm' => 'Clone', 'PartialEq');
 api(POST => '/access/users/{userid}/token/{tokenid}', 'create_token', 'param-name' => 'CreateToken');
 Schema2Rust::derive('CreateToken' => 'Default');
 
+Schema2Rust::derive('QemuMigratePreconditionsNotAllowedNodesBlockingHaResources' => 'Clone', 'PartialEq');
+
 # NOW DUMP THE CODE:
 #
 # We generate one file for API types, and one for API method calls.
-- 
2.47.2




More information about the pdm-devel mailing list