Struct rss::ItemBuilder
[−]
[src]
pub struct ItemBuilder { /* fields omitted */ }
Builder for Item
.
Methods
impl ItemBuilder
[src]
fn title<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
[src]
The title of the item.
fn link<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
[src]
The URL of the item.
fn description<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The item synopsis.
[src]
The email address of author of the item.
fn categories<VALUE: Into<Vec<Category>>>(&mut self, value: VALUE) -> &mut Self
[src]
The categories the item belongs to.
fn comments<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
[src]
The URL for the comments page of the item.
fn enclosure<VALUE: Into<Option<Enclosure>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The description of a media object that is attached to the item.
fn guid<VALUE: Into<Option<Guid>>>(&mut self, value: VALUE) -> &mut Self
[src]
A unique identifier for the item.
fn pub_date<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
[src]
The date the item was published as an RFC822 timestamp.
fn source<VALUE: Into<Option<Source>>>(&mut self, value: VALUE) -> &mut Self
[src]
The RSS channel the item came from.
fn content<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
[src]
The HTML contents of the item.
fn extensions<VALUE: Into<ExtensionMap>>(&mut self, value: VALUE) -> &mut Self
[src]
The extensions for the item.
fn itunes_ext<VALUE: Into<Option<ITunesItemExtension>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The iTunes extension for the item.
fn dublin_core_ext<VALUE: Into<Option<DublinCoreExtension>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The Dublin Core extension for the item.
fn build(&self) -> Result<Item, String>
[src]
Trait Implementations
impl Default for ItemBuilder
[src]
fn default() -> ItemBuilder
[src]
Returns the "default value" for a type. Read more
impl Clone for ItemBuilder
[src]
fn clone(&self) -> ItemBuilder
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more