pub struct UploadProfilePhoto {
pub fallback: bool,
pub bot: Option<InputUser>,
pub file: Option<InputFile>,
pub video: Option<InputFile>,
pub video_start_ts: Option<f64>,
pub video_emoji_markup: Option<VideoSize>,
}Expand description
Generated from:
photos.uploadProfilePhoto#388a3b5 flags:# fallback:flags.3?true bot:flags.5?InputUser file:flags.0?InputFile video:flags.1?InputFile video_start_ts:flags.2?double video_emoji_markup:flags.4?VideoSize = photos.PhotoFields§
§fallback: bool§bot: Option<InputUser>§file: Option<InputFile>§video: Option<InputFile>§video_start_ts: Option<f64>§video_emoji_markup: Option<VideoSize>Trait Implementations§
Source§impl Clone for UploadProfilePhoto
impl Clone for UploadProfilePhoto
Source§fn clone(&self) -> UploadProfilePhoto
fn clone(&self) -> UploadProfilePhoto
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 UploadProfilePhoto
impl Debug for UploadProfilePhoto
Source§impl Identifiable for UploadProfilePhoto
impl Identifiable for UploadProfilePhoto
Source§const CONSTRUCTOR_ID: u32 = 0x0388a3b5
const CONSTRUCTOR_ID: u32 = 0x0388a3b5
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UploadProfilePhoto
impl PartialEq for UploadProfilePhoto
Source§impl RemoteCall for UploadProfilePhoto
impl RemoteCall for UploadProfilePhoto
Source§impl Serializable for UploadProfilePhoto
impl Serializable for UploadProfilePhoto
impl StructuralPartialEq for UploadProfilePhoto
Auto Trait Implementations§
impl Freeze for UploadProfilePhoto
impl RefUnwindSafe for UploadProfilePhoto
impl Send for UploadProfilePhoto
impl Sync for UploadProfilePhoto
impl Unpin for UploadProfilePhoto
impl UnsafeUnpin for UploadProfilePhoto
impl UnwindSafe for UploadProfilePhoto
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