Struct rust_tdlib::types::ThumbnailFormatPng
source · pub struct ThumbnailFormatPng { /* private fields */ }
Expand description
The thumbnail is in PNG format. It will be used only for background patterns
Implementations§
Trait Implementations§
source§impl AsRef<ThumbnailFormatPng> for ThumbnailFormatPng
impl AsRef<ThumbnailFormatPng> for ThumbnailFormatPng
source§fn as_ref(&self) -> &ThumbnailFormatPng
fn as_ref(&self) -> &ThumbnailFormatPng
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for ThumbnailFormatPng
impl Clone for ThumbnailFormatPng
source§fn clone(&self) -> ThumbnailFormatPng
fn clone(&self) -> ThumbnailFormatPng
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 ThumbnailFormatPng
impl Debug for ThumbnailFormatPng
source§impl Default for ThumbnailFormatPng
impl Default for ThumbnailFormatPng
source§fn default() -> ThumbnailFormatPng
fn default() -> ThumbnailFormatPng
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ThumbnailFormatPng
impl<'de> Deserialize<'de> for ThumbnailFormatPng
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