use traits::{Tweet, Summary, NewsArticle}; fn main() { let tweet = Tweet { username: String::from("horse_ebook"), content: String::from( "of course, as you probably already know, people." ), reply: false, retweet: false, }; println!("1 new tweet: {}", tweet.summarize()); let article = NewsArticle { author: String::from("garhve"), headline: String::from("how to die"), location: String:: from("United Kingdom"), content: String::from("This is how we gonna die"), }; println!("1 new article: {}",article.summarize()); }