From 6ed2d251f6874a89455415587f224bacc54d49dd Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Wed, 12 Apr 2023 03:41:20 +0200 Subject: [PATCH] Made OutletType copy --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 248d460..be81781 100644 --- a/src/config.rs +++ b/src/config.rs @@ -126,7 +126,7 @@ pub struct MqttDeviceConfig { pub topic: String, } -#[derive(Debug, Clone, Deserialize, PartialEq, Eq)] +#[derive(Debug, Clone, Deserialize, PartialEq, Eq, Copy)] pub enum OutletType { Outlet, Kettle,