Struct rust_tdlib::types::SetUsername  
source · [−]pub struct SetUsername { /* private fields */ }Expand description
Changes the username of the current user
Implementations
Trait Implementations
sourceimpl AsRef<SetUsername> for SetUsername
 
impl AsRef<SetUsername> for SetUsername
sourcefn as_ref(&self) -> &SetUsername
 
fn as_ref(&self) -> &SetUsername
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for SetUsername
 
impl Clone for SetUsername
sourcefn clone(&self) -> SetUsername
 
fn clone(&self) -> SetUsername
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SetUsername
 
impl Debug for SetUsername
sourceimpl Default for SetUsername
 
impl Default for SetUsername
sourcefn default() -> SetUsername
 
fn default() -> SetUsername
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SetUsername
 
impl<'de> Deserialize<'de> for SetUsername
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
sourceimpl Serialize for SetUsername
 
impl Serialize for SetUsername
Auto Trait Implementations
impl RefUnwindSafe for SetUsername
impl Send for SetUsername
impl Sync for SetUsername
impl Unpin for SetUsername
impl UnwindSafe for SetUsername
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    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