aboutsummaryrefslogtreecommitdiffstats
path: root/src/repo.rs
blob: e934be2931eb82bb65abfcec151bd8ec258fcc8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::Deserialize;


#[derive(Debug, Deserialize)]
pub struct Repo {
    id: usize,
    name: String,
    description: Option<String>,
    fork: bool,
    git_url: String,
    default_branch: String,
    updated_at: String,  // TODO: Maybe parse to date?
}