Struct tdlib_types::methods::SetName
source · Expand description
Changes the first and last name of the current user. If something changes, updateUser will be sent
Fields
first_name: String
The new value of the first name for the user; 1-255 characters
last_name: String
The new value of the optional last name for the user; 0-255 characters
Trait Implementations
sourceimpl<'de> Deserialize<'de> for SetName
impl<'de> Deserialize<'de> for SetName
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for SetName
impl Send for SetName
impl Sync for SetName
impl Unpin for SetName
impl UnwindSafe for SetName
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more