pub struct ValidatedMigrationAssertionPlan { /* private fields */ }Expand description
Opaque, non-serializable result of schema-aware assertion validation.
Implementations§
Source§impl ValidatedMigrationAssertionPlan
impl ValidatedMigrationAssertionPlan
Sourcepub const fn plan(&self) -> &MigrationAssertionPlan
pub const fn plan(&self) -> &MigrationAssertionPlan
Return the context-free trusted plan.
Sourcepub fn binding_domain(&self, id: &BindingId) -> Option<&BindingDomain>
pub fn binding_domain(&self, id: &BindingId) -> Option<&BindingDomain>
Return one schema-derived binding domain.
Sourcepub const fn row_schema(&self) -> &RowSchema
pub const fn row_schema(&self) -> &RowSchema
Return validator-derived output shape.
Sourcepub const fn source_state(&self) -> &ManagedSchemaState
pub const fn source_state(&self) -> &ManagedSchemaState
Return the exact managed and full declared schema identity validated here.
Sourcepub const fn structural_limits(&self) -> StructuralLimits
pub const fn structural_limits(&self) -> StructuralLimits
Return the exact structural policy used during validation.
Trait Implementations§
Source§impl Clone for ValidatedMigrationAssertionPlan
impl Clone for ValidatedMigrationAssertionPlan
Source§fn clone(&self) -> ValidatedMigrationAssertionPlan
fn clone(&self) -> ValidatedMigrationAssertionPlan
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 moreimpl Eq for ValidatedMigrationAssertionPlan
impl StructuralPartialEq for ValidatedMigrationAssertionPlan
Auto Trait Implementations§
impl Freeze for ValidatedMigrationAssertionPlan
impl RefUnwindSafe for ValidatedMigrationAssertionPlan
impl Send for ValidatedMigrationAssertionPlan
impl Sync for ValidatedMigrationAssertionPlan
impl Unpin for ValidatedMigrationAssertionPlan
impl UnsafeUnpin for ValidatedMigrationAssertionPlan
impl UnwindSafe for ValidatedMigrationAssertionPlan
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