#[derive(Debug)]
pub struct Person {
    name: String,
    job: Option<Job>,
    email: String,
    social: Social,
}

#[derive(Debug)]
pub struct Social {
    github: String,
    instagram: String,
    twitter: String,
    untappd: String,
    lastfm: String,
    myanimelist: String,
}

#[derive(Debug)]
pub struct Job {
    title: String,
    company_name: String,
    company_website: String,
}

pub fn aboutme() -> Person {
    Person {
        name: "Tristan King".to_string(),
        email: "[email protected]".to_string(),
        job: Some(Job {
            title: "Software Developer".to_string(),
            company_name: "Bakken & Bæck".to_string(),
            company_website: "https://bakkenbaeck.no".to_string(),
        }),
        social: Social {
            github: "https://github.com/tristan".to_string(),
            instagram: "https://instagram.com/t.l.king".to_string(),
            twitter: "https://twitter.com/tristanking".to_string(),
            untappd: "https://untappd.com/user/sndwave0".to_string(),
            lastfm: "https://last.fm/user/lessthantristan".to_string(),
            myanimelist: "https://myanimelist.net/profile/sndwave".to_string(),
        }
    }
}

fn main() {
    println!("{:?}", aboutme());
}