pub enum VerifiedMigrationApplyStep {
Assertion {
step: MigrationStep,
validated: Box<ValidatedMigrationAssertionPlan>,
},
SchemaDelta {
step: MigrationStep,
lowering: Box<SchemaLoweringPlan>,
},
Backfill {
step: MigrationStep,
},
}Expand description
One trusted step aligned to its independently verified execution evidence.
Variants§
Assertion
A state-preserving typed assertion retained at its exact manifest position.
Fields
step: MigrationStepThe constructor-validated binding-neutral migration step.
validated: Box<ValidatedMigrationAssertionPlan>Schema-aware validation rederived against the exact replayed source state.
SchemaDelta
A state-changing schema step with freshly derived provider lowering.
Fields
step: MigrationStepThe constructor-validated binding-neutral migration step.
lowering: Box<SchemaLoweringPlan>The exact lowering derived from the replayed source and target catalogs.
Backfill
A closed data backfill bound to the exact replayed intermediate schema.
Fields
step: MigrationStepThe constructor-validated binding-neutral migration step.
Implementations§
Source§impl VerifiedMigrationApplyStep
impl VerifiedMigrationApplyStep
Sourcepub const fn step(&self) -> &MigrationStep
pub const fn step(&self) -> &MigrationStep
Return the exact binding-neutral manifest step.
Sourcepub fn validated_assertion(&self) -> Option<&ValidatedMigrationAssertionPlan>
pub fn validated_assertion(&self) -> Option<&ValidatedMigrationAssertionPlan>
Return schema-aware execution evidence only for an assertion step.
Sourcepub fn lowering(&self) -> Option<&SchemaLoweringPlan>
pub fn lowering(&self) -> Option<&SchemaLoweringPlan>
Return provider lowering only for a schema-delta step.
Trait Implementations§
Source§impl Clone for VerifiedMigrationApplyStep
impl Clone for VerifiedMigrationApplyStep
Source§fn clone(&self) -> VerifiedMigrationApplyStep
fn clone(&self) -> VerifiedMigrationApplyStep
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more