pub struct CursorMove {
pub peer: String,
pub from: u64,
pub to: u64,
}Expand description
One peer’s persisted last_interaction cursor moving from -> to in a
sync (TopicSyncResult::cursor_moves).
Fields§
§peer: StringThe peer URL.
from: u64The cursor the sync entered with.
to: u64The cursor it persisted.
Trait Implementations§
Source§impl Clone for CursorMove
impl Clone for CursorMove
Source§impl Debug for CursorMove
impl Debug for CursorMove
Source§impl<'de> Deserialize<'de> for CursorMove
impl<'de> Deserialize<'de> for CursorMove
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
impl Eq for CursorMove
Source§impl PartialEq for CursorMove
impl PartialEq for CursorMove
Source§impl Serialize for CursorMove
impl Serialize for CursorMove
impl StructuralPartialEq for CursorMove
Auto Trait Implementations§
impl Freeze for CursorMove
impl RefUnwindSafe for CursorMove
impl Send for CursorMove
impl Sync for CursorMove
impl Unpin for CursorMove
impl UnsafeUnpin for CursorMove
impl UnwindSafe for CursorMove
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