Struct rust_tdlib::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§
source§impl AsRef<GetCurrentState> for GetCurrentState
impl AsRef<GetCurrentState> for GetCurrentState
source§fn as_ref(&self) -> &GetCurrentState
fn as_ref(&self) -> &GetCurrentState
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for GetCurrentState
impl Clone for GetCurrentState
source§fn clone(&self) -> GetCurrentState
fn clone(&self) -> GetCurrentState
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 GetCurrentState
impl Debug for GetCurrentState
source§impl Default for GetCurrentState
impl Default for GetCurrentState
source§fn default() -> GetCurrentState
fn default() -> GetCurrentState
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GetCurrentState
impl<'de> Deserialize<'de> for GetCurrentState
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