Struct rust_tdlib::types::Close
source · pub struct Close { /* private fields */ }
Expand description
Closes the TDLib instance. All databases will be flushed to disk and properly closed. After the close completes, updateAuthorizationState with authorizationStateClosed will be sent. Can be called before initialization
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Close
impl<'de> Deserialize<'de> for Close
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