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
Auto Trait Implementations§
impl Freeze for DeleteAccount
impl RefUnwindSafe for DeleteAccount
impl Send for DeleteAccount
impl Sync for DeleteAccount
impl Unpin for DeleteAccount
impl UnwindSafe for DeleteAccount
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