>>107624959
let primary_color = get_user()
.and_then(|user| user.profile)
.and_then(|profile| profile.settings)
.and_then(|settings| settings.theme)
.map(|theme| theme.primary_color)
match primary_color {
Some(color) => println!("Primary color: {}", color),
None => println!("Could not access primary color")
}