pub struct SetUsername { /* private fields */ }
Expand description
Changes the username of the current user
Implementations§
Trait Implementations§
Source§impl AsRef<SetUsername> for SetUsername
impl AsRef<SetUsername> for SetUsername
Source§fn as_ref(&self) -> &SetUsername
fn as_ref(&self) -> &SetUsername
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for SetUsername
impl Clone for SetUsername
Source§fn clone(&self) -> SetUsername
fn clone(&self) -> SetUsername
Returns a copy 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 Default for SetUsername
impl Default for SetUsername
Source§fn default() -> SetUsername
fn default() -> SetUsername
Returns the “default value” for a type. Read more
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
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