pub struct ChangeBatch {
pub changes: Vec<Change>,
pub next: (u64, u64),
}Expand description
A batch of changes plus the cursor to resume from.
Fields§
§changes: Vec<Change>Delivered changes, offset order.
next: (u64, u64)(generation, offset) to pass to the next changes_since.
Trait Implementations§
Source§impl Clone for ChangeBatch
impl Clone for ChangeBatch
Source§fn clone(&self) -> ChangeBatch
fn clone(&self) -> ChangeBatch
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 ChangeBatch
impl Debug for ChangeBatch
impl Eq for ChangeBatch
Source§impl PartialEq for ChangeBatch
impl PartialEq for ChangeBatch
Source§fn eq(&self, other: &ChangeBatch) -> bool
fn eq(&self, other: &ChangeBatch) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChangeBatch
Auto Trait Implementations§
impl Freeze for ChangeBatch
impl RefUnwindSafe for ChangeBatch
impl Send for ChangeBatch
impl Sync for ChangeBatch
impl Unpin for ChangeBatch
impl UnsafeUnpin for ChangeBatch
impl UnwindSafe for ChangeBatch
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