pub struct InputChatPhotoStatic { /* private fields */ }
Expand description
A static photo in JPEG format
Implementations§
Trait Implementations§
Source§impl AsRef<InputChatPhotoStatic> for InputChatPhotoStatic
impl AsRef<InputChatPhotoStatic> for InputChatPhotoStatic
Source§fn as_ref(&self) -> &InputChatPhotoStatic
fn as_ref(&self) -> &InputChatPhotoStatic
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for InputChatPhotoStatic
impl Clone for InputChatPhotoStatic
Source§fn clone(&self) -> InputChatPhotoStatic
fn clone(&self) -> InputChatPhotoStatic
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 InputChatPhotoStatic
impl Debug for InputChatPhotoStatic
Source§impl Default for InputChatPhotoStatic
impl Default for InputChatPhotoStatic
Source§fn default() -> InputChatPhotoStatic
fn default() -> InputChatPhotoStatic
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputChatPhotoStatic
impl<'de> Deserialize<'de> for InputChatPhotoStatic
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 InputChatPhotoStatic
impl Serialize for InputChatPhotoStatic
impl TDInputChatPhoto for InputChatPhotoStatic
Auto Trait Implementations§
impl Freeze for InputChatPhotoStatic
impl RefUnwindSafe for InputChatPhotoStatic
impl Send for InputChatPhotoStatic
impl Sync for InputChatPhotoStatic
impl Unpin for InputChatPhotoStatic
impl UnwindSafe for InputChatPhotoStatic
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