Enum rust_tdlib::types::ThumbnailFormat [−][src]
pub enum ThumbnailFormat { Gif(ThumbnailFormatGif), Jpeg(ThumbnailFormatJpeg), Mpeg4(ThumbnailFormatMpeg4), Png(ThumbnailFormatPng), Tgs(ThumbnailFormatTgs), Webp(ThumbnailFormatWebp), // some variants omitted }
Expand description
Describes format of the thumbnail
Variants
Gif(ThumbnailFormatGif)
The thumbnail is in static GIF format. It will be used only for some bot inline results
Jpeg(ThumbnailFormatJpeg)
The thumbnail is in JPEG format
Mpeg4(ThumbnailFormatMpeg4)
The thumbnail is in MPEG4 format. It will be used only for some animations and videos
Png(ThumbnailFormatPng)
The thumbnail is in PNG format. It will be used only for background patterns
Tgs(ThumbnailFormatTgs)
The thumbnail is in TGS format. It will be used only for animated sticker sets
Webp(ThumbnailFormatWebp)
The thumbnail is in WEBP format. It will be used only for some stickers
Implementations
Trait Implementations
Performs the conversion.
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 RefUnwindSafe for ThumbnailFormat
impl Send for ThumbnailFormat
impl Sync for ThumbnailFormat
impl Unpin for ThumbnailFormat
impl UnwindSafe for ThumbnailFormat
Blanket Implementations
Mutably borrows from an owned value. Read more