pub struct SetName {
pub first_name: String,
pub last_name: String,
}
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§
Source§impl<'de> Deserialize<'de> for SetName
impl<'de> Deserialize<'de> for SetName
Source§fn 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 Freeze for SetName
impl RefUnwindSafe for SetName
impl Send for SetName
impl Sync for SetName
impl Unpin for SetName
impl UnwindSafe for SetName
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