[][src]Struct rtdlib::types::Destroy

pub struct Destroy { /* fields omitted */ }

Closes the TDLib instance, destroying all local data without a proper logout. The current user session will remain in the list of all active sessions. All local data will be destroyed. After the destruction completes updateAuthorizationState with authorizationStateClosed will be sent

Implementations

impl Destroy[src]

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

pub fn builder() -> RTDDestroyBuilder[src]

Trait Implementations

impl AsRef<Destroy> for Destroy[src]

impl Clone for Destroy[src]

impl Debug for Destroy[src]

impl Default for Destroy[src]

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

impl RFunction for Destroy[src]

impl RObject for Destroy[src]

impl Serialize for Destroy[src]

Auto Trait Implementations

impl RefUnwindSafe for Destroy

impl Send for Destroy

impl Sync for Destroy

impl Unpin for Destroy

impl UnwindSafe for Destroy

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.