Struct rss::Source [] [src]

pub struct Source {
    pub url: String,
    pub title: Option<String>,
}

A representation of the <source> element.

Fields

url: String

The URL of the source.

title: Option<String>

The title of the source.

Trait Implementations

impl PartialEq for Source
[src]

fn eq(&self, __arg_0: &Source) -> bool

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

fn ne(&self, __arg_0: &Source) -> bool

This method tests for !=.

impl Clone for Source
[src]

fn clone(&self) -> Source

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 Source
[src]

fn default() -> Source

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

impl Debug for Source
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.