aboutsummaryrefslogtreecommitdiffstats
path: root/src/repo.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/repo.rs')
-rw-r--r--src/repo.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/repo.rs b/src/repo.rs
new file mode 100644
index 0000000..e934be2
--- /dev/null
+++ b/src/repo.rs
@@ -0,0 +1,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?
+}