codepecker/project.rs
1#[derive(Debug, Clone)]
2pub(crate) struct Project {
3 pub(crate) name: String,
4 pub(crate) lang: String,
5 pub(crate) template: String,
6 pub(crate) group: Option<String>,
7 pub(crate) rule: Option<String>,
8}
9
10#[derive(Debug, Clone)]
11pub(crate) struct Source<T> {
12 pub(crate) remote: String,
13 pub(crate) url: T,
14 pub(crate) user: String,
15 pub(crate) password: String,
16 pub(crate) branch: Option<String>,
17}