diff options
Diffstat (limited to 'src/data/project.rs')
-rw-r--r-- | src/data/project.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/data/project.rs b/src/data/project.rs new file mode 100644 index 0000000..9807867 --- /dev/null +++ b/src/data/project.rs | |||
@@ -0,0 +1,12 @@ | |||
1 | use crate::apis::modrinth::Version; | ||
2 | |||
3 | #[derive(Debug, Clone)] | ||
4 | pub struct ProjectInfo { | ||
5 | pub mod_id: String, | ||
6 | pub slug: String, | ||
7 | pub title: String, | ||
8 | pub current_version: Option<Version>, | ||
9 | pub applicable_versions: Vec<String>, | ||
10 | pub download_link: String, | ||
11 | pub set_version: bool, | ||
12 | } | ||