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