#[derive(Debug)] pub struct Language { pub code: String, pub types: Vec } impl Language { pub fn new(code: &str, types: Vec) -> Self { Self { code: String::from(code), types } } }