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