aboutsummaryrefslogtreecommitdiff
path: root/src/structures.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-03-24 02:17:31 +0000
committerFuwn <[email protected]>2022-03-24 02:17:31 +0000
commit02a1c372b6ebe16778820648da80d6f98bfa17b5 (patch)
treeae70cc1059a242b00996336844eb1d53e43bf466 /src/structures.rs
parentfeat: cache github api (diff)
downloadarchived-api-worker-02a1c372b6ebe16778820648da80d6f98bfa17b5.tar.xz
archived-api-worker-02a1c372b6ebe16778820648da80d6f98bfa17b5.zip
feat(routes): support for anime boys
Diffstat (limited to 'src/structures.rs')
-rw-r--r--src/structures.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/structures.rs b/src/structures.rs
index 4c59d51..fca356f 100644
--- a/src/structures.rs
+++ b/src/structures.rs
@@ -20,6 +20,12 @@
use serde_derive::{Deserialize, Serialize};
+#[derive(PartialEq, Clone)]
+pub enum Type {
+ Girls,
+ Boys,
+}
+
#[derive(Serialize, Deserialize, Clone)]
pub struct GitHubAPIResponse {
pub sha: String,