pub struct Image {
pub url: Url,
pub title: Option<String>,
pub link: Option<String>,
pub width: Option<u32>,
pub height: Option<u32>,
pub description: Option<String>,
}Expand description
Image metadata
Fields§
§url: UrlImage URL
title: Option<String>Image title
link: Option<String>Link associated with the image
width: Option<u32>Image width in pixels
height: Option<u32>Image height in pixels
description: Option<String>Image description
Trait Implementations§
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