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
Auto Trait Implementations§
impl Freeze for GetCurrentState
impl RefUnwindSafe for GetCurrentState
impl Send for GetCurrentState
impl Sync for GetCurrentState
impl Unpin for GetCurrentState
impl UnwindSafe for GetCurrentState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more