use {super::ComponentType, crate::fh::Level};
#[derive(Debug, Hash, Eq, PartialEq)]
pub struct ComponentInformation {
pub id: String,
pub level: Level,
pub kind: ComponentType,
}
impl ComponentInformation {
pub fn core(component_name: &str) -> Self {
Self {
id: "".to_string(),
level: Level::Core,
kind: ComponentType::Core(component_name.to_string()),
}
}
}