Struct rust_tdlib::types::AuthorizationStateClosed
source · [−]pub struct AuthorizationStateClosed { /* private fields */ }
Expand description
TDLib client is in its final state. All databases are closed and all resources are released. No other updates will be received after this. All queries will be responded to with error code 500. To continue working, one must create a new instance of the TDLib client
Implementations
Trait Implementations
sourceimpl AsRef<AuthorizationStateClosed> for AuthorizationStateClosed
impl AsRef<AuthorizationStateClosed> for AuthorizationStateClosed
sourcefn as_ref(&self) -> &AuthorizationStateClosed
fn as_ref(&self) -> &AuthorizationStateClosed
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for AuthorizationStateClosed
impl Clone for AuthorizationStateClosed
sourcefn clone(&self) -> AuthorizationStateClosed
fn clone(&self) -> AuthorizationStateClosed
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AuthorizationStateClosed
impl Debug for AuthorizationStateClosed
sourceimpl Default for AuthorizationStateClosed
impl Default for AuthorizationStateClosed
sourcefn default() -> AuthorizationStateClosed
fn default() -> AuthorizationStateClosed
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AuthorizationStateClosed
impl<'de> Deserialize<'de> for AuthorizationStateClosed
sourcefn 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
sourceimpl Serialize for AuthorizationStateClosed
impl Serialize for AuthorizationStateClosed
impl TDAuthorizationState for AuthorizationStateClosed
Auto Trait Implementations
impl RefUnwindSafe for AuthorizationStateClosed
impl Send for AuthorizationStateClosed
impl Sync for AuthorizationStateClosed
impl Unpin for AuthorizationStateClosed
impl UnwindSafe for AuthorizationStateClosed
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more