Struct rust_tdlib::types::SetUsername
source · 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