/* jminjares4 GitHub Page */
/* Degree enumeration */
#[derive(Debug)]
enum Degree { ASEE, BSEE, MSCPE, }
/* Contact data structure */
#[derive(Debug)]
struct Contact {
email: String,
linkedin: String,
github: String,
}
/* Info data structure */
#[derive(Debug)]
struct Info {
name: String,
degree: Degree,
contact: Contact
}
fn main () {
/* Store data */
let jminjares4 = Info {
name: String::from("Jesus Minjares"),
degree: Degree::MSCPE,
contact: Contact {
email: String::from("[email protected]"),
linkedin: String::from("https://www.linkedin.com/in/jesusminjares"),
github: String::from("https://github.com/jminjares4"),
},
};
/* Print data */
println!("Info: {:?}", jminjares4);
}
Weclome to my GitHub Page! I am an embedded software engineer
@ Sandia National Labs using my hardware and software skills to develop embedded systems .