Struct rust_tdlib::types::DeleteAccount
source · pub struct DeleteAccount { /* private fields */ }
Expand description
Deletes the account of the current user, deleting all information associated with the user from the server. The phone number of the account can be used to create a new account. Can be called before authorization when the current authorization state is authorizationStateWaitPassword
Implementations§
Trait Implementations§
source§impl AsRef<DeleteAccount> for DeleteAccount
impl AsRef<DeleteAccount> for DeleteAccount
source§fn as_ref(&self) -> &DeleteAccount
fn as_ref(&self) -> &DeleteAccount
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for DeleteAccount
impl Clone for DeleteAccount
source§fn clone(&self) -> DeleteAccount
fn clone(&self) -> DeleteAccount
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 DeleteAccount
impl Debug for DeleteAccount
source§impl Default for DeleteAccount
impl Default for DeleteAccount
source§fn default() -> DeleteAccount
fn default() -> DeleteAccount
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DeleteAccount
impl<'de> Deserialize<'de> for DeleteAccount
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