pub struct DeleteAccount {
pub reason: String,
}
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
Fields§
§reason: String
The reason why the account was deleted; optional
Trait Implementations§
Source§impl Clone for DeleteAccount
impl Clone for DeleteAccount
Source§fn clone(&self) -> DeleteAccount
fn clone(&self) -> DeleteAccount
Returns a duplicate 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<'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
Source§impl Method for DeleteAccount
impl Method for DeleteAccount
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