pub struct Wallpaper {
pub id: i32,
pub sizes: Vec<PhotoSize>,
pub color: i32,
}Expand description
Contains information about a wallpaper
Fields§
§id: i32Unique persistent wallpaper identifier
sizes: Vec<PhotoSize>Available variants of the wallpaper in different sizes. These photos can only be downloaded; they can’t be sent in a message
color: i32Main color of the wallpaper in RGB24 format; should be treated as background color if no photos are specified
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Wallpaper
impl<'de> Deserialize<'de> for Wallpaper
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 Wallpaper
impl RefUnwindSafe for Wallpaper
impl Send for Wallpaper
impl Sync for Wallpaper
impl Unpin for Wallpaper
impl UnwindSafe for Wallpaper
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