pub struct UpdateProfilePhoto {
pub fallback: bool,
pub bot: Option<InputUser>,
pub id: InputPhoto,
}Expand description
Generated from:
photos.updateProfilePhoto#9e82039 flags:# fallback:flags.0?true bot:flags.1?InputUser id:InputPhoto = photos.PhotoFields§
§fallback: bool§bot: Option<InputUser>§id: InputPhotoTrait Implementations§
Source§impl Clone for UpdateProfilePhoto
impl Clone for UpdateProfilePhoto
Source§fn clone(&self) -> UpdateProfilePhoto
fn clone(&self) -> UpdateProfilePhoto
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 UpdateProfilePhoto
impl Debug for UpdateProfilePhoto
Source§impl Identifiable for UpdateProfilePhoto
impl Identifiable for UpdateProfilePhoto
Source§const CONSTRUCTOR_ID: u32 = 0x09e82039
const CONSTRUCTOR_ID: u32 = 0x09e82039
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateProfilePhoto
impl PartialEq for UpdateProfilePhoto
Source§impl RemoteCall for UpdateProfilePhoto
impl RemoteCall for UpdateProfilePhoto
Source§impl Serializable for UpdateProfilePhoto
impl Serializable for UpdateProfilePhoto
impl StructuralPartialEq for UpdateProfilePhoto
Auto Trait Implementations§
impl Freeze for UpdateProfilePhoto
impl RefUnwindSafe for UpdateProfilePhoto
impl Send for UpdateProfilePhoto
impl Sync for UpdateProfilePhoto
impl Unpin for UpdateProfilePhoto
impl UnsafeUnpin for UpdateProfilePhoto
impl UnwindSafe for UpdateProfilePhoto
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