pub struct MigrationRowOp {
pub entity_path: String,
pub key: Vec<u8>,
pub before: Option<Vec<u8>>,
pub after: Option<Vec<u8>>,
pub schema_fingerprint: [u8; 16],
}Expand description
MigrationRowOp
Public migration row operation DTO used to build explicit migration steps. This DTO mirrors commit row-op payload shape without exposing commit internals. Migration execution converts these DTOs into commit marker row operations.
Fields§
§entity_path: StringRuntime entity path resolved by commit runtime hooks during execution.
key: Vec<u8>Encoded raw data key bytes for target row identity.
before: Option<Vec<u8>>Optional encoded before-image row payload.
after: Option<Vec<u8>>Optional encoded after-image row payload.
schema_fingerprint: [u8; 16]Schema fingerprint expected by commit prepare/replay for this row op.
Implementations§
Trait Implementations§
Source§impl Clone for MigrationRowOp
impl Clone for MigrationRowOp
Source§fn clone(&self) -> MigrationRowOp
fn clone(&self) -> MigrationRowOp
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 moreAuto Trait Implementations§
impl Freeze for MigrationRowOp
impl RefUnwindSafe for MigrationRowOp
impl Send for MigrationRowOp
impl Sync for MigrationRowOp
impl Unpin for MigrationRowOp
impl UnsafeUnpin for MigrationRowOp
impl UnwindSafe for MigrationRowOp
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