Struct feed_rs::model::MediaThumbnail
source · pub struct MediaThumbnail {
pub image: Image,
pub time: Option<Duration>,
}
Expand description
Represents a “media:thumbnail” item from the RSS Media spec
Fields§
§image: Image
The thumbnail image
time: Option<Duration>
The time this thumbnail represents
Trait Implementations§
source§impl Clone for MediaThumbnail
impl Clone for MediaThumbnail
source§fn clone(&self) -> MediaThumbnail
fn clone(&self) -> MediaThumbnail
Returns a copy 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 PartialEq for MediaThumbnail
impl PartialEq for MediaThumbnail
source§fn eq(&self, other: &MediaThumbnail) -> bool
fn eq(&self, other: &MediaThumbnail) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MediaThumbnail
impl StructuralEq for MediaThumbnail
impl StructuralPartialEq for MediaThumbnail
Auto Trait Implementations§
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