pub struct Picture {
pub media_type: String,
pub width: u32,
pub height: u32,
}Expand description
The two sides and the media type of a picture, as the record wrote them. Absent on a row whose record named a locator and no size, which is a row worth showing and not a size worth inventing.
Fields§
§media_type: String§width: u32§height: u32Trait Implementations§
Source§impl<'de> Deserialize<'de> for Picture
impl<'de> Deserialize<'de> for Picture
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 Eq for Picture
impl StructuralPartialEq for Picture
Auto Trait Implementations§
impl Freeze for Picture
impl RefUnwindSafe for Picture
impl Send for Picture
impl Sync for Picture
impl Unpin for Picture
impl UnsafeUnpin for Picture
impl UnwindSafe for Picture
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