pub struct SetUsername {
pub username: String,
}
Expand description
Changes the username of the current user. If something changes, updateUser will be sent
Fields§
§username: String
The new value of the username. Use an empty string to remove the username
Trait Implementations§
Source§impl Clone for SetUsername
impl Clone for SetUsername
Source§fn clone(&self) -> SetUsername
fn clone(&self) -> SetUsername
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 SetUsername
impl Debug for SetUsername
Source§impl<'de> Deserialize<'de> for SetUsername
impl<'de> Deserialize<'de> for SetUsername
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
Source§impl Method for SetUsername
impl Method for SetUsername
Auto Trait Implementations§
impl Freeze for SetUsername
impl RefUnwindSafe for SetUsername
impl Send for SetUsername
impl Sync for SetUsername
impl Unpin for SetUsername
impl UnwindSafe for SetUsername
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