Struct rss::Enclosure [] [src]

pub struct Enclosure {
    pub url: String,
    pub length: String,
    pub mime_type: String,
}

A representation of the <enclosure> element.

Fields

url: String

The URL of the enclosure.

length: String

The length of the enclosure in bytes.

mime_type: String

The MIME type of the enclosure.

Trait Implementations

impl PartialEq for Enclosure
[src]

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

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

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

This method tests for !=.

impl Clone for Enclosure
[src]

fn clone(&self) -> Enclosure

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

fn default() -> Enclosure

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

impl Debug for Enclosure
[src]

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

Formats the value using the given formatter.