pub struct SyncCursor {
pub last_seq: u64,
}Expand description
A sync cursor representing a client’s position in the change log.
Fields§
§last_seq: u64The last sequence number the client has seen.
Implementations§
Source§impl SyncCursor
impl SyncCursor
Trait Implementations§
Source§impl Clone for SyncCursor
impl Clone for SyncCursor
Source§fn clone(&self) -> SyncCursor
fn clone(&self) -> SyncCursor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SyncCursor
impl Debug for SyncCursor
Source§impl<'de> Deserialize<'de> for SyncCursor
impl<'de> Deserialize<'de> for SyncCursor
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
Source§impl PartialEq for SyncCursor
impl PartialEq for SyncCursor
Source§fn eq(&self, other: &SyncCursor) -> bool
fn eq(&self, other: &SyncCursor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SyncCursor
impl Serialize for SyncCursor
impl Eq for SyncCursor
impl StructuralPartialEq for SyncCursor
Auto Trait Implementations§
impl Freeze for SyncCursor
impl RefUnwindSafe for SyncCursor
impl Send for SyncCursor
impl Sync for SyncCursor
impl Unpin for SyncCursor
impl UnsafeUnpin for SyncCursor
impl UnwindSafe for SyncCursor
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