From fa8fc40b584952ae005eb5fdf250e9eda5fc74bb Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Mon, 15 Aug 2022 21:07:50 +0200 Subject: [PATCH] Add missing trait derives on back-end types --- src/backends.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/backends.rs b/src/backends.rs index f2ff1a5..e0a9746 100644 --- a/src/backends.rs +++ b/src/backends.rs @@ -45,6 +45,7 @@ pub(crate) trait Backend { } /// The metadata of a collection of content items. +#[derive(Clone, Debug)] pub(crate) struct Channel { /// The title of the channel. pub(crate) title: String, @@ -71,6 +72,7 @@ pub(crate) struct Channel { } /// A content item belonging to a channel. +#[derive(Clone, Debug)] pub(crate) struct Item { /// The title of the item. pub(crate) title: String, @@ -106,6 +108,7 @@ pub(crate) struct Item { } /// The enclosed media content of an item. +#[derive(Clone, Debug)] pub(crate) struct Enclosure { /// The path of the download file associated with the item enclosure. ///