aboutsummaryrefslogtreecommitdiffstats
path: root/src/repo.rs
diff options
context:
space:
mode:
authorTeddy Wing2021-05-29 18:16:27 +0200
committerTeddy Wing2021-05-29 18:16:27 +0200
commit67d7632b900f7221c1a3fb1927cd97b7cb60c71e (patch)
treed7d06d320f92d6625484d809b3d8d711f47222cb /src/repo.rs
parent717f4074206a1cade9ebc51e8604061134900eb8 (diff)
downloadreflectub-67d7632b900f7221c1a3fb1927cd97b7cb60c71e.tar.bz2
Move `Repo` to `github` module
Makes more sense here rather than in its own module since it models GitHub's repository structure.
Diffstat (limited to 'src/repo.rs')
-rw-r--r--src/repo.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/repo.rs b/src/repo.rs
index e934be2..e69de29 100644
--- a/src/repo.rs
+++ b/src/repo.rs
@@ -1,13 +0,0 @@
-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?
-}