loosen rss requirements
This commit is contained in:
parent
2ab97aa10d
commit
05134a76db
@ -20,7 +20,7 @@ pub struct Rss<'a> {
|
||||
pub struct Channel<'a> {
|
||||
#[serde(rename = "item", default)]
|
||||
pub (crate) items : Vec<Item<'a>>,
|
||||
pub (crate) link : Cow<'a, str>,
|
||||
pub (crate) link : Option<Cow<'a, str>>,
|
||||
pub (crate) title : Cow<'a, str>,
|
||||
pub (crate) description : Option<Cow<'a, str>>,
|
||||
#[serde(rename = "{http://www.itunes.com/dtds/podcast-1.0.dtd}itunes:author")]
|
||||
@ -34,7 +34,7 @@ pub struct Channel<'a> {
|
||||
|
||||
#[derive(Debug, serde::Deserialize)]
|
||||
pub struct Image<'a> {
|
||||
pub (crate) link : Cow<'a, str>,
|
||||
pub (crate) link : Option<Cow<'a, str>>,
|
||||
pub (crate) title : Cow<'a, str>,
|
||||
pub (crate) url : Cow<'a, str>,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user