diff options
| author | Nathan Jaremko | 2019-01-15 22:54:06 -0500 |
|---|---|---|
| committer | Nathan Jaremko | 2019-01-15 22:54:06 -0500 |
| commit | 5acf564072f7ec07040a4b383e64a915f37a2a09 (patch) | |
| tree | 2d6d58ad94a8602e5e6517d5194c539faee20ec8 /src/structs.rs | |
| parent | 38e1b2396fbcbf810bd8eda77c53ef3339b8ea44 (diff) | |
| download | podcast-5acf564072f7ec07040a4b383e64a915f37a2a09.tar.bz2 | |
Ignore case when playing/downloading by name
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 { |
