tatuin-core 0.1.0

Core lib of the Tatuin project
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// SPDX-License-Identifier: MIT

use std::fmt::Debug;

#[allow(dead_code)]
pub trait Project: Send + Sync + Debug {
    fn id(&self) -> String;
    fn name(&self) -> String;
    fn provider(&self) -> String;
    fn description(&self) -> String;
    fn parent_id(&self) -> Option<String>;
    fn is_inbox(&self) -> bool;
    fn is_favorite(&self) -> bool;
    fn clone_boxed(&self) -> Box<dyn Project>;
}