1
2
3
4
5
6
7
8
let me: Person = Person {
name: "Luke Else".to_string(),
age: ,
title: "Software Engineer / Student".to_string(),
email: "contact@luke-else.co.uk".to_string(),
website: "git.luke-else.co.uk".to_string()
}
1
2
3
4
5
6
7
8
struct Person {
pub name: String,
age: u8,
title: String,
pub email: String,
pub website: String
}