Struct feed::Feed
[−]
[src]
pub struct Feed { // some fields omitted }
This Feed
struct contains all the items that exist for the feeds.
Methods
impl Feed
[src]
fn channel(self) -> Channel
Get the Channel
that exists under Feed
.
Examples
use feed::{Feed, FeedBuilder}; use feed::rss::Channel; let feed = FeedBuilder::new().finalize(); let channel = feed.channel();
fn to_xml(&self) -> Vec<u8>
Convert the Feed
to XML.
Examples
use feed::{Feed, FeedBuilder}; use feed::rss::Channel; let feed = FeedBuilder::new().finalize(); let xml = feed.to_xml();
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