summaryrefslogtreecommitdiff
path: root/src/types.rs
diff options
context:
space:
mode:
authorNaz <ndpm13@ch-naseem.com>2025-07-25 15:38:38 +0100
committerNaz <ndpm13@ch-naseem.com>2025-07-25 15:38:38 +0100
commit44451e5e920d939ed63ee8942757e90d7188d8ff (patch)
tree3bef2ed3fc60ab3590031a5a15c85b277541a7b8 /src/types.rs
parentaaf24a57b42d10c69cfa2db0c297c93dc18741e4 (diff)
✨feat: add basic CLI args and data types scaffolding
Diffstat (limited to 'src/types.rs')
-rw-r--r--src/types.rs20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/types.rs b/src/types.rs
new file mode 100644
index 0000000..bd903df
--- /dev/null
+++ b/src/types.rs
@@ -0,0 +1,20 @@
+use serde::Serialize;
+use std::path::PathBuf;
+
+#[derive(Debug, Serialize)]
+pub struct AppImage {
+ pub file_path: PathBuf,
+ pub executable: String,
+ pub source: Source,
+}
+
+#[derive(Debug, Serialize)]
+pub struct Source {
+ pub identifier: String,
+ pub meta: SourceMetadata,
+}
+
+#[derive(Debug, Serialize)]
+pub struct SourceMetadata {
+ pub url: String,
+}