diff options
Diffstat (limited to 'src/structs.rs')
| -rw-r--r-- | src/structs.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/structs.rs b/src/structs.rs index a0d9bd7..4e9ef43 100644 --- a/src/structs.rs +++ b/src/structs.rs @@ -59,14 +59,14 @@ impl Config { } } -#[derive(Serialize, Deserialize, Clone)] +#[derive(Serialize, Deserialize, Clone, Debug)] pub struct Subscription { pub title: String, pub url: String, pub num_episodes: usize, } -#[derive(Serialize, Deserialize, Clone)] +#[derive(Serialize, Deserialize, Clone, Debug)] pub struct State { pub version: String, pub last_run_time: DateTime<Utc>, @@ -157,10 +157,10 @@ impl State { } } -#[derive(Clone)] +#[derive(Clone, Debug)] pub struct Podcast(Channel); -#[derive(Clone)] +#[derive(Clone, Debug)] pub struct Episode(Item); impl From<Channel> for Podcast { |
