pub struct SyncState {
pub last_sync_date: i64,
}Expand description
Durable global synchronization state.
last_sync_date is the newest server update date that the client has
coherently applied. It is used as the discovery cursor for
getUpdatesState after startup and reconnect.
Fields§
§last_sync_date: i64Latest coherently applied server update date, in Unix seconds.
Trait Implementations§
impl Copy for SyncState
impl Eq for SyncState
impl StructuralPartialEq for SyncState
Auto Trait Implementations§
impl Freeze for SyncState
impl RefUnwindSafe for SyncState
impl Send for SyncState
impl Sync for SyncState
impl Unpin for SyncState
impl UnsafeUnpin for SyncState
impl UnwindSafe for SyncState
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