[][src]Struct atom_syndication::EntryBuilder

pub struct EntryBuilder { /* fields omitted */ }

Builder for Entry.

Implementations

impl EntryBuilder[src]

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

A human-readable title for the entry.

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 entry was modified.

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 entry belongs to.

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

The contributors to the entry.

The Web pages related to the entry.

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

The time of the initial creation or first availability of the entry.

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

Information about rights held in and over the entry.

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

The source information if an entry is copied from one feed into another feed.

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

A short summary, abstract, or excerpt of the entry.

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

Contains or links to the complete content of the entry.

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

The extensions for this entry.

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

Builds a new Entry.

Errors

If a required field has not been initialized.

Trait Implementations

impl Clone for EntryBuilder[src]

impl Default for EntryBuilder[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.