From 9c73fcf3cf7ad48ff0c4b2cfeb811974f3818493 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 11 Oct 2023 11:37:15 +0200 Subject: [PATCH] Interface: derive Clone + PartialEq (for GUI) Signed-off-by: Dietmar Maurer --- pbs-api-types/src/network.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pbs-api-types/src/network.rs b/pbs-api-types/src/network.rs index 361c20e4..8e2897b5 100644 --- a/pbs-api-types/src/network.rs +++ b/pbs-api-types/src/network.rs @@ -238,7 +238,7 @@ pub const NETWORK_INTERFACE_LIST_SCHEMA: Schema = }, } )] -#[derive(Debug, Serialize, Deserialize)] +#[derive(Clone, Debug, Serialize, Deserialize, PartialEq)] /// Network Interface configuration pub struct Interface { /// Autostart interface -- 2.39.5