[][src]Struct rtdlib::types::DeleteAccount

pub struct DeleteAccount { /* fields omitted */ }

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

impl DeleteAccount[src]

pub fn from_json<S: AsRef<str>>(json: S) -> RTDResult<Self>[src]

pub fn builder() -> RTDDeleteAccountBuilder[src]

pub fn reason(&self) -> &String[src]

Trait Implementations

impl AsRef<DeleteAccount> for DeleteAccount[src]

impl Clone for DeleteAccount[src]

impl Debug for DeleteAccount[src]

impl Default for DeleteAccount[src]

impl<'de> Deserialize<'de> for DeleteAccount[src]

impl RFunction for DeleteAccount[src]

impl RObject for DeleteAccount[src]

impl Serialize for DeleteAccount[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.