[−][src]Struct rss::ItemBuilder
Builder for Item
.
Implementations
impl ItemBuilder
[src]
pub fn title<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
[src]
The title of the item.
pub fn link<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
[src]
The URL of the item.
pub fn description<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The item synopsis.
pub fn author<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
[src]
The email address of author of the item.
pub fn categories<VALUE: Into<Vec<Category>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The categories the item belongs to.
pub fn comments<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The URL for the comments page of the item.
pub 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.
pub fn guid<VALUE: Into<Option<Guid>>>(&mut self, value: VALUE) -> &mut Self
[src]
A unique identifier for the item.
pub fn pub_date<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The date the item was published as an RFC 2822 timestamp.
pub fn source<VALUE: Into<Option<Source>>>(&mut self, value: VALUE) -> &mut Self
[src]
The RSS channel the item came from.
pub fn content<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The HTML contents of the item.
pub fn extensions<VALUE: Into<ExtensionMap>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The extensions for the item.
pub 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.
pub 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.
pub fn build(&self) -> Result<Item, String>
[src]
Trait Implementations
impl Clone for ItemBuilder
[src]
pub fn clone(&self) -> ItemBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for ItemBuilder
[src]
pub fn default() -> ItemBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for ItemBuilder
[src]
impl Send for ItemBuilder
[src]
impl Sync for ItemBuilder
[src]
impl Unpin for ItemBuilder
[src]
impl UnwindSafe for ItemBuilder
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,