pub struct Image {
pub url: String,
pub title: String,
pub link: String,
pub width: Option<String>,
pub height: Option<String>,
pub description: Option<String>,
}Expand description
A representation of the <image> element.
Fields§
§url: StringThe URL of the channel image.
title: StringA description of the image. This is used in the HTML alt attribute.
link: StringThe 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 StructuralPartialEq for Image
Auto Trait Implementations§
impl Freeze for Image
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnwindSafe for Image
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more