[][src]Struct atom_syndication::FeedBuilder

pub struct FeedBuilder { /* fields omitted */ }

Builder for Feed.

Implementations

impl FeedBuilder[src]

pub fn title<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self[src]

A human-readable title for the feed.

pub fn id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self[src]

A universally unique and permanent URI.

pub fn updated<VALUE: Into<FixedDateTime>>(&mut self, value: VALUE) -> &mut Self[src]

The last time the feed was modified in a significant way.

pub fn authors<VALUE: Into<Vec<Person>>>(&mut self, value: VALUE) -> &mut Self[src]

The authors of the feed.

pub fn categories<VALUE: Into<Vec<Category>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

The categories that the feed belongs to.

pub fn contributors<VALUE: Into<Vec<Person>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

The contributors to the feed.

pub fn generator<VALUE: Into<Option<Generator>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

The software used to generate the feed.

pub fn icon<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self[src]

A small image which provides visual identification for the feed.

The Web pages related to the feed.

A larger image which provides visual identification for the feed.

pub fn rights<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self[src]

Information about rights held in and over the feed.

pub fn subtitle<VALUE: Into<Option<String>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

A human-readable description or subtitle for the feed.

pub fn entries<VALUE: Into<Vec<Entry>>>(&mut self, value: VALUE) -> &mut Self[src]

The entries contained in the feed.

pub fn extensions<VALUE: Into<ExtensionMap>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

The extensions for the feed.

pub fn namespaces<VALUE: Into<HashMap<String, String>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

The namespaces present in the feed tag.

pub fn build(&self) -> Result<Feed, String>[src]

Builds a new Feed.

Errors

If a required field has not been initialized.

Trait Implementations

impl Clone for FeedBuilder[src]

impl Default for FeedBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.