pub struct PositionedChange<P> {
pub change: Change,
pub position: P,
}Expand description
A CDC / incremental row event plus the source position to advance after sink success.
Prefer PositionedEvent when the feed may also emit relation changes.
Fields§
§change: ChangeUniversal change to transform and apply.
position: PSource position associated with this change (checkpoint candidate).
Implementations§
Source§impl<P> PositionedChange<P>
impl<P> PositionedChange<P>
Sourcepub fn into_event(self) -> PositionedEvent<P>
pub fn into_event(self) -> PositionedEvent<P>
Convert to the unified PositionedEvent form.
Trait Implementations§
Source§impl<P: Clone> Clone for PositionedChange<P>
impl<P: Clone> Clone for PositionedChange<P>
Source§fn clone(&self) -> PositionedChange<P>
fn clone(&self) -> PositionedChange<P>
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<P: Debug> Debug for PositionedChange<P>
impl<P: Debug> Debug for PositionedChange<P>
Source§impl<P> From<PositionedChange<P>> for PositionedEvent<P>
impl<P> From<PositionedChange<P>> for PositionedEvent<P>
Source§fn from(pc: PositionedChange<P>) -> Self
fn from(pc: PositionedChange<P>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<P> Freeze for PositionedChange<P>where
P: Freeze,
impl<P> RefUnwindSafe for PositionedChange<P>where
P: RefUnwindSafe,
impl<P> Send for PositionedChange<P>where
P: Send,
impl<P> Sync for PositionedChange<P>where
P: Sync,
impl<P> Unpin for PositionedChange<P>where
P: Unpin,
impl<P> UnsafeUnpin for PositionedChange<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for PositionedChange<P>where
P: UnwindSafe,
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