pub struct InputChatPhotoAnimation { /* private fields */ }
Expand description
An animation in MPEG4 format; must be square, at most 10 seconds long, have width between 160 and 800 and be at most 2MB in size
Implementations§
Trait Implementations§
Source§impl AsRef<InputChatPhotoAnimation> for InputChatPhotoAnimation
impl AsRef<InputChatPhotoAnimation> for InputChatPhotoAnimation
Source§fn as_ref(&self) -> &InputChatPhotoAnimation
fn as_ref(&self) -> &InputChatPhotoAnimation
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for InputChatPhotoAnimation
impl Clone for InputChatPhotoAnimation
Source§fn clone(&self) -> InputChatPhotoAnimation
fn clone(&self) -> InputChatPhotoAnimation
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 InputChatPhotoAnimation
impl Debug for InputChatPhotoAnimation
Source§impl Default for InputChatPhotoAnimation
impl Default for InputChatPhotoAnimation
Source§fn default() -> InputChatPhotoAnimation
fn default() -> InputChatPhotoAnimation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputChatPhotoAnimation
impl<'de> Deserialize<'de> for InputChatPhotoAnimation
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
Source§impl Serialize for InputChatPhotoAnimation
impl Serialize for InputChatPhotoAnimation
impl TDInputChatPhoto for InputChatPhotoAnimation
Auto Trait Implementations§
impl Freeze for InputChatPhotoAnimation
impl RefUnwindSafe for InputChatPhotoAnimation
impl Send for InputChatPhotoAnimation
impl Sync for InputChatPhotoAnimation
impl Unpin for InputChatPhotoAnimation
impl UnwindSafe for InputChatPhotoAnimation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more