Struct rss::Item
[−]
[src]
pub struct Item {
pub title: Option<String>,
pub link: Option<String>,
pub description: Option<String>,
pub author: Option<String>,
pub categories: Vec<String>,
pub comments: Option<String>,
pub enclosure: Option<Enclosure>,
pub guid: Option<Guid>,
pub pub_date: Option<String>,
pub source: Option<Source>,
pub content: Option<String>,
}A representation of the <item> element.
Fields
title: Option<String>
The title of the item. This is the content of the <title> element inside the <item>.
link: Option<String>
The URL of the item. This is the content of the <link> element inside the <item>.
description: Option<String>
The item synopsis. This is the content of the <description> element inside the <item>.
The email address of author of the item. This is the content of the <author> element inside the <item>.
categories: Vec<String>
The categories the item belongs to. This is the content of all of the <category> elements inside the <item>.
comments: Option<String>
The URL for the comments page of the item. This is the content of the <comments> element inside the <item>.
enclosure: Option<Enclosure>
The description of a media object that is attached to the item. This is the content of the <enclosure> element inside the <item>.
guid: Option<Guid>
A string that uniquely identifies the item. This is the content of the <guid> element inside the <item>.
pub_date: Option<String>
The date the item was published. This is the content of the <pubDate> element inside the <item>.
source: Option<Source>
The RSS channel the item came from. This is the content of the <source> element inside the <item>.
content: Option<String>
The HTML contents of the item. This is the content of the <content:encoded> element inside the <item>.