use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug)]
pub struct Extension {
    // Allowed Values: extension
    pub dev: String,
    pub circuit: String,
    pub last_comm: Option<f64>,
    pub model: String,
    pub uart_circuit: String,
    pub uart_port: String,
    // minimum: 0
    pub glob_dev_id: u32,
    pub alias: Option<String>,
}
