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
sourceimpl AsRef<DeleteAccount> for DeleteAccount
impl AsRef<DeleteAccount> for DeleteAccount
sourcefn as_ref(&self) -> &DeleteAccount
fn as_ref(&self) -> &DeleteAccount
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for DeleteAccount
impl Clone for DeleteAccount
sourcefn clone(&self) -> DeleteAccount
fn clone(&self) -> DeleteAccount
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 DeleteAccount
impl Debug for DeleteAccount
sourceimpl Default for DeleteAccount
impl Default for DeleteAccount
sourcefn default() -> DeleteAccount
fn default() -> DeleteAccount
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for DeleteAccount
impl<'de> Deserialize<'de> for DeleteAccount
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 DeleteAccount
impl Serialize for DeleteAccount
Auto Trait Implementations
impl RefUnwindSafe for DeleteAccount
impl Send for DeleteAccount
impl Sync for DeleteAccount
impl Unpin for DeleteAccount
impl UnwindSafe for DeleteAccount
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