Struct rss::Category [] [src]

pub struct Category {
    pub name: String,
    pub domain: Option<String>,
}

A representation of the <category> element.

Fields

name: String

The name of the category.

domain: Option<String>

The domain for the category.

Trait Implementations

impl PartialEq for Category
[src]

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

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

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

This method tests for !=.

impl Clone for Category
[src]

fn clone(&self) -> Category

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

fn default() -> Category

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

impl Debug for Category
[src]

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

Formats the value using the given formatter.