struct SoftwareDev {
name: String,
role: String,
language_spoken: Vec<String>,
}
impl SoftwareDev {
fn new() -> Self {
SoftwareDev {
name: "Jonathan Velasquez".to_string(),
role: "Software Developer".to_string(),
language_spoken: vec!["en_US".to_string(), "es_PE".to_string()],
}
}
fn say_hi(&self) {
println!("Hey there! Thanks for stopping by. I'm open to collaborations & new opportunities. Let's talk tech!");
}
}
fn main() {
let me = SoftwareDev::new();
me.say_hi();
}- π¨π¦ Toronto, ON, CANADA
- π Timezone: EST GMT-4