trello/
trello_object.rs

1use std::fmt::Debug;
2
3pub trait TrelloObject: Debug {
4    fn get_type() -> String;
5
6    fn get_name(&self) -> &str;
7
8    fn get_fields() -> &'static [&'static str];
9}
10
11/// Provides the ability for an object to be rendered
12/// to the command line
13pub trait Renderable {
14    fn render(&self) -> String;
15}