[−][src]Struct feed_rs::model::Image
Represents a a link to an image.
Fields
uri: String
Link to the image
- Atom: The URL to an image or logo
- RSS 1 + 2: the URL of a GIF, JPEG or PNG image that represents the channel.
title: Option<String>
RSS 1 + 2: describes the image, it's used in the ALT attribute of the HTML tag when the channel is rendered in HTML.
link: Option<Link>
RSS 1 + 2: the URL of the site, when the channel is rendered, the image is a link to the site.
width: Option<u32>
RSS 2 (optional): width of the image
height: Option<u32>
RSS 2 (optional): height of the image
description: Option<String>
RSS 2 (optional): contains text that is included in the TITLE attribute of the link formed around the image in the HTML rendering.
Methods
impl Image
[src]
Trait Implementations
impl Debug for Image
[src]
impl PartialEq<Image> for Image
[src]
impl StructuralPartialEq for Image
[src]
Auto Trait Implementations
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnwindSafe for Image
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,