pub struct SyncToken {
pub stream_id: i64,
pub typing_gen: u64,
}Expand description
A parsed sync token: a position in messenger.db’s global stream order,
plus the typing generation observed at that position — see the module
doc.
Fields§
§stream_id: i64§typing_gen: u64Trait Implementations§
impl Copy for SyncToken
impl Eq for SyncToken
impl StructuralPartialEq for SyncToken
Auto Trait Implementations§
impl Freeze for SyncToken
impl RefUnwindSafe for SyncToken
impl Send for SyncToken
impl Sync for SyncToken
impl Unpin for SyncToken
impl UnsafeUnpin for SyncToken
impl UnwindSafe for SyncToken
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.