Struct rust_tdlib::types::InputThumbnail
source · pub struct InputThumbnail { /* private fields */ }
Expand description
A thumbnail to be sent along with a file; must be in JPEG or WEBP format for stickers, and less than 200 KB in size
Implementations§
Trait Implementations§
source§impl AsRef<InputThumbnail> for InputThumbnail
impl AsRef<InputThumbnail> for InputThumbnail
source§fn as_ref(&self) -> &InputThumbnail
fn as_ref(&self) -> &InputThumbnail
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for InputThumbnail
impl Clone for InputThumbnail
source§fn clone(&self) -> InputThumbnail
fn clone(&self) -> InputThumbnail
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 InputThumbnail
impl Debug for InputThumbnail
source§impl Default for InputThumbnail
impl Default for InputThumbnail
source§fn default() -> InputThumbnail
fn default() -> InputThumbnail
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InputThumbnail
impl<'de> Deserialize<'de> for InputThumbnail
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