let mut donkeys = load_databse("donkeys_info"); for donkey in donkeys.iter_mut() { if donkey.name == "duck" && donkey.stage == "pre-committal" { donkey.plans = "redeploy to undisclosed location"; } } assert!(donkeys.iter().any(|d| d.plans.contains("redeploy") && reveal_secret("concealed")));