Struct rtdlib::types::GetCurrentState [−][src]
pub struct GetCurrentState { /* fields omitted */ }
Expand description
Returns all updates needed to restore current TDLib state, i.e. all actual UpdateAuthorizationState/UpdateUser/UpdateNewChat and others. This is especially usefull if TDLib is run in a separate process. This is an offline method. Can be called before authorization
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