Struct rust_tdlib::types::AuthorizationStateClosing
source · pub struct AuthorizationStateClosing { /* private fields */ }
Expand description
TDLib is closing, all subsequent queries will be answered with the error 500. Note that closing TDLib can take a while. All resources will be freed only after authorizationStateClosed has been received
Implementations§
Trait Implementations§
source§impl AsRef<AuthorizationStateClosing> for AuthorizationStateClosing
impl AsRef<AuthorizationStateClosing> for AuthorizationStateClosing
source§fn as_ref(&self) -> &AuthorizationStateClosing
fn as_ref(&self) -> &AuthorizationStateClosing
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for AuthorizationStateClosing
impl Clone for AuthorizationStateClosing
source§fn clone(&self) -> AuthorizationStateClosing
fn clone(&self) -> AuthorizationStateClosing
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AuthorizationStateClosing
impl Debug for AuthorizationStateClosing
source§impl Default for AuthorizationStateClosing
impl Default for AuthorizationStateClosing
source§fn default() -> AuthorizationStateClosing
fn default() -> AuthorizationStateClosing
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AuthorizationStateClosing
impl<'de> Deserialize<'de> for AuthorizationStateClosing
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