aboutsummaryrefslogtreecommitdiff
path: root/src/metadata.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-01-10 19:52:01 +0100
committermetamuffin <metamuffin@disroot.org>2023-01-10 19:52:01 +0100
commit80e668f9cda3eb7972198dbbc65f6f72eae43c99 (patch)
tree7682be9916003edea648179911f04381a971751c /src/metadata.rs
parent1c97c3785047d50fd5500f99457a254e0f95aefe (diff)
downloadjellything-80e668f9cda3eb7972198dbbc65f6f72eae43c99.tar
jellything-80e668f9cda3eb7972198dbbc65f6f72eae43c99.tar.bz2
jellything-80e668f9cda3eb7972198dbbc65f6f72eae43c99.tar.zst
replacing actix with rocket
Diffstat (limited to 'src/metadata.rs')
-rw-r--r--src/metadata.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/metadata.rs b/src/metadata.rs
new file mode 100644
index 0000000..ff45af2
--- /dev/null
+++ b/src/metadata.rs
@@ -0,0 +1,11 @@
+use serde::{Deserialize, Serialize};
+
+#[derive(Debug, Clone, Deserialize, Serialize)]
+pub struct DirectoryInfo {
+ pub name: String,
+}
+
+#[derive(Debug, Clone, Deserialize, Serialize)]
+pub struct ItemInfo {
+ pub title: String,
+}