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