cargo fmt

This commit is contained in:
Jan Luca Oster 2025-12-26 10:22:58 +01:00 • committed by Ashley Wulber
parent 54c7b63edf
commit 0d3d049516

View file

@ -186,12 +186,15 @@ pub trait Device {
#[zbus(property)] #[zbus(property)]
fn voltage_max_design(&self) -> zbus::Result<f64>; fn voltage_max_design(&self) -> zbus::Result<f64>;
fn get_history(
fn get_history(&self, type_: String, timespan: u32, resolution: u32) -> zbus::Result<Vec<(u32, f64, u32)>>; &self,
type_: String,
timespan: u32,
resolution: u32,
) -> zbus::Result<Vec<(u32, f64, u32)>>;
fn get_statistics(&self, type_: String) -> zbus::Result<Vec<(f64, f64)>>; fn get_statistics(&self, type_: String) -> zbus::Result<Vec<(f64, f64)>>;
#[zbus(signal)] #[zbus(signal)]
fn enable_charge_threshold(&self, message: bool) -> zbus::Result<()>; fn enable_charge_threshold(&self, message: bool) -> zbus::Result<()>;