all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Lukas Wagner <l.wagner@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [pdm-devel] [RFC proxmox-datacenter-manager 2/5] pdm-api-types: derive Clone for TaskListItem
Date: Fri, 20 Dec 2024 15:24:27 +0100	[thread overview]
Message-ID: <20241220142430.277101-2-l.wagner@proxmox.com> (raw)
In-Reply-To: <20241220142430.277101-1-l.wagner@proxmox.com>

Signed-off-by: Lukas Wagner <l.wagner@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 05a0fa7..4e6fe0a 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(Serialize, Deserialize)]
+#[derive(Clone, Serialize, Deserialize)]
 /// Task properties.
 pub struct TaskListItem {
     pub upid: String,
-- 
2.39.5



_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel


  reply	other threads:[~2024-12-20 14:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-20 14:24 [pdm-devel] [RFC proxmox-datacenter-manager 1/5] privileged-api: create /var/cache/proxmox-datacenter-manager/ on startup Lukas Wagner
2024-12-20 14:24 ` Lukas Wagner [this message]
2024-12-20 14:24 ` [pdm-devel] [RFC proxmox-datacenter-manager 3/5] pdm-api-types: derive Eq, PartialEq and Hash for RemoteUpid Lukas Wagner
2024-12-20 14:24 ` [pdm-devel] [RFC proxmox-datacenter-manager 4/5] api: add caching 'remote-tasks' API endpoint Lukas Wagner
2024-12-20 14:24 ` [pdm-devel] [RFC proxmox-datacenter-manager 5/5] server: pve api: track new tasks created by PDM Lukas Wagner
2025-01-13 11:28 ` [pdm-devel] applied: [RFC proxmox-datacenter-manager 1/5] privileged-api: create /var/cache/proxmox-datacenter-manager/ on startup Dietmar Maurer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241220142430.277101-2-l.wagner@proxmox.com \
    --to=l.wagner@proxmox.com \
    --cc=pdm-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal