diff options
author | metamuffin <metamuffin@disroot.org> | 2023-01-10 19:52:01 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-01-10 19:52:01 +0100 |
commit | 80e668f9cda3eb7972198dbbc65f6f72eae43c99 (patch) | |
tree | 7682be9916003edea648179911f04381a971751c /src/metadata.rs | |
parent | 1c97c3785047d50fd5500f99457a254e0f95aefe (diff) | |
download | jellything-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.rs | 11 |
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, +} |