[pdm-devel] [PATCH proxmox-datacenter-manager 01/15] pdm-api-types: derive Debug and PartialEq for TaskListItem
Lukas Wagner
l.wagner at proxmox.com
Tue Jan 28 13:25:06 CET 2025
Those are needed for the test case for the task cache that will follow
in one of the next commits.
Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
---
lib/pdm-api-types/src/lib.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/pdm-api-types/src/lib.rs b/lib/pdm-api-types/src/lib.rs
index 3844907..5ac2a69 100644
--- a/lib/pdm-api-types/src/lib.rs
+++ b/lib/pdm-api-types/src/lib.rs
@@ -237,7 +237,7 @@ pub enum TaskStateType {
upid: { schema: UPID::API_SCHEMA },
},
)]
-#[derive(Clone, Serialize, Deserialize)]
+#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
/// Task properties.
pub struct TaskListItem {
pub upid: String,
--
2.39.5
More information about the pdm-devel
mailing list