Struct rss::Enclosure [] [src]

pub struct Enclosure {
    pub url: String,
    pub length: u64,
    pub mime_type: String,
}

A representation of the <enclosure> element.

Fields

url: String

The url of the enclosure. This is the url attribute of the <enclosure>.

length: u64

The length of the enclosure. This is the length attribute of the <enclosure>.

mime_type: String

The mime type of the enclosure. This is the type attribute of the <enclosure>.