use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug)]
pub struct Bus {
    // Allowed Values: owbus
    pub dev: String,
    pub interval: f32,
    pub bus: String,
    pub scan_interval: f32,
    pub circuit: String,
    pub do_scan: bool,
    pub do_reset: bool,
    pub alias: Option<String>,
}
