]> git.proxmox.com Git - proxmox-backup.git/commitdiff
TrafficControlRule: derive Clone and PartialEq (for GUI)
authorDietmar Maurer <dietmar@proxmox.com>
Sun, 15 Oct 2023 07:25:26 +0000 (09:25 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Sun, 15 Oct 2023 07:25:26 +0000 (09:25 +0200)
pbs-api-types/src/traffic_control.rs

index 24195e44e8a6cbe8c7cf318961f759c4563bd5ba..7a0dedd26399bb88fc797ff7e0c176eb37f9b5ce 100644 (file)
@@ -100,7 +100,7 @@ impl RateLimitConfig {
         },
     },
 )]
-#[derive(Serialize, Deserialize, Updater)]
+#[derive(Clone, Serialize, Deserialize, PartialEq, Updater)]
 #[serde(rename_all = "kebab-case")]
 ///  Traffic control rule
 pub struct TrafficControlRule {