initial commit
This commit is contained in:
commit
40f551209b
7 changed files with 974 additions and 0 deletions
14
src/types.rs
Normal file
14
src/types.rs
Normal file
|
@ -0,0 +1,14 @@
|
|||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
pub struct AnimeShow {
|
||||
title: String,
|
||||
seasons: u8,
|
||||
episodes: u16, // im gonna regret these values 01/28/2024
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
pub struct AnimeSource {
|
||||
url: String,
|
||||
name: String,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue