aboutsummaryrefslogtreecommitdiff
path: root/src/structures.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-03-24 02:17:31 -0700
committerFuwn <[email protected]>2022-03-24 02:17:31 -0700
commit993ae59613d41ff25c33f814aed6415a645477dc (patch)
treeae70cc1059a242b00996336844eb1d53e43bf466 /src/structures.rs
parentfeat: cache github api (diff)
downloadapi-worker-993ae59613d41ff25c33f814aed6415a645477dc.tar.xz
api-worker-993ae59613d41ff25c33f814aed6415a645477dc.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,