pub struct PhotoSizeInfo {
pub size_type: String,
pub url: String,
pub width: i32,
pub height: i32,
}Expand description
Photo size information
Fields§
§size_type: String§url: String§width: i32§height: i32Trait Implementations§
Source§impl Clone for PhotoSizeInfo
impl Clone for PhotoSizeInfo
Source§fn clone(&self) -> PhotoSizeInfo
fn clone(&self) -> PhotoSizeInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PhotoSizeInfo
impl Debug for PhotoSizeInfo
Source§impl<'de> Deserialize<'de> for PhotoSizeInfo
impl<'de> Deserialize<'de> for PhotoSizeInfo
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 PhotoSizeInfo
impl RefUnwindSafe for PhotoSizeInfo
impl Send for PhotoSizeInfo
impl Sync for PhotoSizeInfo
impl Unpin for PhotoSizeInfo
impl UnsafeUnpin for PhotoSizeInfo
impl UnwindSafe for PhotoSizeInfo
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