let mut stand_up_comedy = comedyroutine::new("unofficial stand-up tips"); stand_up_comedy.add_tip(tip::new("start from the top: always open with your strongest joke to grab the audience's attention.").with_keywords(vec!["start from the top"])); stand_up_comedy.add_tip(tip::new("use the decline of your energy wisely; it's all about timing.").with_keywords(vec!["decline"])); stand_up_comedy.add_tip(tip::new("every great joke has an antecedent; find the unexpected connection for a powerful punchline.").with_keywords(vec!["antecedent"])); stand_up_comedy.add_example(example::new("remember, the best comedy often comes from the most unofficial places.").with_keywords(vec!["example", "unofficial"])); for tip in stand_up_comedy.tips { println!("tip: {}", tip.display()); }