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
sourceimpl AsRef<InputThumbnail> for InputThumbnail
impl AsRef<InputThumbnail> for InputThumbnail
sourcefn as_ref(&self) -> &InputThumbnail
fn as_ref(&self) -> &InputThumbnail
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for InputThumbnail
impl Clone for InputThumbnail
sourcefn clone(&self) -> InputThumbnail
fn clone(&self) -> InputThumbnail
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InputThumbnail
impl Debug for InputThumbnail
sourceimpl Default for InputThumbnail
impl Default for InputThumbnail
sourcefn default() -> InputThumbnail
fn default() -> InputThumbnail
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for InputThumbnail
impl<'de> Deserialize<'de> for InputThumbnail
sourcefn 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
sourceimpl Serialize for InputThumbnail
impl Serialize for InputThumbnail
Auto Trait Implementations
impl RefUnwindSafe for InputThumbnail
impl Send for InputThumbnail
impl Sync for InputThumbnail
impl Unpin for InputThumbnail
impl UnwindSafe for InputThumbnail
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more