Struct atom_syndication::SourceBuilder
[−]
[src]
pub struct SourceBuilder { /* fields omitted */ }
Builder for Source
.
Methods
impl SourceBuilder
[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 build(&self) -> Result<Source, String>
Trait Implementations
impl Default for SourceBuilder
[src]
fn default() -> SourceBuilder
Returns the "default value" for a type. Read more
impl Clone for SourceBuilder
[src]
fn clone(&self) -> SourceBuilder
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