#[repr(i32)]pub enum CdcOperation {
Delete = 1,
Insert = 2,
UpdateBefore = 3,
UpdateAfter = 4,
}Expand description
CDC Operation types from MS SQL CDC
These are the values found in the __$operation column of CDC change tables.
Variants§
Delete = 1
Delete operation (before image)
Insert = 2
Insert operation (after image)
UpdateBefore = 3
Update operation - before image (rarely used)
UpdateAfter = 4
Update operation - after image
Implementations§
Source§impl CdcOperation
impl CdcOperation
Sourcepub fn is_update_after(&self) -> bool
pub fn is_update_after(&self) -> bool
Check if this is the after image of an update
Trait Implementations§
Source§impl Clone for CdcOperation
impl Clone for CdcOperation
Source§fn clone(&self) -> CdcOperation
fn clone(&self) -> CdcOperation
Returns a duplicate of the value. Read more
1.0.0 · 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 CdcOperation
impl Debug for CdcOperation
Source§impl Display for CdcOperation
impl Display for CdcOperation
Source§impl PartialEq for CdcOperation
impl PartialEq for CdcOperation
impl Copy for CdcOperation
impl Eq for CdcOperation
impl StructuralPartialEq for CdcOperation
Auto Trait Implementations§
impl Freeze for CdcOperation
impl RefUnwindSafe for CdcOperation
impl Send for CdcOperation
impl Sync for CdcOperation
impl Unpin for CdcOperation
impl UnsafeUnpin for CdcOperation
impl UnwindSafe for CdcOperation
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.