pub struct AggregateDelta {
pub row: Row,
pub lsn: Lsn,
pub diff: isize,
}Expand description
A single change in the aggregate output, produced by
PersistentHost::push_table_diff / PersistentHost::register_or_seed.
The cursor pump forwards each entry to the router as a RawDiff.
Fields§
§row: RowThe row that changed.
lsn: LsnLSN of the originating WAL write.
diff: isize+1 for an asserted row, -1 for a retracted one.
Trait Implementations§
Source§impl Clone for AggregateDelta
impl Clone for AggregateDelta
Source§fn clone(&self) -> AggregateDelta
fn clone(&self) -> AggregateDelta
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 moreAuto Trait Implementations§
impl !Freeze for AggregateDelta
impl RefUnwindSafe for AggregateDelta
impl Send for AggregateDelta
impl Sync for AggregateDelta
impl Unpin for AggregateDelta
impl UnsafeUnpin for AggregateDelta
impl UnwindSafe for AggregateDelta
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Data for Twhere
T: Clone + 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
Source§fn plus_equals(&mut self, rhs: &&'a S)
fn plus_equals(&mut self, rhs: &&'a S)
The method of
std::ops::AddAssign, for types that do not implement AddAssign.