diff options
| author | Fuwn <[email protected]> | 2022-03-24 02:17:31 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-03-24 02:17:31 -0700 |
| commit | 993ae59613d41ff25c33f814aed6415a645477dc (patch) | |
| tree | ae70cc1059a242b00996336844eb1d53e43bf466 /src/structures.rs | |
| parent | feat: cache github api (diff) | |
| download | api-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.rs | 6 |
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, |