Struct atom_syndication::FeedBuilder
[−]
[src]
pub struct FeedBuilder { /* fields omitted */ }
Builder for Feed
.
Methods
impl FeedBuilder
[src]
fn title<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
A human-readable title for the feed.
fn id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
A universally unique and permanent URI.
fn updated<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The last time the feed was modified in a significant way.
The authors of the feed.
fn categories<VALUE: Into<Vec<Category>>>(&mut self, value: VALUE) -> &mut Self
The categories that the feed belongs to.
fn contributors<VALUE: Into<Vec<Person>>>(&mut self, value: VALUE) -> &mut Self
The contributors to the feed.
fn generator<VALUE: Into<Option<Generator>>>(
&mut self,
value: VALUE
) -> &mut Self
&mut self,
value: VALUE
) -> &mut Self
The software used to generate the feed.
fn icon<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
A small image which provides visual identification for the feed.
fn links<VALUE: Into<Vec<Link>>>(&mut self, value: VALUE) -> &mut Self
The Web pages related to the feed.
fn logo<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
A larger image which provides visual identification for the feed.
fn rights<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
Information about rights held in and over the feed.
fn subtitle<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
A human-readable description or subtitle for the feed.
fn entries<VALUE: Into<Vec<Entry>>>(&mut self, value: VALUE) -> &mut Self
The entries contained in the feed.
fn extensions<VALUE: Into<ExtensionMap>>(&mut self, value: VALUE) -> &mut Self
The extensions for the feed.
fn namespaces<VALUE: Into<HashMap<String, String>>>(
&mut self,
value: VALUE
) -> &mut Self
&mut self,
value: VALUE
) -> &mut Self
The namespaces present in the feed tag.
fn build(&self) -> Result<Feed, String>
Trait Implementations
impl Default for FeedBuilder
[src]
fn default() -> FeedBuilder
Returns the "default value" for a type. Read more
impl Clone for FeedBuilder
[src]
fn clone(&self) -> FeedBuilder
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more