[PATCH proxmox v3 09/38] node-status: make KernelVersionInformation Clone + PartialEq

Christoph Heiss
2026-04-03T16:55:34Z

Needed by the new proxmox-installer-types crate.

Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
---
Changes v2 -> v3:
* new patch

proxmox-node-status/src/types.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxmox-node-status/src/types.rs b/proxmox-node-status/src/types.rs
index cc0ba424..6b3130f9 100644
--- a/proxmox-node-status/src/types.rs
+++ b/proxmox-node-status/src/types.rs
@@ -27,7 +27,7 @@ pub struct BootModeInformation {
}

#[api]
-#[derive(Serialize, Deserialize, Default)]
+#[derive(Clone, Serialize, Deserialize, Default, PartialEq)]
#[serde(rename_all = "lowercase")]
/// The current kernel version (output of `uname`)
pub struct KernelVersionInformation {
--
2.53.0