Struct rss::Image [] [src]

pub struct Image {
    pub url: String,
    pub title: String,
    pub link: String,
    pub width: Option<String>,
    pub height: Option<String>,
    pub description: Option<String>,
}

A representation of the <image> element.

Fields

The URL of the channel image.

A description of the image. This is used in the HTML alt attribute.

The URL that the image links to.

The width of the image.

The height of the image.

The text for the HTML title attribute.

Trait Implementations

impl PartialEq for Image
[src]

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

This method tests for !=.

impl Clone for Image
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Image
[src]

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

impl Debug for Image
[src]

Formats the value using the given formatter.