pub struct InputChatPhotoStatic {
pub photo: InputFile,
}
Expand description
A static photo in JPEG format
Fields§
§photo: InputFile
Photo to be set as profile photo. Only inputFileLocal and inputFileGenerated are allowed
Trait Implementations§
Source§impl Clone for InputChatPhotoStatic
impl Clone for InputChatPhotoStatic
Source§fn clone(&self) -> InputChatPhotoStatic
fn clone(&self) -> InputChatPhotoStatic
Returns a duplicate 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<'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 PartialEq for InputChatPhotoStatic
impl PartialEq for InputChatPhotoStatic
Source§impl Serialize for InputChatPhotoStatic
impl Serialize for InputChatPhotoStatic
impl StructuralPartialEq 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