use crate::bias;
//use crate::troposphere;

/// Description block is Document Type dependent
#[derive(Debug, Clone)]
pub enum Description {
    BiasDescription(bias::description::Description),
    //    TropoDescription(troposphere::description::Description),
}

impl Description {
    pub fn bias_description(&self) -> Option<&bias::description::Description> {
        match self {
            Self::BiasDescription(d) => Some(d),
        }
    }
    /*pub fn tropo_description (&self) -> Option<&troposphere::description::Description> {
        match self {
            Self::TropoDescription(d) => Some(d),
            _ => None,
        }
    }*/
}
