pub struct MediaThumbnail {
pub url: Url,
pub width: Option<u32>,
pub height: Option<u32>,
}Expand description
Media RSS thumbnail
Fields§
§url: UrlThumbnail URL
§Security Warning
This URL comes from untrusted feed input and has NOT been validated for SSRF. Applications MUST validate URLs before fetching to prevent SSRF attacks.
width: Option<u32>Thumbnail width in pixels
height: Option<u32>Thumbnail height in pixels
Trait Implementations§
Source§impl Clone for MediaThumbnail
impl Clone for MediaThumbnail
Source§fn clone(&self) -> MediaThumbnail
fn clone(&self) -> MediaThumbnail
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MediaThumbnail
impl Debug for MediaThumbnail
Source§impl FromAttributes for MediaThumbnail
impl FromAttributes for MediaThumbnail
Auto Trait Implementations§
impl Freeze for MediaThumbnail
impl RefUnwindSafe for MediaThumbnail
impl Send for MediaThumbnail
impl Sync for MediaThumbnail
impl Unpin for MediaThumbnail
impl UnwindSafe for MediaThumbnail
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