Struct quick_atom::FeedBuilder
[−]
[src]
pub struct FeedBuilder(_);
a builder for Feed
Methods
impl FeedBuilder
[src]
fn id<T: Into<String>>(self, id: T) -> Self
[src]
set the id of the feed
fn title<T: Into<String>>(self, title: T) -> Self
[src]
set the title of the feed
fn home_url<T: Into<String>>(self, home_url: T) -> Self
[src]
set the home URL of the feed
fn feed_url<T: Into<String>>(self, feed_url: T) -> Self
[src]
set the feed URL of the feed
[src]
set the author of the feed
fn email<T: Into<String>>(self, email: T) -> Self
[src]
set the email address of the feed
fn date_updated(self, date: DateTime<Local>) -> Self
[src]
set the updated date of the feed
fn build(self) -> Result<Feed, Error>
[src]
build the FeedBuilder
in a Feed
Trait Implementations
impl Debug for FeedBuilder
[src]
impl Default for FeedBuilder
[src]
fn default() -> FeedBuilder
[src]
Returns the "default value" for a type. Read more