diff options
Diffstat (limited to 'src/data/projectinfo.rs')
-rw-r--r-- | src/data/projectinfo.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/data/projectinfo.rs b/src/data/projectinfo.rs new file mode 100644 index 0000000..9807867 --- /dev/null +++ b/src/data/projectinfo.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 | } | ||