[−][src]Struct rss::ChannelBuilder
Builder for Channel
.
Methods
impl ChannelBuilder
[src]
pub fn title<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
[src]
The name of the channel.
pub fn link<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
[src]
The URL for the website corresponding to the channel.
pub fn description<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
[src]
A description of the channel.
pub fn language<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The language of the channel.
pub fn copyright<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The copyright notice for the channel.
pub fn managing_editor<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The email address for the managing editor.
pub fn webmaster<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The email address for the webmaster.
pub fn pub_date<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The publication date for the content of the channel as an RFC822 timestamp.
pub fn last_build_date<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The date that the contents of the channel last changed as an RFC822 timestamp.
pub fn categories<VALUE: Into<Vec<Category>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The categories the channel belongs to.
pub fn generator<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
A string indicating the program used to generate the channel.
pub fn docs<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
[src]
A URL that points to the documentation for the RSS format.
pub fn cloud<VALUE: Into<Option<Cloud>>>(&mut self, value: VALUE) -> &mut Self
[src]
The cloud to register with to be notified of updates to the channel.
pub fn rating<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
[src]
The PICS rating for the channel.
pub fn ttl<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
[src]
The number of minutes the channel can be cached before refreshing.
pub fn image<VALUE: Into<Option<Image>>>(&mut self, value: VALUE) -> &mut Self
[src]
An image that can be displayed with the channel.
pub fn text_input<VALUE: Into<Option<TextInput>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
A text input box that can be displayed with the channel.
pub fn skip_hours<VALUE: Into<Vec<String>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
A hint to tell the aggregator which hours it can skip.
pub fn skip_days<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
[src]
A hint to tell the aggregator which days it can skip.
pub fn items<VALUE: Into<Vec<Item>>>(&mut self, value: VALUE) -> &mut Self
[src]
The items in the channel.
pub fn extensions<VALUE: Into<ExtensionMap>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The extensions for the channel.
pub fn itunes_ext<VALUE: Into<Option<ITunesChannelExtension>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The iTunes extension for the channel.
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 channel.
pub fn syndication_ext<VALUE: Into<Option<SyndicationExtension>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The Syndication extension for the channel.
pub fn namespaces<VALUE: Into<HashMap<String, String>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The namespaces present in the RSS tag.
pub fn build(&self) -> Result<Channel, String>
[src]
Trait Implementations
impl Clone for ChannelBuilder
[src]
fn clone(&self) -> ChannelBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for ChannelBuilder
[src]
fn default() -> ChannelBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for ChannelBuilder
impl Send for ChannelBuilder
impl Sync for ChannelBuilder
impl Unpin for ChannelBuilder
impl UnwindSafe for ChannelBuilder
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,
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.
fn to_owned(&self) -> T
[src]
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.
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>,