pub struct UpdateUserName {
pub user_id: i64,
pub first_name: String,
pub last_name: String,
pub usernames: Vec<Username>,
}Expand description
Generated from:
updateUserName#a7848924 user_id:long first_name:string last_name:string usernames:Vector<Username> = UpdateFields§
§user_id: i64§first_name: String§last_name: String§usernames: Vec<Username>Trait Implementations§
Source§impl Clone for UpdateUserName
impl Clone for UpdateUserName
Source§fn clone(&self) -> UpdateUserName
fn clone(&self) -> UpdateUserName
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 UpdateUserName
impl Debug for UpdateUserName
Source§impl Deserializable for UpdateUserName
impl Deserializable for UpdateUserName
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<UpdateUserName> for Update
impl From<UpdateUserName> for Update
Source§fn from(x: UpdateUserName) -> Self
fn from(x: UpdateUserName) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateUserName
impl Identifiable for UpdateUserName
Source§const CONSTRUCTOR_ID: u32 = 0xa7848924
const CONSTRUCTOR_ID: u32 = 0xa7848924
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateUserName
impl PartialEq for UpdateUserName
Source§impl Serializable for UpdateUserName
impl Serializable for UpdateUserName
Source§impl TryFrom<Update> for UpdateUserName
impl TryFrom<Update> for UpdateUserName
impl StructuralPartialEq for UpdateUserName
Auto Trait Implementations§
impl Freeze for UpdateUserName
impl RefUnwindSafe for UpdateUserName
impl Send for UpdateUserName
impl Sync for UpdateUserName
impl Unpin for UpdateUserName
impl UnsafeUnpin for UpdateUserName
impl UnwindSafe for UpdateUserName
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