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] (https://tools.ietf.org/html/rfc4287#section-4.1.1)
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
id: String
title: String
updated: String
icon: Option<String>
logo: Option<String>
rights: Option<String>
subtitle: Option<String>
generator: Option<Generator>
links: Vec<Link>
categories: Vec<Category>
contributors: Vec<Person>
entries: Vec<Entry>
Trait Implementations
impl Clone for Feed
[src]
fn clone(&self) -> Feed
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for Feed
[src]
impl Debug for Feed
[src]
impl PartialEq for Feed
[src]
fn eq(&self, __arg_0: &Feed) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Feed) -> bool
This method tests for !=
.
impl FromStr for Feed
[src]
type Err = Error
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
Parses a string s
to return a value of this type. Read more