Struct rtdlib::types::GetCurrentState
source · [−]pub struct GetCurrentState { /* private fields */ }
Expand description
Returns all updates needed to restore current TDLib state, i.e. all actual UpdateAuthorizationState/UpdateUser/UpdateNewChat and others. This is especially useful if TDLib is run in a separate process. Can be called before initialization
Implementations
Trait Implementations
Performs the conversion.
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for GetCurrentState
impl Send for GetCurrentState
impl Sync for GetCurrentState
impl Unpin for GetCurrentState
impl UnwindSafe for GetCurrentState
Blanket Implementations
Mutably borrows from an owned value. Read more