[][src]Struct rss::extension::itunes::ITunesItemExtensionBuilder

pub struct ITunesItemExtensionBuilder { /* fields omitted */ }

Builder for ITunesItemExtension.

Implementations

impl ITunesItemExtensionBuilder[src]

pub fn author<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self[src]

The author of the podcast episode.

pub fn block<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self[src]

Specifies if the podcast episode should be prevented from appearing in the iTunes Store. A value of Yes indicates that the episode should not show up in the iTunes Store. All other values are ignored.

pub fn image<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self[src]

The artwork for the podcast episode.

pub fn duration<VALUE: Into<Option<String>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

The podcast episode duration in one of the following formats: HH:MM:SS, H:MM:SS, MM:SS, M:SS.

pub fn explicit<VALUE: Into<Option<String>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

Specifies whether the podcast episode contains explicit content. A value of Yes, Explicit, or True indicates that the episode contains explicit content. A value of Clean, No, False inidicates that episode does not contain explicit content.

pub fn closed_captioned<VALUE: Into<Option<String>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

Specifies whether the podcast episode contains embedded closed captioning. A value of Yes indicates that it does. Any other value indicates that it does not.

pub fn order<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self[src]

A value used to override the default sorting order for episodes.

pub fn subtitle<VALUE: Into<Option<String>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

A description of the podcast episode.

pub fn summary<VALUE: Into<Option<String>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

A summary of the podcast episode.

pub fn keywords<VALUE: Into<Option<String>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

Keywords for the podcast. The string contains a comma separated list of keywords.

pub fn episode<VALUE: Into<Option<String>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

Episode number for this episode.

pub fn season<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self[src]

Season number for this episode.

pub fn episode_type<VALUE: Into<Option<String>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

Type of episode. Usually full, but potentially also trailer or bonus

pub fn build(&self) -> Result<ITunesItemExtension, String>[src]

Builds a new ITunesItemExtension.

Errors

If a required field has not been initialized.

Trait Implementations

impl Clone for ITunesItemExtensionBuilder[src]

impl Default for ITunesItemExtensionBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.