Struct tdlib::types::BackgroundTypeWallpaper
source · Expand description
A wallpaper in JPEG format
Fields§
§is_blurred: bool
True, if the wallpaper must be downscaled to fit in 450x450 square and then box-blurred with radius 12
is_moving: bool
True, if the background needs to be slightly moved when device is tilted
Trait Implementations§
source§impl Clone for BackgroundTypeWallpaper
impl Clone for BackgroundTypeWallpaper
source§fn clone(&self) -> BackgroundTypeWallpaper
fn clone(&self) -> BackgroundTypeWallpaper
Returns a copy of the value. Read more
1.0.0 · 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 BackgroundTypeWallpaper
impl Debug for BackgroundTypeWallpaper
source§impl Default for BackgroundTypeWallpaper
impl Default for BackgroundTypeWallpaper
source§fn default() -> BackgroundTypeWallpaper
fn default() -> BackgroundTypeWallpaper
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BackgroundTypeWallpaper
impl<'de> Deserialize<'de> for BackgroundTypeWallpaper
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