formatting
Some checks failed
CI / Security Blocking Checks (push) Successful in 34s
CI / Web Blocking Checks (push) Failing after 1m44s
CI / Rust Blocking Checks (push) Failing after 9m57s
CI / Web Advisory Checks (push) Successful in 1m14s
CI / Security Advisory Checks (push) Successful in 1m28s

This commit is contained in:
2026-03-04 23:46:31 -06:00
parent 13749409cd
commit f54eef3a14
3 changed files with 73 additions and 68 deletions

View File

@@ -730,8 +730,7 @@ impl SensorInstance {
}
/// Sensor status information
#[derive(Clone, Debug)]
#[derive(Default)]
#[derive(Clone, Debug, Default)]
pub struct SensorStatus {
/// Whether the sensor is running
pub running: bool,
@@ -746,7 +745,6 @@ pub struct SensorStatus {
pub last_poll: Option<chrono::DateTime<chrono::Utc>>,
}
#[cfg(test)]
mod tests {
use super::*;