relax condition on requiring length attribute
This commit is contained in:
parent
05134a76db
commit
61db0cdf9f
@ -85,7 +85,7 @@ pub struct Enclosure<'a> {
|
||||
pub (crate) url : Cow<'a, str>,
|
||||
#[serde(rename = "$attr:type")]
|
||||
pub (crate) mime_type : Option<Cow<'a, str>>,
|
||||
#[serde(rename = "$attr:length")]
|
||||
pub (crate) length : Option<u64>,
|
||||
//#[serde(rename = "$attr:length")]
|
||||
//pub (crate) length : Option<u64>,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user