pub struct Change {
pub change_type: ChangeType,
pub timestamp: Instant,
pub batch_id: Option<usize>,
}Expand description
Change record with timestamp and metadata
Fields§
§change_type: ChangeType§timestamp: Instant§batch_id: Option<usize>Implementations§
Source§impl Change
impl Change
pub fn new(change_type: ChangeType) -> Self
pub fn with_batch(self, batch_id: usize) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Change
impl RefUnwindSafe for Change
impl Send for Change
impl Sync for Change
impl Unpin for Change
impl UnwindSafe for Change
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