pub struct Cdc {
pub version: CommitVersion,
pub timestamp: u64,
pub changes: Vec<CdcSequencedChange>,
}Expand description
Structure for storing CDC data with shared metadata
Fields§
§version: CommitVersion§timestamp: u64§changes: Vec<CdcSequencedChange>Implementations§
Source§impl Cdc
impl Cdc
pub fn new( version: CommitVersion, timestamp: u64, changes: Vec<CdcSequencedChange>, ) -> Self
Trait Implementations§
impl StructuralPartialEq for Cdc
Auto Trait Implementations§
impl Freeze for Cdc
impl RefUnwindSafe for Cdc
impl Send for Cdc
impl Sync for Cdc
impl Unpin for Cdc
impl UnwindSafe for Cdc
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)