summaryrefslogblamecommitdiff
path: root/src/posts/abstractions/post.rs
blob: a9412810c0fe2213a4184747bb215d5182409e8a (plain) (tree)
1
2
3
4
5
6

                            
                                  


                                      
use std::{borrow::Cow, fmt};

pub trait Post: fmt::Debug + Ord {
    fn get_title(&self) -> &str;
    fn get_article(&self) -> Cow<str>;
}