learn_rust_perceptron 0.1.0

first rust learning crate
Documentation
pub struct Article {
    pub name: String,
    pub description: String,
    pub body: String,
    pub created_at: String,
}

pub struct Tweet {
    pub body: String,
    pub created_at: String,
}

pub trait Summary {
    fn summarize(&self) -> String;

    fn print(&self) -> () {
        println!("this is a summary trait, written by {}", self.summarize_author());
    }

    fn summarize_author(&self) -> String;
}