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<Category>,
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.
link: Option<String>
The URL of the item.
description: Option<String>
The item synopsis.
The email address of author of the item.
categories: Vec<Category>
The categories the item belongs to.
comments: Option<String>
The URL for the comments page of the item.
enclosure: Option<Enclosure>
The description of a media object that is attached to the item.
guid: Option<Guid>
A unique identifier for the item.
pub_date: Option<String>
The date the item was published.
source: Option<Source>
The RSS channel the item came from.
content: Option<String>
The HTML contents of the item.
Trait Implementations
impl PartialEq for Item[src]
fn eq(&self, __arg_0: &Item) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Item) -> bool
This method tests for !=.
impl Clone for Item[src]
fn clone(&self) -> Item
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more