Struct rust_tdlib::types::Destroy
source · pub struct Destroy { /* private fields */ }
Expand description
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. Can be called before authorization
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Destroy
impl<'de> Deserialize<'de> for Destroy
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