pub enum VerifiedMigrationApplyStep {
Assertion {
step: MigrationStep,
validated: Box<ValidatedMigrationAssertionPlan>,
},
SchemaDelta {
step: MigrationStep,
lowering: Box<SchemaLoweringPlan>,
},
}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.
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
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VerifiedMigrationApplyStep
impl Debug for VerifiedMigrationApplyStep
impl Eq for VerifiedMigrationApplyStep
impl StructuralPartialEq for VerifiedMigrationApplyStep
Auto Trait Implementations§
impl Freeze for VerifiedMigrationApplyStep
impl RefUnwindSafe for VerifiedMigrationApplyStep
impl Send for VerifiedMigrationApplyStep
impl Sync for VerifiedMigrationApplyStep
impl Unpin for VerifiedMigrationApplyStep
impl UnsafeUnpin for VerifiedMigrationApplyStep
impl UnwindSafe for VerifiedMigrationApplyStep
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