Struct atom_syndication::Feed [] [src]

pub struct Feed {
    pub id: String,
    pub title: String,
    pub updated: String,
    pub icon: Option<String>,
    pub logo: Option<String>,
    pub rights: Option<String>,
    pub subtitle: Option<String>,
    pub generator: Option<Generator>,
    pub links: Vec<Link>,
    pub categories: Vec<Category>,
    pub authors: Vec<Person>,
    pub contributors: Vec<Person>,
    pub entries: Vec<Entry>,
}

The Atom Syndication Format § The "atom:feed" Element

Examples

use atom_syndication::Feed;

let feed = Feed {
    id: String::from("6011425f-414d-4a17-84ba-b731c2bb1fc2"),
    title: String::from("My Blog"),
    updated: String::from("2015-05-11T21:30:54Z"),
    entries: vec![],
    ..Default::default()
};

Fields

Trait Implementations

impl Clone for Feed
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Feed
[src]

Returns the "default value" for a type. Read more

impl Debug for Feed
[src]

Formats the value using the given formatter.

impl PartialEq for Feed
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl FromStr for Feed
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl ToString for Feed
[src]

Converts the given value to a String. Read more