Struct atom_syndication::FeedBuilder
source · pub struct FeedBuilder { /* private fields */ }
Expand description
Builder for Feed
.
Implementations§
source§impl FeedBuilder
impl FeedBuilder
sourcepub fn title<VALUE: Into<Text>>(&mut self, value: VALUE) -> &mut Self
pub fn title<VALUE: Into<Text>>(&mut self, value: VALUE) -> &mut Self
A human-readable title for the feed.
sourcepub fn id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
A universally unique and permanent URI.
sourcepub fn updated<VALUE: Into<FixedDateTime>>(&mut self, value: VALUE) -> &mut Self
pub fn updated<VALUE: Into<FixedDateTime>>(&mut self, value: VALUE) -> &mut Self
The last time the feed was modified in a significant way.
The authors of the feed.
The authors of the feed.
sourcepub fn categories<VALUE: Into<Vec<Category>>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn categories<VALUE: Into<Vec<Category>>>( &mut self, value: VALUE ) -> &mut Self
The categories that the feed belongs to.
sourcepub fn category<VALUE>(&mut self, item: VALUE) -> &mut Self
pub fn category<VALUE>(&mut self, item: VALUE) -> &mut Self
The categories that the feed belongs to.
sourcepub fn contributors<VALUE: Into<Vec<Person>>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn contributors<VALUE: Into<Vec<Person>>>( &mut self, value: VALUE ) -> &mut Self
The contributors to the feed.
sourcepub fn contributor<VALUE>(&mut self, item: VALUE) -> &mut Self
pub fn contributor<VALUE>(&mut self, item: VALUE) -> &mut Self
The contributors to the feed.
sourcepub fn generator<VALUE: Into<Option<Generator>>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn generator<VALUE: Into<Option<Generator>>>( &mut self, value: VALUE ) -> &mut Self
The software used to generate the feed.
sourcepub fn icon<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn icon<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
A small image which provides visual identification for the feed.
sourcepub fn links<VALUE: Into<Vec<Link>>>(&mut self, value: VALUE) -> &mut Self
pub fn links<VALUE: Into<Vec<Link>>>(&mut self, value: VALUE) -> &mut Self
The Web pages related to the feed.
sourcepub fn logo<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn logo<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
A larger image which provides visual identification for the feed.
sourcepub fn rights<VALUE: Into<Option<Text>>>(&mut self, value: VALUE) -> &mut Self
pub fn rights<VALUE: Into<Option<Text>>>(&mut self, value: VALUE) -> &mut Self
Information about rights held in and over the feed.
sourcepub fn subtitle<VALUE: Into<Option<Text>>>(&mut self, value: VALUE) -> &mut Self
pub fn subtitle<VALUE: Into<Option<Text>>>(&mut self, value: VALUE) -> &mut Self
A human-readable description or subtitle for the feed.
sourcepub fn entries<VALUE: Into<Vec<Entry>>>(&mut self, value: VALUE) -> &mut Self
pub fn entries<VALUE: Into<Vec<Entry>>>(&mut self, value: VALUE) -> &mut Self
The entries contained in the feed.
sourcepub fn extensions<VALUE: Into<ExtensionMap>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn extensions<VALUE: Into<ExtensionMap>>( &mut self, value: VALUE ) -> &mut Self
The extensions for the feed.
sourcepub fn namespaces<VALUE: Into<BTreeMap<String, String>>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn namespaces<VALUE: Into<BTreeMap<String, String>>>( &mut self, value: VALUE ) -> &mut Self
The namespaces present in the feed tag.
sourcepub fn namespace<VALUE>(&mut self, item: VALUE) -> &mut Self
pub fn namespace<VALUE>(&mut self, item: VALUE) -> &mut Self
The namespaces present in the feed tag.
Trait Implementations§
source§impl Clone for FeedBuilder
impl Clone for FeedBuilder
source§fn clone(&self) -> FeedBuilder
fn clone(&self) -> FeedBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more