pub struct Thumbnail {
pub format: ThumbnailFormat,
pub width: i32,
pub height: i32,
pub file: File,
}Expand description
Represents a thumbnail
Fields§
§format: ThumbnailFormatThumbnail format
width: i32Thumbnail width
height: i32Thumbnail height
file: FileThe thumbnail
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Thumbnail
impl<'de> Deserialize<'de> for Thumbnail
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Thumbnail
Auto Trait Implementations§
impl Freeze for Thumbnail
impl RefUnwindSafe for Thumbnail
impl Send for Thumbnail
impl Sync for Thumbnail
impl Unpin for Thumbnail
impl UnwindSafe for Thumbnail
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