From 2704379b42469d9b5423680ffae2acdba5bab9aa Mon Sep 17 00:00:00 2001 From: RGBCube Date: Mon, 19 May 2025 18:07:35 +0300 Subject: [PATCH] power_supply: add derives to PowerSupply --- src/power_supply.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/power_supply.rs b/src/power_supply.rs index 92147da..06d3ec8 100644 --- a/src/power_supply.rs +++ b/src/power_supply.rs @@ -53,6 +53,7 @@ const POWER_SUPPLY_THRESHOLD_CONFIGS: &[PowerSupplyThresholdConfig] = &[ ]; /// Represents a power supply that supports charge threshold control. +#[derive(Debug, Clone, PartialEq, Eq)] pub struct PowerSupply { pub name: String, pub path: PathBuf,