pub struct PhotoSrc {
pub original: String,
pub large2x: String,
pub large: String,
pub medium: String,
pub small: String,
pub portrait: String,
pub landscape: String,
pub tiny: String,
}
Expand description
Represents different image sizes for a photo.
Fields§
§original: String
§large2x: String
§large: String
§medium: String
§small: String
§portrait: String
§landscape: String
§tiny: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PhotoSrc
impl<'de> Deserialize<'de> for PhotoSrc
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
Auto Trait Implementations§
impl Freeze for PhotoSrc
impl RefUnwindSafe for PhotoSrc
impl Send for PhotoSrc
impl Sync for PhotoSrc
impl Unpin for PhotoSrc
impl UnwindSafe for PhotoSrc
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