pub struct UpdateProfile {
pub first_name: Option<String>,
pub last_name: Option<String>,
pub about: Option<String>,
}Expand description
Generated from:
account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = UserFields§
§first_name: Option<String>§last_name: Option<String>§about: Option<String>Trait Implementations§
Source§impl Clone for UpdateProfile
impl Clone for UpdateProfile
Source§fn clone(&self) -> UpdateProfile
fn clone(&self) -> UpdateProfile
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 UpdateProfile
impl Debug for UpdateProfile
Source§impl Identifiable for UpdateProfile
impl Identifiable for UpdateProfile
Source§const CONSTRUCTOR_ID: u32 = 0x78515775
const CONSTRUCTOR_ID: u32 = 0x78515775
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateProfile
impl PartialEq for UpdateProfile
Source§impl RemoteCall for UpdateProfile
impl RemoteCall for UpdateProfile
Source§impl Serializable for UpdateProfile
impl Serializable for UpdateProfile
impl StructuralPartialEq for UpdateProfile
Auto Trait Implementations§
impl Freeze for UpdateProfile
impl RefUnwindSafe for UpdateProfile
impl Send for UpdateProfile
impl Sync for UpdateProfile
impl Unpin for UpdateProfile
impl UnsafeUnpin for UpdateProfile
impl UnwindSafe for UpdateProfile
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