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
url: String
The URL of the channel image.
title: String
A description of the image. This is used in the HTML alt attribute.
link: String
The URL that the image links to.
width: Option<String>
The width of the image.
height: Option<String>
The height of the image.
description: Option<String>
The text for the HTML title attribute.
Trait Implementations
impl PartialEq for Image[src]
fn eq(&self, __arg_0: &Image) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Image) -> bool
This method tests for !=.
impl Clone for Image[src]
fn clone(&self) -> Image
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