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,