pub struct Channel {Show 22 fields
pub title: String,
pub link: String,
pub description: String,
pub language: Option<String>,
pub copyright: Option<String>,
pub managing_editor: Option<String>,
pub webmaster: Option<String>,
pub pub_date: Option<String>,
pub last_build_date: Option<String>,
pub categories: Vec<Category>,
pub generator: Option<String>,
pub docs: Option<String>,
pub cloud: Option<Cloud>,
pub ttl: Option<String>,
pub image: Option<Image>,
pub text_input: Option<TextInput>,
pub skip_hours: Vec<String>,
pub skip_days: Vec<String>,
pub items: Vec<Item>,
pub extensions: ExtensionMap,
pub itunes_ext: Option<ITunesChannelExtension>,
pub dublin_core_ext: Option<DublinCoreExtension>,
}
Expand description
A representation of the <channel>
element.
Fields§
§title: String
The name of the channel.
link: String
The URL for the website corresponding to the channel.
description: String
A description of the channel.
language: Option<String>
The language of the channel.
copyright: Option<String>
The copyright notice for the channel.
managing_editor: Option<String>
The email address for the managing editor.
webmaster: Option<String>
The email address for the webmaster.
pub_date: Option<String>
The publication date for the content of the channel.
last_build_date: Option<String>
The date that the contents of the channel last changed.
categories: Vec<Category>
The categories the channel belongs to.
generator: Option<String>
The program used to generate the channel.
docs: Option<String>
A URL that points to the documentation for the RSS format.
cloud: Option<Cloud>
The cloud to register with to be notified of updates to the channel.
ttl: Option<String>
The number of minutes the channel can be cached before refreshing.
image: Option<Image>
An image that can be displayed with the channel.
text_input: Option<TextInput>
A text input box that can be displayed with the channel.
skip_hours: Vec<String>
A hint to tell the aggregator which hours it can skip.
skip_days: Vec<String>
A hint to tell the aggregator which days it can skip.
items: Vec<Item>
The items in the channel.
extensions: ExtensionMap
The extensions for the channel.
itunes_ext: Option<ITunesChannelExtension>
The iTunes extension for the channel.
dublin_core_ext: Option<DublinCoreExtension>
The Dublin Core extension for the channel.