aboutsummaryrefslogtreecommitdiffstats
path: root/src/deserialize.rs
diff options
context:
space:
mode:
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,