use serde::Serialize;

// The supported main fuse sizes
#[derive(Debug, Clone, Copy, Serialize)]
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
pub struct MainFuseSizes {
    from: u16,
    to: u16,
}

impl MainFuseSizes {
    pub const fn new_range(from: u16, to: u16) -> Self {
        Self { from, to }
    }
}
