struct Profile {
name: &'static str,
pronouns: [&'static str; 2],
skills: Skills
}
#[derive(Debug)]
struct Skills {
backend: [&'static str; 4],
frontend: [&'static str; 4],
database: [&'static str; 3],
cloud: [&'static str; 4],
architecture: [&'static str; 3],
}
const ARKI: Profile = Profile {
name: "Arki",
pronouns: ["He", "Him"],
skills: Skills {
backend: ["Ruby", "Node.js", "Go", "Rust"],
frontend: ["HTML", "JavaScript", "Vue", "CSS"],
database: ["PostgreSQL", "MySQL", "MongoDB"],
cloud: ["Heroku"],
}
};
fn main() {
println!("Meet {}: \n {:#?}", ARKI.name, ARKI.skills);
}
Rustacean ๐ฆ & Web Developer ๐ธ๏ธ
Highlights
- Pro
Pinned Loading
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.