aboutsummaryrefslogtreecommitdiffstats
path: root/src/deserialize.rs
diff options
context:
space:
mode:
authoralyx <alyx@aleteoryx.me>2023-08-10 03:10:54 -0400
committeralyx <alyx@aleteoryx.me>2023-08-10 03:10:54 -0400
commit4bec6679a8af2a2b5cb53610a80dece3b6d30bb4 (patch)
tree686297ae76fbc05b4e6af04eaf66b1545e055e4a /src/deserialize.rs
parent60f8bc89d2fb182906fbedb4d4dc39d87af7d8e5 (diff)
downloadlfm_embed-4bec6679a8af2a2b5cb53610a80dece3b6d30bb4.tar.gz
lfm_embed-4bec6679a8af2a2b5cb53610a80dece3b6d30bb4.tar.bz2
lfm_embed-4bec6679a8af2a2b5cb53610a80dece3b6d30bb4.zip
lots of stuff. theming basically done, added some logging, frontend basically done.
Diffstat (limited to 'src/deserialize.rs')
-rw-r--r--src/deserialize.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/deserialize.rs b/src/deserialize.rs
index a00ebcb..ad67df7 100644
--- a/src/deserialize.rs
+++ b/src/deserialize.rs
@@ -78,8 +78,9 @@ pub struct Artist {
pub url: Option<Arc<str>>
}
-#[derive(Deserialize, Debug)]
+#[derive(Deserialize, Debug, Ord, PartialOrd, Eq, PartialEq)]
#[serde(rename_all = "lowercase")]
+#[repr(u8)]
pub enum ImageSize {
Small,
Medium,