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





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

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